blob: f78f4fc4b91f7177f44fadac1b85bb0281671082 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- libs/pfl/common/lthread/pgpSemaphore.c.orig 1998-03-17 21:08:17.000000000 -0800
+++ libs/pfl/common/lthread/pgpSemaphore.c 2008-09-01 10:01:39.000000000 -0700
@@ -41,7 +41,7 @@ int PGPSemDestroy(PGPSem_t *sem)
#endif /* end PGP_UNIX_SOLARIS */
/* Linux has sem_init function but no headers ?? */
-#if HAVE_SEM_INIT && !PGP_UNIX_LINUX
+#if HAVE_SEM_INIT && !PGP_UNIX_LINUX && !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__)
PGPSemAttr_t PGPSemAttr_def = {0, 0};
|