Merge pull request #5830 from yandex/filimonov-fix-macos-build

fix macos build after #4828
This commit is contained in:
alexey-milovidov 2019-07-02 12:52:10 +03:00 committed by GitHub
commit 7fe87e112b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

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

View File

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