7023323: Build failure on VS2003: IsDebuggerPresent not found
Summary: #define _WIN32_WINNT 0x500
Reviewed-by: ohrstrom, hosterda, coleenp
--- a/hotspot/src/os/windows/vm/os_windows.cpp Mon Feb 28 22:35:01 2011 -0800
+++ b/hotspot/src/os/windows/vm/os_windows.cpp Wed Mar 02 09:41:26 2011 +0100
@@ -22,10 +22,8 @@
*
*/
-#ifdef _WIN64
-// Must be at least Windows 2000 or XP to use VectoredExceptions
+// Must be at least Windows 2000 or XP to use VectoredExceptions and IsDebuggerPresent
#define _WIN32_WINNT 0x500
-#endif
// no precompiled headers
#include "classfile/classLoader.hpp"