forked from boostorg/config
Add symbol visibility support to Intel and Sun compilers.
[SVN r62199]
This commit is contained in:
@@ -171,6 +171,15 @@ template<> struct assert_intrinsic_wchar_t<unsigned short> {};
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
//
|
||||||
|
// Dynamic shared object (DSO) and dynamic-link library (DLL) support
|
||||||
|
//
|
||||||
|
#if defined(__GNUC__) && (__GNUC__ >= 4)
|
||||||
|
# define BOOST_SYMBOL_EXPORT __attribute__((visibility("default")))
|
||||||
|
# define BOOST_SYMBOL_IMPORT
|
||||||
|
# define BOOST_SYMBOL_VISIBLE __attribute__((visibility("default")))
|
||||||
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
// last known and checked version:
|
// last known and checked version:
|
||||||
#if (BOOST_INTEL_CXX_VERSION > 1110)
|
#if (BOOST_INTEL_CXX_VERSION > 1110)
|
||||||
|
@@ -77,6 +77,15 @@
|
|||||||
# define BOOST_NO_COMPLETE_VALUE_INITIALIZATION
|
# define BOOST_NO_COMPLETE_VALUE_INITIALIZATION
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
|
//
|
||||||
|
// Dynamic shared object (DSO) and dynamic-link library (DLL) support
|
||||||
|
//
|
||||||
|
#if __SUNPRO_CC > 0x500
|
||||||
|
# define BOOST_SYMBOL_EXPORT __global
|
||||||
|
# define BOOST_SYMBOL_IMPORT __global
|
||||||
|
# define BOOST_SYMBOL_VISIBLE __global
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
|
Reference in New Issue
Block a user