8199619: Building HotSpot on Windows should define NOMINMAX

Reviewed-by: erikj, kbarrett, ihse
This commit is contained in:
Robin Westberg 2018-03-28 15:30:43 +02:00
parent fc89e7ac24
commit 46c6ae35c4

View File

@ -455,6 +455,7 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
ALWAYS_DEFINES_JDK="-DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_DEPRECATE \
-D_CRT_NONSTDC_NO_DEPRECATE -DWIN32 -DIAL"
ALWAYS_DEFINES_JVM="-DNOMINMAX"
fi
###############################################################################