make/autoconf/flags-cflags.m4
changeset 49726 4ae63fcabe2e
parent 49679 7084eec5c723
child 49907 1ca3406a2101
--- a/make/autoconf/flags-cflags.m4	Mon Apr 09 20:36:04 2018 -0400
+++ b/make/autoconf/flags-cflags.m4	Mon Apr 09 10:09:38 2018 +0200
@@ -453,7 +453,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"
+    ALWAYS_DEFINES_JVM="-DNOMINMAX -DWIN32_LEAN_AND_MEAN"
   fi
 
   ###############################################################################