mirror of
https://github.com/boostorg/log.git
synced 2026-02-02 21:02:19 +00:00
Use BOOST_MAY_ALIAS from Boost.Config.
This commit is contained in:
@@ -204,18 +204,14 @@
|
||||
# define BOOST_LOG_NORETURN
|
||||
#endif
|
||||
|
||||
// GCC and compatible compilers may require marking types that may alias other types
|
||||
#if defined(__GNUC__)
|
||||
# define BOOST_LOG_MAY_ALIAS __attribute__ ((__may_alias__))
|
||||
#else
|
||||
# define BOOST_LOG_MAY_ALIAS
|
||||
#endif
|
||||
// Some compilers may require marking types that may alias other types
|
||||
#define BOOST_LOG_MAY_ALIAS BOOST_MAY_ALIAS
|
||||
|
||||
#if !defined(BOOST_LOG_BUILDING_THE_LIB)
|
||||
|
||||
// Detect if we're dealing with dll
|
||||
# if defined(BOOST_LOG_DYN_LINK) || defined(BOOST_ALL_DYN_LINK)
|
||||
# define BOOST_LOG_DLL
|
||||
# define BOOST_LOG_DLL
|
||||
# endif
|
||||
|
||||
# if defined(BOOST_LOG_DLL)
|
||||
|
||||
Reference in New Issue
Block a user