annotate DEPENDENCIES/generic/include/boost/archive/detail/decl.hpp @ 133:4acb5d8d80b6 tip

Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author Chris Cannam
date Tue, 30 Jul 2019 12:25:44 +0100
parents c530137014c0
children
rev   line source
Chris@16 1 #ifndef BOOST_ARCHIVE_DETAIL_DECL_HPP
Chris@16 2 #define BOOST_ARCHIVE_DETAIL_DECL_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 // decl.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 #include <boost/config.hpp>
Chris@16 25 #include <boost/preprocessor/facilities/empty.hpp>
Chris@16 26
Chris@16 27 #if defined(BOOST_HAS_DECLSPEC)
Chris@16 28 #if (defined(BOOST_ALL_DYN_LINK) || defined(BOOST_SERIALIZATION_DYN_LINK))
Chris@16 29 #if defined(BOOST_ARCHIVE_SOURCE)
Chris@16 30 #if defined(__BORLANDC__)
Chris@16 31 #define BOOST_ARCHIVE_DECL(T) T __export
Chris@16 32 #define BOOST_ARCHIVE_OR_WARCHIVE_DECL(T) T __export
Chris@16 33 #else
Chris@16 34 #define BOOST_ARCHIVE_DECL(T) __declspec(dllexport) T
Chris@16 35 #define BOOST_ARCHIVE_OR_WARCHIVE_DECL(T) __declspec(dllexport) T
Chris@16 36 #endif
Chris@16 37 #else
Chris@16 38 #if defined(__BORLANDC__)
Chris@16 39 #define BOOST_ARCHIVE_DECL(T) T __import
Chris@16 40 #else
Chris@16 41 #define BOOST_ARCHIVE_DECL(T) __declspec(dllimport) T
Chris@16 42 #endif
Chris@16 43 #endif
Chris@16 44 #if defined(BOOST_WARCHIVE_SOURCE)
Chris@16 45 #if defined(__BORLANDC__)
Chris@16 46 #define BOOST_WARCHIVE_DECL(T) T __export
Chris@16 47 #define BOOST_ARCHIVE_OR_WARCHIVE_DECL(T) T __export
Chris@16 48 #else
Chris@16 49 #define BOOST_WARCHIVE_DECL(T) __declspec(dllexport) T
Chris@16 50 #define BOOST_ARCHIVE_OR_WARCHIVE_DECL(T) __declspec(dllexport) T
Chris@16 51 #endif
Chris@16 52 #else
Chris@16 53 #if defined(__BORLANDC__)
Chris@16 54 #define BOOST_WARCHIVE_DECL(T) T __import
Chris@16 55 #else
Chris@16 56 #define BOOST_WARCHIVE_DECL(T) __declspec(dllimport) T
Chris@16 57 #endif
Chris@16 58 #endif
Chris@16 59 #if !defined(BOOST_WARCHIVE_SOURCE) && !defined(BOOST_ARCHIVE_SOURCE)
Chris@16 60 #if defined(__BORLANDC__)
Chris@16 61 #define BOOST_ARCHIVE_OR_WARCHIVE_DECL(T) T __import
Chris@16 62 #else
Chris@16 63 #define BOOST_ARCHIVE_OR_WARCHIVE_DECL(T) __declspec(dllimport) T
Chris@16 64 #endif
Chris@16 65 #endif
Chris@16 66 #endif
Chris@16 67 #endif // BOOST_HAS_DECLSPEC
Chris@16 68
Chris@16 69 #if ! defined(BOOST_ARCHIVE_DECL)
Chris@16 70 #define BOOST_ARCHIVE_DECL(T) T
Chris@16 71 #endif
Chris@16 72 #if ! defined(BOOST_WARCHIVE_DECL)
Chris@16 73 #define BOOST_WARCHIVE_DECL(T) T
Chris@16 74 #endif
Chris@16 75 #if ! defined(BOOST_ARCHIVE_OR_WARCHIVE_DECL)
Chris@16 76 #define BOOST_ARCHIVE_OR_WARCHIVE_DECL(T) T
Chris@16 77 #endif
Chris@16 78
Chris@16 79 #endif // BOOST_ARCHIVE_DETAIL_DECL_HPP