From a208cebdcc3fa439400b825bff6b71da40621040 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Mon, 27 Aug 2012 10:45:20 +0200 Subject: [PATCH] Fix host ABI detection with MinGW 4.6. Fix warning: "Unable to completely determine the host ABI (x86-windows-unknown-pe-32bit).". It seems mingw32 is no longer defined in MinGW 4.6; use the more reliable Q_CC_MINGW. Change-Id: I2d4f84a62b2fe829b3a8d755a76429b94c0109f5 Reviewed-by: Tobias Hunger --- src/plugins/projectexplorer/abi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/projectexplorer/abi.cpp b/src/plugins/projectexplorer/abi.cpp index 2cd816a9125..538e3101a08 100644 --- a/src/plugins/projectexplorer/abi.cpp +++ b/src/plugins/projectexplorer/abi.cpp @@ -643,7 +643,7 @@ Abi Abi::hostAbi() subos = WindowsMsvc2008Flavor; #elif _MSC_VER == 1400 subos = WindowsMsvc2005Flavor; -#elif defined (mingw32) +#elif defined (Q_CC_MINGW) subos = WindowsMSysFlavor; #endif format = PEFormat;