changeset 49663:0ab2411f270d

8199619: Building HotSpot on Windows should define NOMINMAX Reviewed-by: erikj, kbarrett, ihse
author rwestberg
date Wed, 28 Mar 2018 15:30:43 +0200
parents 3614cbddd005
children 9a04cc89dde0
files make/autoconf/flags-cflags.m4
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/make/autoconf/flags-cflags.m4	Tue Apr 03 08:56:46 2018 -0700
+++ b/make/autoconf/flags-cflags.m4	Wed Mar 28 15:30:43 2018 +0200
@@ -455,6 +455,7 @@
   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
 
   ###############################################################################