winapi attachconsole.cpp: Use macro _WIN32_WINNT_WIN2K instead hardcoded constant 0x0500
This commit is contained in:
parent
278ec0e474
commit
752c9f77b2
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ static void WINAPI_AttachConsole(void)
|
|||
version = (osvi.dwMajorVersion << 8) | osvi.dwMinorVersion;
|
||||
|
||||
// We need Windows 2000 or new
|
||||
if (version < 0x0500) {
|
||||
if (version < _WIN32_WINNT_WIN2K) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue