Mercurial > hg > vamp-build-and-test
view DEPENDENCIES/generic/include/boost/archive/detail/basic_config.hpp @ 79:71000cf7f414
Dependencies for mingw64
author | Chris Cannam |
---|---|
date | Thu, 30 Oct 2014 17:39:24 +0000 |
parents | 2665513ce2d3 |
children | c530137014c0 |
line wrap: on
line source
#ifndef BOOST_ARCHIVE_DETAIL_BASIC_CONFIG_HPP #define BOOST_ARCHIVE_DETAIL_BASIC_CONFIG_HPP // MS compatible compilers support #pragma once #if defined(_MSC_VER) && (_MSC_VER >= 1020) # pragma once #endif // basic_config.hpp ---------------------------------------------// // (c) Copyright Robert Ramey 2004 // Use, modification, and distribution is subject to the Boost Software // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // See library home page at http://www.boost.org/libs/serialization //----------------------------------------------------------------------------// // This header implements separate compilation features as described in // http://www.boost.org/more/separate_compilation.html #include <boost/config.hpp> #ifdef BOOST_HAS_DECLSPEC // defined in config system // we need to import/export our code only if the user has specifically // asked for it by defining either BOOST_ALL_DYN_LINK if they want all boost // libraries to be dynamically linked, or BOOST_ARCHIVE_DYN_LINK // if they want just this one to be dynamically linked: #if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_ARCHIVE_DYN_LINK) // export if this is our own source, otherwise import: #ifdef BOOST_ARCHIVE_SOURCE # define BOOST_ARCHIVE_DECL __declspec(dllexport) #else # define BOOST_ARCHIVE_DECL __declspec(dllimport) #endif // BOOST_ARCHIVE_SOURCE #endif // DYN_LINK #endif // BOOST_HAS_DECLSPEC // // if BOOST_ARCHIVE_DECL isn't defined yet define it now: #ifndef BOOST_ARCHIVE_DECL #define BOOST_ARCHIVE_DECL #endif #endif // BOOST_ARCHIVE_DETAIL_BASIC_CONFIG_HPP