Don't use __attribute__((__visibility__("default"))) for clang on windows as it isn't supported.

Fixes https://github.com/boostorg/config/issues/226.
This commit is contained in:
jzmaddock
2018-08-03 18:21:18 +01:00
parent cd5c825039
commit d265f48d7b

View File

@ -104,9 +104,9 @@
# define BOOST_SYMBOL_IMPORT __attribute__((__dllimport__))
#else
# define BOOST_SYMBOL_EXPORT __attribute__((__visibility__("default")))
# define BOOST_SYMBOL_VISIBLE __attribute__((__visibility__("default")))
# define BOOST_SYMBOL_IMPORT
#endif
#define BOOST_SYMBOL_VISIBLE __attribute__((__visibility__("default")))
//
// The BOOST_FALLTHROUGH macro can be used to annotate implicit fall-through