forked from boostorg/config
@ -136,13 +136,13 @@
|
|||||||
// _WIN32 or one of its variant spellings. Note that Cygwin is a POSIX environment,
|
// _WIN32 or one of its variant spellings. Note that Cygwin is a POSIX environment,
|
||||||
// so does not define _WIN32 or its variants.
|
// so does not define _WIN32 or its variants.
|
||||||
# define BOOST_HAS_DECLSPEC
|
# define BOOST_HAS_DECLSPEC
|
||||||
# define BOOST_SYMBOL_EXPORT __attribute__((dllexport))
|
# define BOOST_SYMBOL_EXPORT __attribute__((__dllexport__))
|
||||||
# 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_IMPORT
|
# define BOOST_SYMBOL_IMPORT
|
||||||
# endif
|
# endif
|
||||||
# define BOOST_SYMBOL_VISIBLE __attribute__((visibility("default")))
|
# define BOOST_SYMBOL_VISIBLE __attribute__((__visibility__("default")))
|
||||||
#else
|
#else
|
||||||
// config/platform/win32.hpp will define BOOST_SYMBOL_EXPORT, etc., unless already defined
|
// config/platform/win32.hpp will define BOOST_SYMBOL_EXPORT, etc., unless already defined
|
||||||
# define BOOST_SYMBOL_EXPORT
|
# define BOOST_SYMBOL_EXPORT
|
||||||
|
Reference in New Issue
Block a user