11 lines
576 B
Text
11 lines
576 B
Text
--- libs/pfl/common/lthread/pgpThreads.h.orig 1999-04-19 10:59:53.000000000 -0700
|
|
+++ libs/pfl/common/lthread/pgpThreads.h 2008-08-31 17:22:17.000000000 -0700
|
|
@@ -138,7 +138,7 @@ typedef pthread_key_t PGPThreadKey_t;
|
|
#endif /* end HAVE_PTHREAD_ATTR_CREATE */
|
|
|
|
/* My version of Linux has sem_init in pthreads.so, but *zero* headers ?? */
|
|
-#if HAVE_SEM_INIT && !PGP_UNIX_LINUX
|
|
+#if HAVE_SEM_INIT && !PGP_UNIX_LINUX && !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__)
|
|
|
|
#undef HAVE_SEMGET /* prefer POSIX sem_init over semget */
|
|
#define HAVE_SEMGET 0
|