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