From: Richard Levitte Date: Tue, 5 Jun 2001 20:29:26 +0000 (+0000) Subject: Defining __USE_XOPEN_EXTENDED was the wrong thing. Instead, define X-Git-Tag: OpenSSL_0_9_6c~182^2~129 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=30a54b90854f41d2520ba9177617e31b18525d84;hp=1e7e62f8cdda90328531b3a7c31fb68240b6245f Defining __USE_XOPEN_EXTENDED was the wrong thing. Instead, define _XOPEN_SOURCE. --- diff --git a/crypto/engine/enginetest.c b/crypto/engine/enginetest.c index f152f642f1..59afe8e3c4 100644 --- a/crypto/engine/enginetest.c +++ b/crypto/engine/enginetest.c @@ -64,7 +64,8 @@ # define _XOPEN_SOURCE_EXTENDED #endif #ifdef OPENSSL_SYS_UNIX -# define __USE_XOPEN_EXTENDED /* For Linux and probably anything GNU */ +# define _XOPEN_SOURCE +# define _XOPEN_SOURCE_EXTENDED /* For Linux and probably anything GNU */ #endif #include #include diff --git a/crypto/ui/ui_lib.c b/crypto/ui/ui_lib.c index f8881dee05..f55a79c740 100644 --- a/crypto/ui/ui_lib.c +++ b/crypto/ui/ui_lib.c @@ -63,7 +63,8 @@ # define _XOPEN_SOURCE_EXTENDED #endif #ifdef OPENSSL_SYS_UNIX -# define __USE_XOPEN_EXTENDED /* For Linux and probably anything GNU */ +# define _XOPEN_SOURCE +# define _XOPEN_SOURCE_EXTENDED /* For Linux and probably anything GNU */ #endif #include