summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2015-02-20 19:14:31 +0000
committerPeter Powell <petpow@saberuk.com>2015-02-20 19:16:14 +0000
commitee3b1ba801f8f731f3efee180fc224f206ffaa70 (patch)
tree3339d9c22263e57827666463f47cfefd00f3cfc7 /make
parent2d97be1d32cb518b104583239c9483410b268fac (diff)
Fix oversight which caused problems with Clang on OSX.
Diffstat (limited to 'make')
-rw-r--r--make/test/compiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/test/compiler.cpp b/make/test/compiler.cpp
index d78f07830..edf08b8e3 100644
--- a/make/test/compiler.cpp
+++ b/make/test/compiler.cpp
@@ -25,7 +25,7 @@
# include <tr1/unordered_map>
#endif
-#if defined __APPLE__ && __GNUC__ == 4 && __GNUC_MINOR__ == 2 && __GNUC_PATCHLEVEL__ == 1
+#if defined __llvm__ && !defined __clang__ && __GNUC__ == 4 && __GNUC_MINOR__ == 2 && __GNUC_PATCHLEVEL__ == 1
# error "LLVM-GCC 4.2.1 has broken visibility support."
#endif