]> git.lyx.org Git - lyx.git/blob - boost/boost/signals/detail/config.hpp
Boost 1.31.0
[lyx.git] / boost / boost / signals / detail / config.hpp
1 /*
2  *
3  * Copyright (c) 1998-2002
4  * Dr John Maddock
5  *
6  * Copyright (c) 2003
7  * Doug Gregor
8  *
9  * Permission to use, copy, modify, distribute and sell this software
10  * and its documentation for any purpose is hereby granted without fee,
11  * provided that the above copyright notice appear in all copies and
12  * that both that copyright notice and this permission notice appear
13  * in supporting documentation.  Dr John Maddock makes no representations
14  * about the suitability of this software for any purpose.
15  * It is provided "as is" without express or implied warranty.
16  *
17  */
18
19 #ifndef BOOST_SIGNALS_CONFIG_HPP
20 #define BOOST_SIGNALS_CONFIG_HPP
21
22 #ifdef BOOST_HAS_DECLSPEC
23 #  if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_SIGNALS_DYN_LINK)
24 #    ifdef BOOST_SIGNALS_SOURCE
25 #      define BOOST_SIGNALS_DECL __declspec(dllexport)
26 #    else
27 #      define BOOST_SIGNALS_DECL __declspec(dllimport)
28 #    endif  // BOOST_SIGNALS_SOURCE
29 #  endif  // DYN_LINK
30 #endif  // BOOST_HAS_DECLSPEC
31
32 #ifndef BOOST_SIGNALS_DECL
33 #  define BOOST_SIGNALS_DECL
34 #endif
35
36 // Setup autolinking
37 #if !defined(BOOST_SIGNALS_SOURCE) && !defined(BOOST_ALL_NO_LIB) && !defined(BOOST_SIGNALS_NO_LIB)
38 #  define BOOST_LIB_NAME boost_signals
39
40 #  if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_SIGNALS_DYN_LINK)
41 #    define BOOST_DYN_LINK
42 #  endif
43
44 #  include <boost/config/auto_link.hpp>
45 #endif // autolinking on
46
47 #endif // BOOST_SIGNALS_CONFIG_HPP
48
49
50
51
52
53
54
55
56