aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/detect_version.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-12-14 21:44:34 -0500
committerJack Lloyd <[email protected]>2017-12-14 21:44:34 -0500
commit7b2f3cd974090efd07650753827bb4a7b6c4053b (patch)
tree202a6efca64e7010fb948bbae8be7e73e9116eef /src/build-data/detect_version.cpp
parent1240e6d5df6f98c583099b3c984885ace89781a0 (diff)
Fix clang macros
Diffstat (limited to 'src/build-data/detect_version.cpp')
-rw-r--r--src/build-data/detect_version.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/build-data/detect_version.cpp b/src/build-data/detect_version.cpp
index 65fe08a8b..709e06c45 100644
--- a/src/build-data/detect_version.cpp
+++ b/src/build-data/detect_version.cpp
@@ -29,11 +29,11 @@
#if __clang_major__ >= 9
CLANG 4 0
- #elif __clang__major__ == 8
+ #elif __clang_major__ == 8
CLANG 3 9
- #elif __clang__major__ == 7 && __clang__minor__ == 3
+ #elif __clang_major__ == 7 && __clang_minor__ == 3
CLANG 3 8
- #elif __clang__major__ == 7
+ #elif __clang_major__ == 7
CLANG 3 7
#else
CLANG 3 5