提交 000cc411 编写于 作者: M Matt Caswell

Fix compilation error on OS-X

OS-X complains if we don't have _XOPEN_SOURCE defined.
Reviewed-by: NRich Salz <rsalz@openssl.org>
上级 d7e404c2
......@@ -61,6 +61,12 @@
# define ASYNC_POSIX
# define ASYNC_ARCH
/*
* Some platforms complain (e.g. OS-X) that setcontext/getcontext/makecontext
* are deprecated without this defined
*/
# define _XOPEN_SOURCE
# include <ucontext.h>
# include <setjmp.h>
# include "e_os.h"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册