Last active
August 29, 2015 14:14
-
-
Save muesli/6501b9edc499e92a739a to your computer and use it in GitHub Desktop.
Qt54 clang compile patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/qtbase/src/corelib/global/qcompilerdetection.h b/qtbase/src/corelib/global/qcompilerdetection.h | |
index 4c84daa..5f8ca5c 100644 | |
--- a/qtbase/src/corelib/global/qcompilerdetection.h | |
+++ b/qtbase/src/corelib/global/qcompilerdetection.h | |
@@ -154,17 +154,17 @@ | |
/* Clang also masquerades as GCC */ | |
# if defined(__apple_build_version__) | |
# /* http://en.wikipedia.org/wiki/Xcode#Toolchain_Versions */ | |
-# if __apple_build_version__ >= 600051 | |
+# if __apple_build_version__ >= 6000051 | |
# define Q_CC_CLANG 305 | |
-# elif __apple_build_version__ >= 503038 | |
+# elif __apple_build_version__ >= 5030038 | |
# define Q_CC_CLANG 304 | |
-# elif __apple_build_version__ >= 500275 | |
+# elif __apple_build_version__ >= 5000275 | |
# define Q_CC_CLANG 303 | |
-# elif __apple_build_version__ >= 425024 | |
+# elif __apple_build_version__ >= 4250024 | |
# define Q_CC_CLANG 302 | |
-# elif __apple_build_version__ >= 318045 | |
+# elif __apple_build_version__ >= 3180045 | |
# define Q_CC_CLANG 301 | |
-# elif __apple_build_version__ >= 211101 | |
+# elif __apple_build_version__ >= 2111001 | |
# define Q_CC_CLANG 300 | |
# else | |
# error "Unknown Apple Clang version" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment