|
||||
File indexing completed on 2025-01-18 09:30:09
0001 ////////////////////////////////////////////////////////////////////////////// 0002 // 0003 // (C) Copyright Ion Gaztanaga 2007-2013. Distributed under the Boost 0004 // Software License, Version 1.0. (See accompanying file 0005 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 0006 // 0007 // See http://www.boost.org/libs/container for documentation. 0008 // 0009 ////////////////////////////////////////////////////////////////////////////// 0010 #ifndef BOOST_CONTAINER_DETAIL_AUTO_LINK_HPP_INCLUDED 0011 #define BOOST_CONTAINER_DETAIL_AUTO_LINK_HPP_INCLUDED 0012 0013 #ifndef BOOST_CONFIG_HPP 0014 # include <boost/config.hpp> 0015 #endif 0016 0017 #if defined(BOOST_HAS_PRAGMA_ONCE) 0018 # pragma once 0019 #endif 0020 0021 //Define BOOST_CONTAINER_DYNAMIC_LINKING which is independent from BOOST_*_NO_LIB 0022 //and is needed is some tests that need to disable some checks (like operator new replacements) 0023 //that don't work across DLL boundaries 0024 #if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_CONTAINER_DYN_LINK) 0025 # define BOOST_CONTAINER_DYNAMIC_LINKING 0026 #endif 0027 0028 // 0029 // Automatically link to the correct build variant where possible. 0030 // 0031 #if !defined(BOOST_ALL_NO_LIB) && !defined(BOOST_CONTAINER_NO_LIB) && !defined(BOOST_CONTAINER_SOURCE) 0032 // 0033 // Set the name of our library, this will get undef'ed by auto_link.hpp 0034 // once it's done with it: 0035 // 0036 #define BOOST_LIB_NAME boost_container 0037 0038 // 0039 // If we're importing code from a dll, then tell auto_link.hpp about it: 0040 // 0041 #if defined(BOOST_CONTAINER_DYNAMIC_LINKING) 0042 # define BOOST_DYN_LINK 0043 #endif 0044 0045 // 0046 // And include the header that does the work: 0047 // 0048 #include <boost/config/auto_link.hpp> 0049 #endif // auto-linking disabled 0050 0051 #endif //#ifndef BOOST_CONTAINER_DETAIL_AUTO_LINK_HPP_INCLUDED
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |