diff options
author | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-08-01 12:38:58 +0000 |
---|---|---|
committer | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-08-01 12:38:58 +0000 |
commit | 0b7faaa76b7c287a14587c0516970ffad53a85fc (patch) | |
tree | 9ce019c9c027e494c683c0e7319cb0a3cbbbaf19 /epan/except.c | |
parent | 4f19b256c134f476895940bfd8844d16a332b976 (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).
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38299 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/except.c')
-rw-r--r-- | epan/except.c | 4 |
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 |