From 30a54b90854f41d2520ba9177617e31b18525d84 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Tue, 5 Jun 2001 20:29:26 +0000 Subject: [PATCH] Defining __USE_XOPEN_EXTENDED was the wrong thing. Instead, define _XOPEN_SOURCE. --- crypto/engine/enginetest.c | 3 ++- crypto/ui/ui_lib.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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 -- 2.25.1