diff options
author | Richard Levitte <levitte@openssl.org> | 2001-06-05 20:29:26 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2001-06-05 20:29:26 +0000 |
commit | 30a54b90854f41d2520ba9177617e31b18525d84 (patch) | |
tree | 2bbefb0f83760b800ab4f2cb140fb15ede7b4d52 /crypto | |
parent | 1e7e62f8cdda90328531b3a7c31fb68240b6245f (diff) |
Defining __USE_XOPEN_EXTENDED was the wrong thing. Instead, define
_XOPEN_SOURCE.
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/engine/enginetest.c | 3 | ||||
-rw-r--r-- | 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 <string.h> #include <openssl/engine.h> 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 <string.h> |