From 7ba45bf133b4f1af870b8b0fd87938d377acb5a4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bodo=20M=C3=B6ller?= Date: Wed, 5 Sep 2001 14:40:05 +0000 Subject: [PATCH] Solaris 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.) --- crypto/engine/enginetest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.25.1