diff options
Diffstat (limited to 'TestPrograms')
-rw-r--r-- | TestPrograms/test_cxx11_noexcept.cxx | 4 | ||||
-rw-r--r-- | TestPrograms/test_ppc_power7.cxx | 4 | ||||
-rw-r--r-- | TestPrograms/test_ppc_power8.cxx | 4 | ||||
-rw-r--r-- | TestPrograms/test_ppc_power9.cxx | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/TestPrograms/test_cxx11_noexcept.cxx b/TestPrograms/test_cxx11_noexcept.cxx index f2813dc2..2b56f37a 100644 --- a/TestPrograms/test_cxx11_noexcept.cxx +++ b/TestPrograms/test_cxx11_noexcept.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)
diff --git a/TestPrograms/test_ppc_power7.cxx b/TestPrograms/test_ppc_power7.cxx index e1f27ace..7ad1324d 100644 --- a/TestPrograms/test_ppc_power7.cxx +++ b/TestPrograms/test_ppc_power7.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)
diff --git a/TestPrograms/test_ppc_power8.cxx b/TestPrograms/test_ppc_power8.cxx index 84840226..bd678503 100644 --- a/TestPrograms/test_ppc_power8.cxx +++ b/TestPrograms/test_ppc_power8.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)
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)
|