1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/lib/replace/system
Stefan Metzmacher 34cf1d213e lib/replace: fix PTHREAD_MUTEX_ROBUST fallback to PTHREAD_MUTEX_ROBUST_NP on solaris 11
Without this we got the following defines in config.h:

   #define HAVE_DECL_PTHREAD_MUTEXATTR_SETROBUST_NP 1
   #define HAVE_DECL_PTHREAD_MUTEX_CONSISTENT_NP 1
   #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
   #define HAVE_PTHREAD_MUTEX_CONSISTENT 1
   #define HAVE_ROBUST_MUTEXES 1
   #define USE_TDB_MUTEX_LOCKING 1

And the build failed with PTHREAD_MUTEX_ROBUST being unknown.

Note that PTHREAD_MUTEX_ROBUST and PTHREAD_MUTEX_ROBUST_NP are enum values
while they're defines on solaris 11
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11319

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2015-06-12 17:08:20 +02:00
..
aio.h Move common libraries from root to lib/. 2008-09-17 14:11:12 +02:00
capability.h Revert "replace: Try to fix broken sys/capabilites.h on Linux." 2011-02-03 04:32:43 +01:00
dir.h Move common libraries from root to lib/. 2008-09-17 14:11:12 +02:00
filesys.h replace: Fix includes of unistd.h 2014-09-19 18:11:11 +02:00
glob.h Move common libraries from root to lib/. 2008-09-17 14:11:12 +02:00
gssapi.h Introduce system MIT krb5 build with --with-system-mitkrb5 option. 2012-05-23 17:51:50 +03:00
iconv.h Move common libraries from root to lib/. 2008-09-17 14:11:12 +02:00
kerberos.h lib/replace: split out GSSAPI from lib/replace/system/kerberos.h into lib/replace/system/gssapi.h 2012-04-25 00:18:32 +02:00
locale.h Add langinfo.h to the system/locale.h 2009-06-08 13:20:51 +02:00
network.h replace: Fix includes of unistd.h 2014-09-19 18:11:11 +02:00
passwd.h replace: Fix includes of unistd.h 2014-09-19 18:11:11 +02:00
readline.h libreplace: Fix readline build with libedit. 2010-06-03 16:33:43 +02:00
README Move common libraries from root to lib/. 2008-09-17 14:11:12 +02:00
select.h Add Solaris ports as a tevent backend. 2015-02-15 23:25:07 +01:00
shmem.h Move common libraries from root to lib/. 2008-09-17 14:11:12 +02:00
syslog.h Move common libraries from root to lib/. 2008-09-17 14:11:12 +02:00
terminal.h Move common libraries from root to lib/. 2008-09-17 14:11:12 +02:00
threads.h lib/replace: fix PTHREAD_MUTEX_ROBUST fallback to PTHREAD_MUTEX_ROBUST_NP on solaris 11 2015-06-12 17:08:20 +02:00
time.h libreplace: move "struct timespec" checks into libreplace (where timespec is already used). 2011-03-04 00:28:27 +01:00
wait.h lib/replace: Include sys/ucontext.h if available. 2013-01-15 08:28:45 +01:00
wscript_configure s4-waf: mark the wscript files as python so vim/emacs knows how to highlight them 2010-04-06 20:27:11 +10:00

This directory contains wrappers around logical groups of system
include files. The idea is to avoid #ifdef blocks in the main code,
and instead put all the necessary conditional includes in subsystem
specific header files in this directory.