3 * Copyright (c) 1998-2002
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.
19 #ifndef BOOST_SIGNALS_CONFIG_HPP
20 #define BOOST_SIGNALS_CONFIG_HPP
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)
27 # define BOOST_SIGNALS_DECL __declspec(dllimport)
28 # endif // BOOST_SIGNALS_SOURCE
30 #endif // BOOST_HAS_DECLSPEC
32 #ifndef BOOST_SIGNALS_DECL
33 # define BOOST_SIGNALS_DECL
37 #if !defined(BOOST_SIGNALS_SOURCE) && !defined(BOOST_ALL_NO_LIB) && !defined(BOOST_SIGNALS_NO_LIB)
38 # define BOOST_LIB_NAME boost_signals
40 # if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_SIGNALS_DYN_LINK)
41 # define BOOST_DYN_LINK
44 # include <boost/config/auto_link.hpp>
45 #endif // autolinking on
47 #endif // BOOST_SIGNALS_CONFIG_HPP