diff options
author | Bodo Möller <bodo@openssl.org> | 2001-09-05 14:40:05 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2001-09-05 14:40:05 +0000 |
commit | 7ba45bf133b4f1af870b8b0fd87938d377acb5a4 (patch) | |
tree | 234c663a339f175e5e2c172820e200e49493304a /crypto/engine/enginetest.c | |
parent | d98a4b73664d0331f90da4f9521d7eea5f4567e5 (diff) | |
download | openssl-new-7ba45bf133b4f1af870b8b0fd87938d377acb5a4.tar.gz |
Solaris <string.h> does not declare 'strdup' if _XOPEN_SOURCE is
defined.
(Preprocessor symbols such as _POSIX_C_SOURCE or _XOPEN_SOURCE are
supposed to disable anything not allowed by the respective
specification; I'm not sure why 'strdup' would be considered
an outlaw though.)
Diffstat (limited to 'crypto/engine/enginetest.c')
-rw-r--r-- | crypto/engine/enginetest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/engine/enginetest.c b/crypto/engine/enginetest.c index 06a439b4c0..3a98eff463 100644 --- a/crypto/engine/enginetest.c +++ b/crypto/engine/enginetest.c @@ -63,7 +63,7 @@ # define _XOPEN_SOURCE_EXTENDED #endif #ifdef OPENSSL_SYS_UNIX -# define _XOPEN_SOURCE +/* # define _XOPEN_SOURCE */ # define _XOPEN_SOURCE_EXTENDED /* For Linux and probably anything GNU */ #endif #include <stdio.h> |