annotate DEPENDENCIES/generic/include/boost/atomic/detail/link.hpp @ 16:2665513ce2d3

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