sl@0: #ifndef BOOST_ARCHIVE_DETAIL_DECL_HPP
sl@0: #define BOOST_ARCHIVE_DETAIL_DECL_HPP 
sl@0: 
sl@0: // MS compatible compilers support #pragma once
sl@0: #if defined(_MSC_VER) && (_MSC_VER >= 1020)
sl@0: # pragma once
sl@0: #endif 
sl@0: 
sl@0: /////////1/////////2///////// 3/////////4/////////5/////////6/////////7/////////8
sl@0: //  decl.hpp
sl@0: //
sl@0: //  © Copyright Robert Ramey 2004
sl@0: //  Use, modification, and distribution is subject to the Boost Software
sl@0: //  License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
sl@0: //  http://www.boost.org/LICENSE_1_0.txt)
sl@0: 
sl@0: //  See library home page at http://www.boost.org/libs/serialization
sl@0: 
sl@0: //----------------------------------------------------------------------------// 
sl@0: 
sl@0: // This header implements separate compilation features as described in
sl@0: // http://www.boost.org/more/separate_compilation.html
sl@0: 
sl@0: #include <boost/config.hpp>
sl@0: #include <boost/preprocessor/facilities/empty.hpp>
sl@0: 
sl@0: #if defined(BOOST_HAS_DECLSPEC)
sl@0:     #if (defined(BOOST_ALL_DYN_LINK) || defined(BOOST_SERIALIZATION_DYN_LINK))
sl@0:         #if defined(BOOST_ARCHIVE_SOURCE)
sl@0:             #if defined(__BORLANDC__)
sl@0:             #define BOOST_ARCHIVE_DECL(T) T __export
sl@0:             #define BOOST_ARCHIVE_OR_WARCHIVE_DECL(T)  T __export
sl@0:             #else
sl@0:             #define BOOST_ARCHIVE_DECL(T) __declspec(dllexport) T
sl@0:             #define BOOST_ARCHIVE_OR_WARCHIVE_DECL(T)  __declspec(dllexport) T
sl@0:             #endif
sl@0:         #else
sl@0:             #if defined(__BORLANDC__)
sl@0:             #define BOOST_ARCHIVE_DECL(T) T __import
sl@0:             #else
sl@0:             #define BOOST_ARCHIVE_DECL(T) __declspec(dllimport) T
sl@0:             #endif
sl@0:         #endif
sl@0:         #if defined(BOOST_WARCHIVE_SOURCE)
sl@0:             #if defined(__BORLANDC__)
sl@0:             #define BOOST_WARCHIVE_DECL(T) T __export
sl@0:             #define BOOST_ARCHIVE_OR_WARCHIVE_DECL(T) T __export
sl@0:             #else
sl@0:             #define BOOST_WARCHIVE_DECL(T) __declspec(dllexport) T
sl@0:             #define BOOST_ARCHIVE_OR_WARCHIVE_DECL(T) __declspec(dllexport) T
sl@0:             #endif
sl@0:         #else
sl@0:             #if defined(__BORLANDC__)
sl@0:             #define BOOST_WARCHIVE_DECL(T) T __import
sl@0:             #else
sl@0:             #define BOOST_WARCHIVE_DECL(T) __declspec(dllimport) T
sl@0:             #endif
sl@0:         #endif
sl@0:         #if !defined(BOOST_WARCHIVE_SOURCE) && !defined(BOOST_ARCHIVE_SOURCE)
sl@0:             #if defined(__BORLANDC__)
sl@0:             #define BOOST_ARCHIVE_OR_WARCHIVE_DECL(T) T __import
sl@0:             #else
sl@0:             #define BOOST_ARCHIVE_OR_WARCHIVE_DECL(T) __declspec(dllimport) T
sl@0:             #endif
sl@0:         #endif
sl@0:     #endif
sl@0: #endif // BOOST_HAS_DECLSPEC
sl@0: 
sl@0: #if ! defined(BOOST_ARCHIVE_DECL)
sl@0:     #define BOOST_ARCHIVE_DECL(T) T
sl@0: #endif
sl@0: #if ! defined(BOOST_WARCHIVE_DECL)
sl@0:     #define BOOST_WARCHIVE_DECL(T) T
sl@0: #endif
sl@0: #if ! defined(BOOST_ARCHIVE_OR_WARCHIVE_DECL)
sl@0:     #define BOOST_ARCHIVE_OR_WARCHIVE_DECL(T) T
sl@0: #endif
sl@0: 
sl@0: #endif // BOOST_ARCHIVE_DETAIL_DECL_HPP