mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-03 04:21:10 -05:00
ITS#10419 LMDB: add support for NetBSD
This commit is contained in:
parent
f1620c3a1b
commit
4c84d3a312
1 changed files with 5 additions and 0 deletions
|
|
@ -137,6 +137,11 @@ typedef SSIZE_T ssize_t;
|
||||||
# define MDB_FDATASYNC fsync
|
# define MDB_FDATASYNC fsync
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* NetBSD does not define union semun in sys/sem.h */
|
||||||
|
#if defined(__NetBSD__) && !defined(_SEM_SEMUN_UNDEFINED)
|
||||||
|
# define _SEM_SEMUN_UNDEFINED 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue