]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/timer/config.hpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / boost / timer / config.hpp
1 // boost/timer/config.hpp -----------------------------------------------------------//
2
3 // Copyright Beman Dawes 2003, 2006, 2011
4
5 // Distributed under the Boost Software License, Version 1.0.
6 // See http://www.boost.org/LICENSE_1_0.txt
7
8 // See http://www.boost.org/libs/timer for documentation.
9
10 #ifndef BOOST_TIMER_CONFIG_HPP
11 #define BOOST_TIMER_CONFIG_HPP
12
13 #include <boost/config.hpp>
14
15 #include <boost/system/api_config.hpp>
16
17 // This header implements separate compilation features as described in
18 // http://www.boost.org/more/separate_compilation.html
19
20 // enable dynamic or static linking as requested --------------------------------------//
21
22 #if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_TIMER_DYN_LINK)
23 # if defined(BOOST_TIMER_SOURCE)
24 # define BOOST_TIMER_DECL BOOST_SYMBOL_EXPORT
25 # else
26 # define BOOST_TIMER_DECL BOOST_SYMBOL_IMPORT
27 # endif
28 #else
29 # define BOOST_TIMER_DECL
30 #endif
31
32 // enable automatic library variant selection ----------------------------------------//
33
34 #if !defined(BOOST_TIMER_SOURCE) && !defined(BOOST_ALL_NO_LIB) && !defined(BOOST_TIMER_NO_LIB)
35 //
36 // Set the name of our library, this will get undef'ed by auto_link.hpp
37 // once it's done with it:
38 //
39 #define BOOST_LIB_NAME boost_timer
40 //
41 // If we're importing code from a dll, then tell auto_link.hpp about it:
42 //
43 #if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_TIMER_DYN_LINK)
44 # define BOOST_DYN_LINK
45 #endif
46 //
47 // And include the header that does the work:
48 //
49 #include <boost/config/auto_link.hpp>
50 #endif // auto-linking disabled
51
52 #endif // BOOST_TIMER_CONFIG_HPP
53