File indexing completed on 2025-01-18 09:30:26
0001
0002 #ifndef BOOST_CONTRACT_DETAIL_DECLSPEC_HPP_
0003 #define BOOST_CONTRACT_DETAIL_DECLSPEC_HPP_
0004
0005
0006
0007
0008
0009
0010
0011 #include <boost/contract/core/config.hpp> // No compile-time overhead.
0012 #include <boost/config.hpp>
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023 #ifdef BOOST_CONTRACT_DYN_LINK
0024 #ifdef BOOST_CONTRACT_SOURCE
0025 #define BOOST_CONTRACT_DETAIL_DECLSPEC BOOST_SYMBOL_EXPORT
0026 #else
0027 #define BOOST_CONTRACT_DETAIL_DECLSPEC BOOST_SYMBOL_IMPORT
0028 #endif
0029 #else
0030 #define BOOST_CONTRACT_DETAIL_DECLSPEC
0031 #endif
0032
0033 #ifdef BOOST_CONTRACT_HEADER_ONLY
0034 #define BOOST_CONTRACT_DETAIL_DECLINLINE inline
0035 #else
0036 #define BOOST_CONTRACT_DETAIL_DECLINLINE
0037
0038
0039 #if !defined(BOOST_ALL_NO_LIB) && \
0040 !defined(BOOST_CONTRACT_NO_LIB) && \
0041 !defined(BOOST_CONTRACT_SOURCE)
0042 #define BOOST_LIB_NAME boost_contract
0043 #if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_CONTRACT_DYN_LINK)
0044 #define BOOST_DYN_LINK
0045 #endif
0046 #include <boost/config/auto_link.hpp> // Also #undef BOOST_LIB_NAME.
0047 #endif
0048 #endif
0049
0050 #endif
0051