< prev index next >
hotspot/src/os/windows/vm/os_windows.cpp
Print this page
@@ -90,10 +90,13 @@
#include <direct.h>
#include <errno.h>
#include <fcntl.h>
#include <io.h>
#include <process.h> // For _beginthreadex(), _endthreadex()
+#if _MSC_VER >= 1900
+#pragma warning( disable : 4091 ) // typedef ignored on left when no variable is declared
+#endif
#include <imagehlp.h> // For os::dll_address_to_function_name
// for enumerating dll libraries
#include <vdmdbg.h>
// for timer info max values which include all bits
@@ -2209,11 +2212,15 @@
#endif
// Windows Vista/2008 heap corruption check
#define EXCEPTION_HEAP_CORRUPTION 0xC0000374
+#if _MSC_VER >= 1900
+#define def_excpt(val) #val, (int) val
+#else
#define def_excpt(val) #val, val
+#endif
struct siglabel {
char *name;
int number;
};
< prev index next >