aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/detect_version.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-12-31 10:25:50 -0500
committerJack Lloyd <[email protected]>2017-12-31 10:25:50 -0500
commit042bad2f7a7f9e12b4ba6c91f8458875537b5a47 (patch)
tree25653ff3c4b40e10449d508eb6796214a33b9aa1 /src/build-data/detect_version.cpp
parent46e930509929e47e69b328e8cb4e7ea46ed3307b (diff)
Add version detection for XLC [ci skip]
We don't need it right now but may later and it avoids a scary warning when configuring the build.
Diffstat (limited to 'src/build-data/detect_version.cpp')
-rw-r--r--src/build-data/detect_version.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/build-data/detect_version.cpp b/src/build-data/detect_version.cpp
index 42c4a2605..12a5a707e 100644
--- a/src/build-data/detect_version.cpp
+++ b/src/build-data/detect_version.cpp
@@ -16,6 +16,10 @@
*/
MSVC _MSC_VER
+#elif defined(__xlC__)
+
+ XLC __xlC__
+
#elif defined(__clang__) && defined(__apple_build_version__)
/*