Defining __USE_XOPEN_EXTENDED was the wrong thing. Instead, define

_XOPEN_SOURCE.
This commit is contained in:
Richard Levitte 2001-06-05 20:29:26 +00:00
parent 1e7e62f8cd
commit 30a54b9085
2 changed files with 4 additions and 2 deletions

View 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>

View 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>