Chris@102
|
1 //////////////////////////////////////////////////////////////////////////////
|
Chris@102
|
2 //
|
Chris@102
|
3 // (C) Copyright Ion Gaztanaga 2007-2013. Distributed under the Boost
|
Chris@102
|
4 // Software License, Version 1.0. (See accompanying file
|
Chris@102
|
5 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
Chris@102
|
6 //
|
Chris@102
|
7 // See http://www.boost.org/libs/container for documentation.
|
Chris@102
|
8 //
|
Chris@102
|
9 //////////////////////////////////////////////////////////////////////////////
|
Chris@102
|
10 #ifndef BOOST_CONTAINER_DETAIL_AUTO_LINK_HPP_INCLUDED
|
Chris@102
|
11 #define BOOST_CONTAINER_DETAIL_AUTO_LINK_HPP_INCLUDED
|
Chris@102
|
12
|
Chris@102
|
13 #ifndef BOOST_CONFIG_HPP
|
Chris@102
|
14 # include <boost/config.hpp>
|
Chris@102
|
15 #endif
|
Chris@102
|
16
|
Chris@102
|
17 #if defined(BOOST_HAS_PRAGMA_ONCE)
|
Chris@102
|
18 # pragma once
|
Chris@102
|
19 #endif
|
Chris@102
|
20
|
Chris@102
|
21 //
|
Chris@102
|
22 // Automatically link to the correct build variant where possible.
|
Chris@102
|
23 //
|
Chris@102
|
24 #if !defined(BOOST_ALL_NO_LIB) && !defined(BOOST_CONTAINER_NO_LIB) && !defined(BOOST_CONTAINER_SOURCE)
|
Chris@102
|
25 //
|
Chris@102
|
26 // Set the name of our library, this will get undef'ed by auto_link.hpp
|
Chris@102
|
27 // once it's done with it:
|
Chris@102
|
28 //
|
Chris@102
|
29 #define BOOST_LIB_NAME boost_container
|
Chris@102
|
30 //
|
Chris@102
|
31 // If we're importing code from a dll, then tell auto_link.hpp about it:
|
Chris@102
|
32 //
|
Chris@102
|
33 #if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_CONTAINER_DYN_LINK)
|
Chris@102
|
34 # define BOOST_DYN_LINK
|
Chris@102
|
35 #endif
|
Chris@102
|
36 //
|
Chris@102
|
37 // And include the header that does the work:
|
Chris@102
|
38 //
|
Chris@102
|
39 #include <boost/config/auto_link.hpp>
|
Chris@102
|
40 #endif // auto-linking disabled
|
Chris@102
|
41
|
Chris@102
|
42 #endif //#ifndef BOOST_CONTAINER_DETAIL_AUTO_LINK_HPP_INCLUDED
|