Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:39:21

0001 /*
0002  *          Copyright Andrey Semashev 2007 - 2015.
0003  * Distributed under the Boost Software License, Version 1.0.
0004  *    (See accompanying file LICENSE_1_0.txt or copy at
0005  *          http://www.boost.org/LICENSE_1_0.txt)
0006  */
0007 /*!
0008  * \file   setup_config.hpp
0009  * \author Andrey Semashev
0010  * \date   14.09.2009
0011  *
0012  * \brief  This header is the Boost.Log library implementation, see the library documentation
0013  *         at http://www.boost.org/doc/libs/release/libs/log/doc/html/index.html. In this file
0014  *         internal configuration macros are defined.
0015  */
0016 
0017 #ifndef BOOST_LOG_DETAIL_SETUP_CONFIG_HPP_INCLUDED_
0018 #define BOOST_LOG_DETAIL_SETUP_CONFIG_HPP_INCLUDED_
0019 
0020 #include <boost/log/detail/config.hpp>
0021 
0022 #ifdef BOOST_HAS_PRAGMA_ONCE
0023 #pragma once
0024 #endif
0025 
0026 #if !defined(BOOST_LOG_SETUP_BUILDING_THE_LIB)
0027 
0028 // Detect if we're dealing with dll
0029 #   if defined(BOOST_LOG_SETUP_DYN_LINK) || defined(BOOST_ALL_DYN_LINK)
0030 #        define BOOST_LOG_SETUP_DLL
0031 #   endif
0032 
0033 #   if defined(BOOST_LOG_SETUP_DLL)
0034 #       define BOOST_LOG_SETUP_API BOOST_SYMBOL_IMPORT
0035 #   else
0036 #       define BOOST_LOG_SETUP_API
0037 #   endif
0038 
0039 //
0040 // Automatically link to the correct build variant where possible.
0041 //
0042 #   if !defined(BOOST_ALL_NO_LIB) && !defined(BOOST_LOG_SETUP_NO_LIB)
0043 #       define BOOST_LIB_NAME boost_log_setup
0044 #       if defined(BOOST_LOG_SETUP_DLL)
0045 #           define BOOST_DYN_LINK
0046 #       endif
0047 #       include <boost/config/auto_link.hpp>
0048 #   endif  // auto-linking disabled
0049 
0050 #else // !defined(BOOST_LOG_SETUP_BUILDING_THE_LIB)
0051 
0052 #   if defined(BOOST_LOG_SETUP_DLL)
0053 #       define BOOST_LOG_SETUP_API BOOST_SYMBOL_EXPORT
0054 #   else
0055 #       define BOOST_LOG_SETUP_API BOOST_SYMBOL_VISIBLE
0056 #   endif
0057 
0058 #endif // !defined(BOOST_LOG_SETUP_BUILDING_THE_LIB)
0059 
0060 #endif // BOOST_LOG_DETAIL_SETUP_CONFIG_HPP_INCLUDED_