VS90 64-bit build fix

VS90 64-bit build fix
This commit is contained in:
Aleksandar Fabijanic
2014-05-10 20:36:31 -05:00
parent bcf1eb1649
commit 33fc592755

View File

@@ -57,10 +57,14 @@
// the header file that contains the definition for conditional // the header file that contains the definition for conditional
// definitions.) For more information, see SdkDdkVer.h. // definitions.) For more information, see SdkDdkVer.h.
#if defined(_WIN32_WINNT) && (_WIN32_WINNT < 0x0501) #if defined(_WIN32_WINNT)
#error Unsupported Windows version. #if (_WIN32_WINNT < 0x0501)
#elif defined(NTDDI_VERSION) && (NTDDI_VERSION < 0x05010100) #error Unsupported Windows version.
#error Unsupported Windows version. #endif
#elif defined(NTDDI_VERSION)
#if (NTDDI_VERSION < 0x05010100)
#error Unsupported Windows version.
#endif
#elif !defined(_WIN32_WINNT) #elif !defined(_WIN32_WINNT)
// Define minimum supported version. // Define minimum supported version.
// This can be changed, if needed. // This can be changed, if needed.