fix macos build

This commit is contained in:
filimonov 2019-07-02 08:37:57 +02:00 committed by GitHub
parent 5c721ea711
commit ea2f0dd844
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,7 +48,7 @@
#ifdef __APPLE__ #ifdef __APPLE__
// ucontext is not available without _XOPEN_SOURCE // ucontext is not available without _XOPEN_SOURCE
#define _XOPEN_SOURCE #define _XOPEN_SOURCE 700
#endif #endif
#include <ucontext.h> #include <ucontext.h>