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
|
||||
# include <ucontext.h>
|
||||
# undef _XOPEN_SOURCE
|
||||
#else
|
||||
#elif !defined(__OpenBSD__)
|
||||
# include <ucontext.h>
|
||||
#endif
|
||||
#ifdef __linux__
|
||||
|
|
Loading…
Reference in New Issue