Merge pull request #791 from gleydsonsoares/ucontext_OpenBSD
fix build on OpenBSD
This commit is contained in:
commit
d7d98689dd
|
@ -41,7 +41,7 @@
|
||||||
# define _XOPEN_SOURCE // ucontext.h APIs can only be used on Mac OSX >= 10.7 if _XOPEN_SOURCE is defined
|
# define _XOPEN_SOURCE // ucontext.h APIs can only be used on Mac OSX >= 10.7 if _XOPEN_SOURCE is defined
|
||||||
# include <ucontext.h>
|
# include <ucontext.h>
|
||||||
# undef _XOPEN_SOURCE
|
# undef _XOPEN_SOURCE
|
||||||
#else
|
#elif !defined(__OpenBSD__)
|
||||||
# include <ucontext.h>
|
# include <ucontext.h>
|
||||||
#endif
|
#endif
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
|
|
Loading…
Reference in New Issue