AttachConsole() needs _WIN32_WINNT 0x0500.
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 20 Jun 2011 08:58:59 +0000 (08:58 +0000)
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 20 Jun 2011 08:58:59 +0000 (08:58 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37730 f5534014-38df-0310-8fa8-9805f1628bb7

config.h.win32

index 5bbfbf477ce2bc4f18c39d2ba3e29f471990c373..7e5dae393ea7accf13a3d0da755e9d74add5e095 100644 (file)
 #define NTDDI_VERSION NTDDI_WIN2K
 #define _WIN32_WINNT _WIN32_WINNT_WIN2K
 #else
-/* IsDebuggerPresent() needs this #define! */
-#define _WIN32_WINNT 0x0400
+/* IsDebuggerPresent() and AttachConsole() needs this #define! */
+#define _WIN32_WINNT 0x0500
 #endif
 
 #define strncasecmp            strnicmp