Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-16 10:09:47

0001 //  boost/system/config.hpp  -----------------------------------------------------------//
0002 
0003 //  Copyright Beman Dawes 2003, 2006
0004 
0005 //  Distributed under the Boost Software License, Version 1.0. (See accompanying
0006 //  file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0007 
0008 //  See http://www.boost.org/libs/system for documentation.
0009 
0010 #ifndef BOOST_SYSTEM_CONFIG_HPP
0011 #define BOOST_SYSTEM_CONFIG_HPP
0012 
0013 #include <boost/config.hpp>
0014 #include <boost/system/api_config.hpp>  // for BOOST_POSIX_API or BOOST_WINDOWS_API
0015 
0016 // This header implemented separate compilation features as described in
0017 // http://www.boost.org/more/separate_compilation.html
0018 //
0019 // It's only retained for compatibility now that the library is header-only.
0020 
0021 //  normalize macros  ------------------------------------------------------------------//
0022 
0023 #if !defined(BOOST_SYSTEM_DYN_LINK) && !defined(BOOST_SYSTEM_STATIC_LINK) \
0024   && !defined(BOOST_ALL_DYN_LINK) && !defined(BOOST_ALL_STATIC_LINK)
0025 # define BOOST_SYSTEM_STATIC_LINK
0026 #endif
0027 
0028 #if defined(BOOST_ALL_DYN_LINK) && !defined(BOOST_SYSTEM_DYN_LINK)
0029 # define BOOST_SYSTEM_DYN_LINK 
0030 #elif defined(BOOST_ALL_STATIC_LINK) && !defined(BOOST_SYSTEM_STATIC_LINK)
0031 # define BOOST_SYSTEM_STATIC_LINK 
0032 #endif
0033 
0034 #if defined(BOOST_SYSTEM_DYN_LINK) && defined(BOOST_SYSTEM_STATIC_LINK)
0035 # error Must not define both BOOST_SYSTEM_DYN_LINK and BOOST_SYSTEM_STATIC_LINK
0036 #endif
0037 
0038 //  enable dynamic or static linking as requested --------------------------------------//
0039 
0040 #if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_SYSTEM_DYN_LINK)
0041 # if defined(BOOST_SYSTEM_SOURCE)
0042 #   define BOOST_SYSTEM_DECL BOOST_SYMBOL_EXPORT
0043 # else 
0044 #   define BOOST_SYSTEM_DECL BOOST_SYMBOL_IMPORT
0045 # endif
0046 #else
0047 # define BOOST_SYSTEM_DECL
0048 #endif
0049 
0050 #endif // BOOST_SYSTEM_CONFIG_HPP