提交 30a54b90 编写于 作者: R Richard Levitte

Defining __USE_XOPEN_EXTENDED was the wrong thing. Instead, define

_XOPEN_SOURCE.
上级 1e7e62f8
......@@ -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>
......
......@@ -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>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册