Merge pull request #791 from gleydsonsoares/ucontext_OpenBSD

fix build on OpenBSD
This commit is contained in:
amai2012 2016-05-09 16:48:46 +02:00
commit d7d98689dd
1 changed files with 1 additions and 1 deletions

View File

@ -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__