mirror of
https://github.com/openssl/openssl.git
synced 2025-01-30 14:01:55 +08:00
Defining __USE_XOPEN_EXTENDED was the wrong thing. Instead, define
_XOPEN_SOURCE.
This commit is contained in:
parent
1e7e62f8cd
commit
30a54b9085
@ -64,7 +64,8 @@
|
|||||||
# define _XOPEN_SOURCE_EXTENDED
|
# define _XOPEN_SOURCE_EXTENDED
|
||||||
#endif
|
#endif
|
||||||
#ifdef OPENSSL_SYS_UNIX
|
#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
|
#endif
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <openssl/engine.h>
|
#include <openssl/engine.h>
|
||||||
|
@ -63,7 +63,8 @@
|
|||||||
# define _XOPEN_SOURCE_EXTENDED
|
# define _XOPEN_SOURCE_EXTENDED
|
||||||
#endif
|
#endif
|
||||||
#ifdef OPENSSL_SYS_UNIX
|
#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
|
#endif
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user