on OS X, rather than define _XOPEN_SOURCE, use the non-deprecated sys/ucontext.h header instead
parent
2a56ba0d2d
commit
07ab5f006d
|
@ -1,5 +1,5 @@
|
|||
include vm/Config.unix
|
||||
CFLAGS += -fPIC -D_XOPEN_SOURCE
|
||||
CFLAGS += -fPIC
|
||||
|
||||
PLAF_DLL_OBJS += vm/os-macosx.o vm/mach_signal.o
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#include <ucontext.h>
|
||||
#include <sys/ucontext.h>
|
||||
|
||||
namespace factor
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#include <ucontext.h>
|
||||
#include <sys/ucontext.h>
|
||||
|
||||
namespace factor
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#include <ucontext.h>
|
||||
#include <sys/ucontext.h>
|
||||
|
||||
namespace factor
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue