]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/archive/detail/decl.hpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / boost / archive / detail / decl.hpp
1 #ifndef BOOST_ARCHIVE_DETAIL_DECL_HPP
2 #define BOOST_ARCHIVE_DETAIL_DECL_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 // decl.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 #include <boost/config.hpp>
25
26 #if (defined(BOOST_ALL_DYN_LINK) || defined(BOOST_SERIALIZATION_DYN_LINK))
27 #if defined(BOOST_ARCHIVE_SOURCE)
28 #define BOOST_ARCHIVE_DECL BOOST_SYMBOL_EXPORT
29 #else
30 #define BOOST_ARCHIVE_DECL BOOST_SYMBOL_IMPORT
31 #endif
32
33 #if defined(BOOST_WARCHIVE_SOURCE)
34 #define BOOST_WARCHIVE_DECL BOOST_SYMBOL_EXPORT
35 #else
36 #define BOOST_WARCHIVE_DECL BOOST_SYMBOL_IMPORT
37 #endif
38
39 #if defined(BOOST_WARCHIVE_SOURCE) || defined(BOOST_ARCHIVE_SOURCE)
40 #define BOOST_ARCHIVE_OR_WARCHIVE_DECL BOOST_SYMBOL_EXPORT
41 #else
42 #define BOOST_ARCHIVE_OR_WARCHIVE_DECL BOOST_SYMBOL_IMPORT
43 #endif
44
45 #endif
46
47 #if ! defined(BOOST_ARCHIVE_DECL)
48 #define BOOST_ARCHIVE_DECL
49 #endif
50 #if ! defined(BOOST_WARCHIVE_DECL)
51 #define BOOST_WARCHIVE_DECL
52 #endif
53 #if ! defined(BOOST_ARCHIVE_OR_WARCHIVE_DECL)
54 #define BOOST_ARCHIVE_OR_WARCHIVE_DECL
55 #endif
56
57 #endif // BOOST_ARCHIVE_DETAIL_DECL_HPP