From 15e242b4bc95c9c813daac838bc1093bc0f91523 Mon Sep 17 00:00:00 2001 From: Alex Fabijanic Date: Tue, 21 Jun 2022 17:57:09 +0200 Subject: [PATCH] fix(Platform): MinGW also defines __GNUC__. #3195 --- Foundation/include/Poco/Platform.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Foundation/include/Poco/Platform.h b/Foundation/include/Poco/Platform.h index 4883ba225..f5cc457a7 100644 --- a/Foundation/include/Poco/Platform.h +++ b/Foundation/include/Poco/Platform.h @@ -246,6 +246,9 @@ #define POCO_COMPILER_MSVC #elif defined (__GNUC__) #define POCO_COMPILER_GCC + #if defined (__MINGW32__) || defined (__MINGW64__) + #define POCO_COMPILER_MINGW + #endif #elif defined (__MINGW32__) || defined (__MINGW64__) #define POCO_COMPILER_MINGW #elif defined (__INTEL_COMPILER) || defined(__ICC) || defined(__ECC) || defined(__ICL)