diff options
author | Attila Molnar <attilamolnar@hush.com> | 2015-02-22 17:14:53 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2015-02-22 17:14:53 +0100 |
commit | bdefe32944c2fa2d27dd00ba6eec8863d72d2dbd (patch) | |
tree | 5e1529f26701c575e29fe00d502a71a5f6af32dc | |
parent | 21e25f7aa9091821e24447784d08d8fdd905f1c3 (diff) | |
parent | ee3b1ba801f8f731f3efee180fc224f206ffaa70 (diff) |
Merge pull request #998 from SaberUK/master+fix-clang-builds
Fix oversight which caused problems with Clang on OSX.
-rw-r--r-- | make/test/compiler.cpp | 2 |
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 |