From 33fc592755ad35bac9e9bde04eeb565660d2c03c Mon Sep 17 00:00:00 2001 From: Aleksandar Fabijanic Date: Sat, 10 May 2014 20:36:31 -0500 Subject: [PATCH] VS90 64-bit build fix VS90 64-bit build fix --- Foundation/include/Poco/UnWindows.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Foundation/include/Poco/UnWindows.h b/Foundation/include/Poco/UnWindows.h index 60157b857..4818f8f28 100755 --- a/Foundation/include/Poco/UnWindows.h +++ b/Foundation/include/Poco/UnWindows.h @@ -57,10 +57,14 @@ // the header file that contains the definition for conditional // definitions.) For more information, see SdkDdkVer.h. -#if defined(_WIN32_WINNT) && (_WIN32_WINNT < 0x0501) - #error Unsupported Windows version. -#elif defined(NTDDI_VERSION) && (NTDDI_VERSION < 0x05010100) - #error Unsupported Windows version. +#if defined(_WIN32_WINNT) + #if (_WIN32_WINNT < 0x0501) + #error Unsupported Windows version. + #endif +#elif defined(NTDDI_VERSION) + #if (NTDDI_VERSION < 0x05010100) + #error Unsupported Windows version. + #endif #elif !defined(_WIN32_WINNT) // Define minimum supported version. // This can be changed, if needed.