Defining __USE_XOPEN_EXTENDED was the wrong thing. Instead, define
authorRichard Levitte <levitte@openssl.org>
Tue, 5 Jun 2001 20:29:26 +0000 (20:29 +0000)
committerRichard Levitte <levitte@openssl.org>
Tue, 5 Jun 2001 20:29:26 +0000 (20:29 +0000)
_XOPEN_SOURCE.

crypto/engine/enginetest.c
crypto/ui/ui_lib.c

index f152f64..59afe8e 100644 (file)
@@ -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 <string.h>
 #include <openssl/engine.h>
index f8881de..f55a79c 100644 (file)
@@ -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 <string.h>