diff --git a/Foundation/include/Poco/Platform.h b/Foundation/include/Poco/Platform.h index 2e8b34e78..799db417e 100644 --- a/Foundation/include/Poco/Platform.h +++ b/Foundation/include/Poco/Platform.h @@ -231,10 +231,10 @@ #endif -#if defined(_MSC_VER) - #define POCO_COMPILER_MSVC -#elif defined(__clang__) +#if defined(__clang__) #define POCO_COMPILER_CLANG +#elif defined(_MSC_VER) + #define POCO_COMPILER_MSVC #elif defined (__GNUC__) #define POCO_COMPILER_GCC #elif defined (__MINGW32__) || defined (__MINGW64__) diff --git a/Foundation/include/Poco/Tuple.h b/Foundation/include/Poco/Tuple.h index ab1439d26..000749695 100644 --- a/Foundation/include/Poco/Tuple.h +++ b/Foundation/include/Poco/Tuple.h @@ -25,7 +25,7 @@ namespace Poco { -#if defined(_MSC_VER) +#if defined(POCO_COMPILER_MSVC) #define POCO_TYPEWRAPPER_DEFAULTVALUE(T) TypeWrapper::TYPE() #else #define POCO_TYPEWRAPPER_DEFAULTVALUE(T) typename TypeWrapper::TYPE()