git.samba.org
/
obnox
/
wireshark
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Another fix for building with MSVC2005.
[obnox/wireshark/wip.git]
/
epan
/
except.c
diff --git
a/epan/except.c
b/epan/except.c
index dc935eeb2bd93ca4c41451e7ef3b7c152c7ce5a5..8930c96dc9f50e854d55775ccc4ec48ea0592f3b 100644
(file)
--- 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