Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
1 #ifndef BOOST_ARCHIVE_DETAIL_DECL_HPP
2 #define BOOST_ARCHIVE_DETAIL_DECL_HPP
4 // MS compatible compilers support #pragma once
5 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
9 /////////1/////////2///////// 3/////////4/////////5/////////6/////////7/////////8
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)
17 // See library home page at http://www.boost.org/libs/serialization
19 //----------------------------------------------------------------------------//
21 // This header implements separate compilation features as described in
22 // http://www.boost.org/more/separate_compilation.html
24 #include <boost/config.hpp>
25 #include <boost/preprocessor/facilities/empty.hpp>
27 #if defined(BOOST_HAS_DECLSPEC)
28 #if (defined(BOOST_ALL_DYN_LINK) || defined(BOOST_SERIALIZATION_DYN_LINK))
29 #if defined(BOOST_ARCHIVE_SOURCE)
30 #if defined(__BORLANDC__)
31 #define BOOST_ARCHIVE_DECL(T) T __export
32 #define BOOST_ARCHIVE_OR_WARCHIVE_DECL(T) T __export
34 #define BOOST_ARCHIVE_DECL(T) __declspec(dllexport) T
35 #define BOOST_ARCHIVE_OR_WARCHIVE_DECL(T) __declspec(dllexport) T
38 #if defined(__BORLANDC__)
39 #define BOOST_ARCHIVE_DECL(T) T __import
41 #define BOOST_ARCHIVE_DECL(T) __declspec(dllimport) T
44 #if defined(BOOST_WARCHIVE_SOURCE)
45 #if defined(__BORLANDC__)
46 #define BOOST_WARCHIVE_DECL(T) T __export
47 #define BOOST_ARCHIVE_OR_WARCHIVE_DECL(T) T __export
49 #define BOOST_WARCHIVE_DECL(T) __declspec(dllexport) T
50 #define BOOST_ARCHIVE_OR_WARCHIVE_DECL(T) __declspec(dllexport) T
53 #if defined(__BORLANDC__)
54 #define BOOST_WARCHIVE_DECL(T) T __import
56 #define BOOST_WARCHIVE_DECL(T) __declspec(dllimport) T
59 #if !defined(BOOST_WARCHIVE_SOURCE) && !defined(BOOST_ARCHIVE_SOURCE)
60 #if defined(__BORLANDC__)
61 #define BOOST_ARCHIVE_OR_WARCHIVE_DECL(T) T __import
63 #define BOOST_ARCHIVE_OR_WARCHIVE_DECL(T) __declspec(dllimport) T
67 #endif // BOOST_HAS_DECLSPEC
69 #if ! defined(BOOST_ARCHIVE_DECL)
70 #define BOOST_ARCHIVE_DECL(T) T
72 #if ! defined(BOOST_WARCHIVE_DECL)
73 #define BOOST_WARCHIVE_DECL(T) T
75 #if ! defined(BOOST_ARCHIVE_OR_WARCHIVE_DECL)
76 #define BOOST_ARCHIVE_OR_WARCHIVE_DECL(T) T
79 #endif // BOOST_ARCHIVE_DETAIL_DECL_HPP