Fix: Issue: #859. Don't set visibility for clang compiler.

v0.27.3
Robin Mills 13 years ago
parent e56fbdb12d
commit 4153f38eec

@ -212,7 +212,7 @@
# define EXV_DLLPUBLIC # define EXV_DLLPUBLIC
#else #else
# ifdef EXV_WANT_VISIBILITY_SUPPORT # 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_IMPORT __attribute__ ((visibility("default")))
# define EXV_EXPORT __attribute__ ((visibility("default"))) # define EXV_EXPORT __attribute__ ((visibility("default")))
# define EXV_DLLLOCAL __attribute__ ((visibility("hidden"))) # define EXV_DLLLOCAL __attribute__ ((visibility("hidden")))

Loading…
Cancel
Save