common/autoconf/toolchain.m4
changeset 19311 741980fe0b33
parent 18426 bf9e616c1476
child 19758 3e519fa7e632
child 22465 51cc970b1b88
--- a/common/autoconf/toolchain.m4	Wed Jul 05 19:07:31 2017 +0200
+++ b/common/autoconf/toolchain.m4	Fri Aug 16 18:40:43 2013 +0400
@@ -905,7 +905,7 @@
     CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DSOLARIS"
 fi
 if test "x$OPENJDK_TARGET_OS" = xmacosx; then
-    CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DMACOSX -D_ALLBSD_SOURCE"
+    CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DMACOSX -D_ALLBSD_SOURCE -D_DARWIN_UNLIMITED_SELECT"
     # Setting these parameters makes it an error to link to macosx APIs that are
     # newer than the given OS version and makes the linked binaries compatible even
     # if built on a newer version of the OS.