forked from boostorg/config
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:
@@ -104,9 +104,9 @@
|
|||||||
# define BOOST_SYMBOL_IMPORT __attribute__((__dllimport__))
|
# define BOOST_SYMBOL_IMPORT __attribute__((__dllimport__))
|
||||||
#else
|
#else
|
||||||
# define BOOST_SYMBOL_EXPORT __attribute__((__visibility__("default")))
|
# define BOOST_SYMBOL_EXPORT __attribute__((__visibility__("default")))
|
||||||
|
# define BOOST_SYMBOL_VISIBLE __attribute__((__visibility__("default")))
|
||||||
# define BOOST_SYMBOL_IMPORT
|
# define BOOST_SYMBOL_IMPORT
|
||||||
#endif
|
#endif
|
||||||
#define BOOST_SYMBOL_VISIBLE __attribute__((__visibility__("default")))
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// The BOOST_FALLTHROUGH macro can be used to annotate implicit fall-through
|
// The BOOST_FALLTHROUGH macro can be used to annotate implicit fall-through
|
||||||
|
Reference in New Issue
Block a user