diff options
author | unknown <msvensson@neptunus.(none)> | 2006-10-16 18:36:33 +0200 |
---|---|---|
committer | unknown <msvensson@neptunus.(none)> | 2006-10-16 18:36:33 +0200 |
commit | 46d7f12fca9e097d75df52ec877fc9e3f4fdfb58 (patch) | |
tree | 763d58d03a13ba204aaeabe302f36478e79c2cb5 /extra/yassl/include | |
parent | 0ace2b44ba0410e901d18c5315837647c8436c1d (diff) | |
download | mariadb-git-46d7f12fca9e097d75df52ec877fc9e3f4fdfb58.tar.gz |
yassl build fixes for hpux and netware
extra/yassl/include/yassl_int.hpp:
Netware and HPUX need the _POSIX_THREADS define to be forced
extra/yassl/taocrypt/include/hmac.hpp:
Prefix with HMAC as we get symbol conflicts on HPUX
Diffstat (limited to 'extra/yassl/include')
-rw-r--r-- | extra/yassl/include/yassl_int.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/extra/yassl/include/yassl_int.hpp b/extra/yassl/include/yassl_int.hpp index 28e9d237622..0edff289b61 100644 --- a/extra/yassl/include/yassl_int.hpp +++ b/extra/yassl/include/yassl_int.hpp @@ -40,6 +40,13 @@ #include "lock.hpp" #include "openssl/ssl.h" // ASN1_STRING and DH +// Check if _POSIX_THREADS should be forced +#if !defined(_POSIX_THREADS) && (defined(__NETWARE__) || defined(__hpux)) +// HPUX does not define _POSIX_THREADS as it's not _fully_ implemented +// Netware supports pthreads but does not announce it +#define _POSIX_THREADS +#endif + #ifdef _POSIX_THREADS #include <pthread.h> #endif |