changeset 968:e57bd1cf5c9a

. Define _XOPEN_SOURCE on Mac OSX. This appears to be required to pull in the ucontext functions on 10.6 aka Snow Leopard.
author glewis@misty.eyesbeyond.com
date Sat, 12 Sep 2009 22:26:15 -0700
parents 12ea00a010fb
children af57fa28a975
files make/bsd/makefiles/vm.make
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/make/bsd/makefiles/vm.make	Mon Sep 07 10:57:43 2009 -0700
+++ b/make/bsd/makefiles/vm.make	Sat Sep 12 22:26:15 2009 -0700
@@ -112,6 +112,7 @@
 JVM    = jvm$(G_SUFFIX)
 ifeq ($(OS_VENDOR), Darwin)
   LIBJVM = lib$(JVM).dylib
+  CFLAGS += -D_XOPEN_SOURCE
 else
   LIBJVM = lib$(JVM).so
 endif