summaryrefslogtreecommitdiff
path: root/config.h.win32
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2011-06-20 07:14:57 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2011-06-20 07:14:57 +0000
commit8f7cbf3a8b8beef8889dc327cea4e2a2c7f8a614 (patch)
treedfda6de281fee0c962ec99ecb991f84de1bbb917 /config.h.win32
parent492ee9cafcf4facf595823d996b4d30cf8553ffa (diff)
downloadwireshark-8f7cbf3a8b8beef8889dc327cea4e2a2c7f8a614.tar.gz
Add back support for building with MSVC2005 (and older).
svn path=/trunk/; revision=37728
Diffstat (limited to 'config.h.win32')
-rw-r--r--config.h.win323
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h.win32 b/config.h.win32
index 955806f9a9..5bbfbf477c 100644
--- a/config.h.win32
+++ b/config.h.win32
@@ -240,6 +240,9 @@
#if _MSC_VER == 1500 || _MSC_VER == 1600
#define NTDDI_VERSION NTDDI_WIN2K
#define _WIN32_WINNT _WIN32_WINNT_WIN2K
+#else
+/* IsDebuggerPresent() needs this #define! */
+#define _WIN32_WINNT 0x0400
#endif
#define strncasecmp strnicmp