1 #ifndef BOOST_ARCHIVE_DETAIL_AUTO_LINK_ARCHIVE_HPP
2 #define BOOST_ARCHIVE_DETAIL_AUTO_LINK_ARCHIVE_HPP
3 
4 // MS compatible compilers support #pragma once
5 #if defined(_MSC_VER)
6 # pragma once
7 #endif
8 
9 /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
10 //  auto_link_archive.hpp
11 //
12 //  (c) Copyright Robert Ramey 2004
13 //  Use, modification, and distribution is subject to the Boost Software
14 //  License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
15 //  http://www.boost.org/LICENSE_1_0.txt)
16 
17 //  See library home page at http://www.boost.org/libs/serialization
18 
19 //----------------------------------------------------------------------------//
20 
21 // This header implements separate compilation features as described in
22 // http://www.boost.org/more/separate_compilation.html
23 
24 //  enable automatic library variant selection  ------------------------------//
25 
26 #include <boost/archive/detail/decl.hpp>
27 
28 #if !defined(BOOST_ALL_NO_LIB) && !defined(BOOST_SERIALIZATION_NO_LIB) \
29 &&  !defined(BOOST_ARCHIVE_SOURCE) && !defined(BOOST_WARCHIVE_SOURCE)  \
30 &&  !defined(BOOST_SERIALIZATION_SOURCE)
31 
32     // Set the name of our library, this will get undef'ed by auto_link.hpp
33     // once it's done with it:
34     //
35     #define BOOST_LIB_NAME boost_serialization
36     //
37     // If we're importing code from a dll, then tell auto_link.hpp about it:
38     //
39     #if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_SERIALIZATION_DYN_LINK)
40     #  define BOOST_DYN_LINK
41     #endif
42     //
43     // And include the header that does the work:
44     //
45     #include <boost/config/auto_link.hpp>
46 #endif  // auto-linking disabled
47 
48 #endif // BOOST_ARCHIVE_DETAIL_AUTO_LINK_ARCHIVE_HPP
49