forked from Lainports/freebsd-ports
11 lines
555 B
Text
11 lines
555 B
Text
--- libs/network/ldaplib/include/ldap.h.orig 1999-08-04 11:35:42.000000000 -0700
|
|
+++ libs/network/ldaplib/include/ldap.h 2008-08-31 00:47:21.000000000 -0700
|
|
@@ -86,7 +86,7 @@ extern __declspec(dllimport) unsigned lo
|
|
#define GetThreadID GetCurrentThreadId
|
|
#elif PGP_UNIX_SOLARIS
|
|
#define GetThreadID thr_self
|
|
-#elif PGP_UNIX_LINUX || PGP_UNIX_AIX || PGP_UNIX_HPUX
|
|
+#elif PGP_UNIX_LINUX || PGP_UNIX_AIX || PGP_UNIX_HPUX || defined(__FreeBSD__)
|
|
/* This is for all pthreads systems, including Linux and AIX. */
|
|
#define GetThreadID pthread_self
|
|
#endif
|