Another fix for building with MSVC2005.
[obnox/wireshark/wip.git] / epan / except.c
index dc935eeb2bd93ca4c41451e7ef3b7c152c7ce5a5..8930c96dc9f50e854d55775ccc4ec48ea0592f3b 100644 (file)
 #include "except.h"
 
 #ifdef _WIN32
+#if _MSC_VER < 1500
+/* IsDebuggerPresent() needs this #define! */
+#define _WIN32_WINNT 0x0400
+#endif
 #include <windows.h>
 #include "exceptions.h"
 #endif