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 f152f642f130cac31961610fd7e1a8c90d75b53c..59afe8e3c403a18358c0b79786994386df89f936 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 f8881dee05259c1fd19caf7040bc44c787456594..f55a79c740c7b29bcb9cf5ff9095ac952d7bdf16 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>