summaryrefslogtreecommitdiff
path: root/TestPrograms/test_ppc_power9.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'TestPrograms/test_ppc_power9.cxx')
-rw-r--r--TestPrograms/test_ppc_power9.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/TestPrograms/test_ppc_power9.cxx b/TestPrograms/test_ppc_power9.cxx
index 2333f9b3..b93e4395 100644
--- a/TestPrograms/test_ppc_power9.cxx
+++ b/TestPrograms/test_ppc_power9.cxx
@@ -1,9 +1,9 @@
#define GNUC_VERSION (__GNUC__*1000 + __GNUC_MAJOR__*10)
#if defined(__apple_build_version__)
-# define APPLE_VERSION (__clang__*1000 + __clang_minor__*10)
+# define APPLE_VERSION (__clang_major__*1000 + __clang_minor__*10)
#else
-# define LLVM_VERSION (__clang__*1000 + __clang_minor__*10)
+# define LLVM_VERSION (__clang_major__*1000 + __clang_minor__*10)
#endif
#if (GNUC_VERSION >= 4060) || (LLVM_VERSION >= 1070) || (APPLE_VERSION >= 2000)