annotate DEPENDENCIES/generic/include/boost/archive/detail/basic_config.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_BASIC_CONFIG_HPP
Chris@16 2 #define BOOST_ARCHIVE_DETAIL_BASIC_CONFIG_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 // basic_config.hpp ---------------------------------------------//
Chris@16 10
Chris@16 11 // (c) Copyright Robert Ramey 2004
Chris@16 12 // Use, modification, and distribution is subject to the Boost Software
Chris@16 13 // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
Chris@16 14 // http://www.boost.org/LICENSE_1_0.txt)
Chris@16 15
Chris@16 16 // See library home page at http://www.boost.org/libs/serialization
Chris@16 17
Chris@16 18 //----------------------------------------------------------------------------//
Chris@16 19
Chris@16 20 // This header implements separate compilation features as described in
Chris@16 21 // http://www.boost.org/more/separate_compilation.html
Chris@16 22
Chris@16 23 #include <boost/config.hpp>
Chris@16 24
Chris@16 25 #ifdef BOOST_HAS_DECLSPEC // defined in config system
Chris@16 26 // we need to import/export our code only if the user has specifically
Chris@16 27 // asked for it by defining either BOOST_ALL_DYN_LINK if they want all boost
Chris@16 28 // libraries to be dynamically linked, or BOOST_ARCHIVE_DYN_LINK
Chris@16 29 // if they want just this one to be dynamically linked:
Chris@16 30 #if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_ARCHIVE_DYN_LINK)
Chris@16 31 // export if this is our own source, otherwise import:
Chris@16 32 #ifdef BOOST_ARCHIVE_SOURCE
Chris@16 33 # define BOOST_ARCHIVE_DECL __declspec(dllexport)
Chris@16 34 #else
Chris@16 35 # define BOOST_ARCHIVE_DECL __declspec(dllimport)
Chris@16 36 #endif // BOOST_ARCHIVE_SOURCE
Chris@16 37 #endif // DYN_LINK
Chris@16 38 #endif // BOOST_HAS_DECLSPEC
Chris@16 39 //
Chris@16 40 // if BOOST_ARCHIVE_DECL isn't defined yet define it now:
Chris@16 41 #ifndef BOOST_ARCHIVE_DECL
Chris@16 42 #define BOOST_ARCHIVE_DECL
Chris@16 43 #endif
Chris@16 44
Chris@16 45 #endif // BOOST_ARCHIVE_DETAIL_BASIC_CONFIG_HPP