First public contribution.
3 * Copyright (c) 1998-2002
6 * Copyright (c) 2003-2004
9 * Distributed under the Boost Software License, Version 1.0. (See
10 * accompanying file LICENSE_1_0.txt or copy at
11 * http://www.boost.org/LICENSE_1_0.txt)
15 #ifndef BOOST_SIGNALS_CONFIG_HPP
16 #define BOOST_SIGNALS_CONFIG_HPP
18 #include <boost/config.hpp>
20 #ifdef BOOST_HAS_DECLSPEC
21 # if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_SIGNALS_DYN_LINK)
22 # ifdef BOOST_SIGNALS_SOURCE
23 # define BOOST_SIGNALS_DECL __declspec(dllexport)
25 # define BOOST_SIGNALS_DECL __declspec(dllimport)
26 # endif // BOOST_SIGNALS_SOURCE
28 #endif // BOOST_HAS_DECLSPEC
30 #ifndef BOOST_SIGNALS_DECL
31 # define BOOST_SIGNALS_DECL
35 #if !defined(BOOST_SIGNALS_SOURCE) && !defined(BOOST_ALL_NO_LIB) && !defined(BOOST_SIGNALS_NO_LIB)
36 # define BOOST_LIB_NAME boost_signals
38 # if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_SIGNALS_DYN_LINK)
39 # define BOOST_DYN_LINK
42 # include <boost/config/auto_link.hpp>
43 #endif // autolinking on
45 #endif // BOOST_SIGNALS_CONFIG_HPP