1.1 --- a/common/autoconf/toolchain.m4 Fri Aug 16 16:22:23 2013 -0700 1.2 +++ b/common/autoconf/toolchain.m4 Thu Sep 05 10:58:25 2013 -0700 1.3 @@ -905,7 +905,7 @@ 1.4 CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DSOLARIS" 1.5 fi 1.6 if test "x$OPENJDK_TARGET_OS" = xmacosx; then 1.7 - CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DMACOSX -D_ALLBSD_SOURCE" 1.8 + CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DMACOSX -D_ALLBSD_SOURCE -D_DARWIN_UNLIMITED_SELECT" 1.9 # Setting these parameters makes it an error to link to macosx APIs that are 1.10 # newer than the given OS version and makes the linked binaries compatible even 1.11 # if built on a newer version of the OS.