os/ossrv/ossrv_pub/boost_apis/boost/signals/detail/config.hpp
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     1 /*
     2  *
     3  * Copyright (c) 1998-2002
     4  * John Maddock
     5  *
     6  * Copyright (c) 2003-2004
     7  * Douglas Gregor
     8  *
     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)
    12  *
    13  */
    14 
    15 #ifndef BOOST_SIGNALS_CONFIG_HPP
    16 #define BOOST_SIGNALS_CONFIG_HPP
    17 
    18 #include <boost/config.hpp>
    19 
    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)
    24 #    else
    25 #      define BOOST_SIGNALS_DECL __declspec(dllimport)
    26 #    endif  // BOOST_SIGNALS_SOURCE
    27 #  endif  // DYN_LINK
    28 #endif  // BOOST_HAS_DECLSPEC
    29 
    30 #ifndef BOOST_SIGNALS_DECL
    31 #  define BOOST_SIGNALS_DECL
    32 #endif
    33 
    34 // Setup autolinking
    35 #if !defined(BOOST_SIGNALS_SOURCE) && !defined(BOOST_ALL_NO_LIB) && !defined(BOOST_SIGNALS_NO_LIB)
    36 #  define BOOST_LIB_NAME boost_signals
    37 
    38 #  if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_SIGNALS_DYN_LINK)
    39 #    define BOOST_DYN_LINK
    40 #  endif
    41 
    42 #  include <boost/config/auto_link.hpp>
    43 #endif // autolinking on
    44 
    45 #endif // BOOST_SIGNALS_CONFIG_HPP
    46 
    47 
    48 
    49 
    50 
    51 
    52 
    53 
    54