diff options
Diffstat (limited to 'crypto/mem_sec.c')
-rw-r--r-- | crypto/mem_sec.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/mem_sec.c b/crypto/mem_sec.c index 4c01045495..77bf165fbc 100644 --- a/crypto/mem_sec.c +++ b/crypto/mem_sec.c @@ -22,7 +22,9 @@ /* e_os.h includes unistd.h, which defines _POSIX_VERSION */ #if !defined(OPENSSL_NO_SECURE_MEMORY) && defined(OPENSSL_SYS_UNIX) \ - && defined(_POSIX_VERSION) && _POSIX_VERSION >= 200112L + && ( (defined(_POSIX_VERSION) && _POSIX_VERSION >= 200112L) \ + || defined(__sun) || defined(__hpux) || defined(__sgi) \ + || defined(__osf__) ) # define IMPLEMENTED # include <stdlib.h> # include <assert.h> |