< prev index next >

src/hotspot/share/adlc/adlc.hpp

Print this page
8248238: Adding Windows support to OpenJDK on AArch64

Summary: Adding Windows support for AArch64

Contributed-by: Ludovic Henry <luhenry@microsoft.com>, Monica Beckwith <monica.beckwith@microsoft.com>
Reviewed-by:

@@ -37,13 +37,16 @@
 #include <string.h>
 #include <ctype.h>
 #include <stdarg.h>
 #include <sys/types.h>
 
-/* Make sure that we have the intptr_t and uintptr_t definitions */
 #ifdef _WIN32
 
+/* Make sure that we don't define min/max */
+#define NOMINMAX
+
+/* Make sure that we have the intptr_t and uintptr_t definitions */
 #if _MSC_VER >= 1300
 using namespace std;
 #endif
 
 #if _MSC_VER >= 1400
< prev index next >