AttachConsole() needs _WIN32_WINNT 0x0500.

svn path=/trunk/; revision=37730
This commit is contained in:
Stig Bjørlykke 2011-06-20 08:58:59 +00:00
parent 5f95d18d59
commit 440d1c4e11
1 changed files with 2 additions and 2 deletions

View File

@ -241,8 +241,8 @@
#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