aboutsummaryrefslogtreecommitdiffstats
path: root/epan/except.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2011-08-01 12:38:58 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2011-08-01 12:38:58 +0000
commitffd28912d30cce61139d629ac64fc6efe325307a (patch)
tree9ce019c9c027e494c683c0e7319cb0a3cbbbaf19 /epan/except.c
parent391a3ebe363930c9ae5556f9ade8ae762c3bd564 (diff)
Another fix for building with MSVC2005.
The previous fixes in r37728 and r37730 did build a wireshark which was unable to use the native windows file dialog (GetOpenFileName). svn path=/trunk/; revision=38299
Diffstat (limited to 'epan/except.c')
-rw-r--r--epan/except.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/epan/except.c b/epan/except.c
index dc935eeb2b..8930c96dc9 100644
--- a/epan/except.c
+++ b/epan/except.c
@@ -41,6 +41,10 @@
#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