annotate DEPENDENCIES/generic/include/boost/atomic/detail/link.hpp @ 125:34e428693f5d vext

Vext -> Repoint
author Chris Cannam
date Thu, 14 Jun 2018 11:15:39 +0100
parents c530137014c0
children
rev   line source
Chris@101 1 /*
Chris@101 2 * Distributed under the Boost Software License, Version 1.0.
Chris@101 3 * (See accompanying file LICENSE_1_0.txt or copy at
Chris@101 4 * http://www.boost.org/LICENSE_1_0.txt)
Chris@101 5 *
Chris@101 6 * Copyright (c) 2012 Hartmut Kaiser
Chris@101 7 * Copyright (c) 2014 Andrey Semashev
Chris@101 8 */
Chris@101 9 /*!
Chris@101 10 * \file atomic/detail/config.hpp
Chris@101 11 *
Chris@101 12 * This header defines macros for linking with compiled library of Boost.Atomic
Chris@101 13 */
Chris@16 14
Chris@101 15 #ifndef BOOST_ATOMIC_DETAIL_LINK_HPP_INCLUDED_
Chris@101 16 #define BOOST_ATOMIC_DETAIL_LINK_HPP_INCLUDED_
Chris@16 17
Chris@16 18 #include <boost/atomic/detail/config.hpp>
Chris@16 19
Chris@16 20 #ifdef BOOST_HAS_PRAGMA_ONCE
Chris@16 21 #pragma once
Chris@16 22 #endif
Chris@16 23
Chris@16 24 ///////////////////////////////////////////////////////////////////////////////
Chris@16 25 // Set up dll import/export options
Chris@16 26 #if (defined(BOOST_ATOMIC_DYN_LINK) || defined(BOOST_ALL_DYN_LINK)) && \
Chris@16 27 !defined(BOOST_ATOMIC_STATIC_LINK)
Chris@16 28
Chris@16 29 #if defined(BOOST_ATOMIC_SOURCE)
Chris@16 30 #define BOOST_ATOMIC_DECL BOOST_SYMBOL_EXPORT
Chris@16 31 #define BOOST_ATOMIC_BUILD_DLL
Chris@16 32 #else
Chris@16 33 #define BOOST_ATOMIC_DECL BOOST_SYMBOL_IMPORT
Chris@16 34 #endif
Chris@16 35
Chris@16 36 #endif // building a shared library
Chris@16 37
Chris@16 38 #ifndef BOOST_ATOMIC_DECL
Chris@16 39 #define BOOST_ATOMIC_DECL
Chris@16 40 #endif
Chris@16 41
Chris@16 42 ///////////////////////////////////////////////////////////////////////////////
Chris@16 43 // Auto library naming
Chris@16 44 #if !defined(BOOST_ATOMIC_SOURCE) && !defined(BOOST_ALL_NO_LIB) && \
Chris@16 45 !defined(BOOST_ATOMIC_NO_LIB)
Chris@16 46
Chris@16 47 #define BOOST_LIB_NAME boost_atomic
Chris@16 48
Chris@16 49 // tell the auto-link code to select a dll when required:
Chris@16 50 #if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_ATOMIC_DYN_LINK)
Chris@16 51 #define BOOST_DYN_LINK
Chris@16 52 #endif
Chris@16 53
Chris@16 54 #include <boost/config/auto_link.hpp>
Chris@16 55
Chris@16 56 #endif // auto-linking disabled
Chris@16 57
Chris@16 58 #endif