changeset 969:af57fa28a975

. Define _DARWIN_C_SOURCE on MacOS X. Needed on Snow Leopard to pull in the pthread functions. Submitted by: Michael Franz <mvfranz@gmail.com>
author glewis@misty.eyesbeyond.com
date Sun, 13 Sep 2009 20:00:47 -0700
parents e57bd1cf5c9a
children ffbd27b7b2b2
files make/bsd/makefiles/vm.make
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/make/bsd/makefiles/vm.make	Sat Sep 12 22:26:15 2009 -0700
+++ b/make/bsd/makefiles/vm.make	Sun Sep 13 20:00:47 2009 -0700
@@ -112,7 +112,7 @@
 JVM    = jvm$(G_SUFFIX)
 ifeq ($(OS_VENDOR), Darwin)
   LIBJVM = lib$(JVM).dylib
-  CFLAGS += -D_XOPEN_SOURCE
+  CFLAGS += -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE
 else
   LIBJVM = lib$(JVM).so
 endif