]> gitweb.factorcode.org Git - factor.git/blobdiff - vm/os-windows.hpp
Windows: Add two new targets, x86-32-vista and x86-64-vista for bjourne's
[factor.git] / vm / os-windows.hpp
index a83ea2ff8d27c278bec33bfc8d203e979495deae..2dab596c4da41d8d200979608efa0102f82a0633 100644 (file)
@@ -5,8 +5,11 @@
 #include <wchar.h>
 #endif
 
+#if _WIN32_WINNT != 0x0600
 #undef _WIN32_WINNT
-#define _WIN32_WINNT 0x0501  // For AddVectoredExceptionHandler
+#define _WIN32_WINNT 0x0501  // For AddVectoredExceptionHandler, WinXP support
+//#define _WIN32_WINNT 0x0600  // For CancelSynchronousIo
+#endif
 
 #ifndef UNICODE
 #define UNICODE