From 4153f38eec52365b3beeba56086ec4e01b4b75b7 Mon Sep 17 00:00:00 2001 From: Robin Mills Date: Sun, 14 Oct 2012 18:02:47 +0000 Subject: [PATCH] Fix: Issue: #859. Don't set visibility for clang compiler. --- config/config.h.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/config.h.in b/config/config.h.in index 5ff3c7fd..8a938251 100644 --- a/config/config.h.in +++ b/config/config.h.in @@ -212,7 +212,7 @@ # define EXV_DLLPUBLIC #else # ifdef EXV_WANT_VISIBILITY_SUPPORT -# if defined(__GNUC__) && (__GNUC__ >= 4) +# if defined(__GNUC__) && (__GNUC__ >= 4) && !defined(__clang__) # define EXV_IMPORT __attribute__ ((visibility("default"))) # define EXV_EXPORT __attribute__ ((visibility("default"))) # define EXV_DLLLOCAL __attribute__ ((visibility("hidden")))