1 | #ifndef BOOST_ARCHIVE_DETAIL_AUTO_LINK_WARCHIVE_HPP |
---|
2 | #define BOOST_ARCHIVE_DETAIL_AUTO_LINK_WARCHIVE_HPP |
---|
3 | |
---|
4 | // MS compatible compilers support #pragma once |
---|
5 | #if defined(_MSC_VER) && (_MSC_VER >= 1020) |
---|
6 | # pragma once |
---|
7 | #endif |
---|
8 | |
---|
9 | /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8 |
---|
10 | // auto_link_warchive.hpp |
---|
11 | // |
---|
12 | // © 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_WARCHIVE_SOURCE) \ |
---|
29 | && !defined(BOOST_ALL_NO_LIB) && !defined(BOOST_SERIALIZATION_NO_LIB) |
---|
30 | |
---|
31 | // Set the name of our library, this will get undef'ed by auto_link.hpp |
---|
32 | // once it's done with it: |
---|
33 | // |
---|
34 | #define BOOST_LIB_NAME boost_wserialization |
---|
35 | // |
---|
36 | // If we're importing code from a dll, then tell auto_link.hpp about it: |
---|
37 | // |
---|
38 | #if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_SERIALIZATION_DYN_LINK) |
---|
39 | # define BOOST_DYN_LINK |
---|
40 | #endif |
---|
41 | // |
---|
42 | // And include the header that does the work: |
---|
43 | // |
---|
44 | #include <boost/config/auto_link.hpp> |
---|
45 | #endif // auto-linking disabled |
---|
46 | |
---|
47 | #endif // ARCHIVE_DETAIL_AUTO_LINK_ARCHIVE_HPP |
---|