projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d98a4b7
)
Solaris <string.h> does not declare 'strdup' if _XOPEN_SOURCE is
author
Bodo Möller
<bodo@openssl.org>
Wed, 5 Sep 2001 14:40:05 +0000
(14:40 +0000)
committer
Bodo Möller
<bodo@openssl.org>
Wed, 5 Sep 2001 14:40:05 +0000
(14:40 +0000)
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.)
crypto/engine/enginetest.c
patch
|
blob
|
history
diff --git
a/crypto/engine/enginetest.c
b/crypto/engine/enginetest.c
index 06a439b4c0d52920ca623c2c31e46b2ad71a0114..3a98eff463ee861f85c7ccdb1ac00001d8d687fa 100644
(file)
--- 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>