os/ossrv/ossrv_pub/boost_apis/boost/signals/detail/config.hpp
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
sl@0
     1
/*
sl@0
     2
 *
sl@0
     3
 * Copyright (c) 1998-2002
sl@0
     4
 * John Maddock
sl@0
     5
 *
sl@0
     6
 * Copyright (c) 2003-2004
sl@0
     7
 * Douglas Gregor
sl@0
     8
 *
sl@0
     9
 * Distributed under the Boost Software License, Version 1.0. (See
sl@0
    10
 * accompanying file LICENSE_1_0.txt or copy at
sl@0
    11
 * http://www.boost.org/LICENSE_1_0.txt)
sl@0
    12
 *
sl@0
    13
 */
sl@0
    14
sl@0
    15
#ifndef BOOST_SIGNALS_CONFIG_HPP
sl@0
    16
#define BOOST_SIGNALS_CONFIG_HPP
sl@0
    17
sl@0
    18
#include <boost/config.hpp>
sl@0
    19
sl@0
    20
#ifdef BOOST_HAS_DECLSPEC
sl@0
    21
#  if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_SIGNALS_DYN_LINK)
sl@0
    22
#    ifdef BOOST_SIGNALS_SOURCE
sl@0
    23
#      define BOOST_SIGNALS_DECL __declspec(dllexport)
sl@0
    24
#    else
sl@0
    25
#      define BOOST_SIGNALS_DECL __declspec(dllimport)
sl@0
    26
#    endif  // BOOST_SIGNALS_SOURCE
sl@0
    27
#  endif  // DYN_LINK
sl@0
    28
#endif  // BOOST_HAS_DECLSPEC
sl@0
    29
sl@0
    30
#ifndef BOOST_SIGNALS_DECL
sl@0
    31
#  define BOOST_SIGNALS_DECL
sl@0
    32
#endif
sl@0
    33
sl@0
    34
// Setup autolinking
sl@0
    35
#if !defined(BOOST_SIGNALS_SOURCE) && !defined(BOOST_ALL_NO_LIB) && !defined(BOOST_SIGNALS_NO_LIB)
sl@0
    36
#  define BOOST_LIB_NAME boost_signals
sl@0
    37
sl@0
    38
#  if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_SIGNALS_DYN_LINK)
sl@0
    39
#    define BOOST_DYN_LINK
sl@0
    40
#  endif
sl@0
    41
sl@0
    42
#  include <boost/config/auto_link.hpp>
sl@0
    43
#endif // autolinking on
sl@0
    44
sl@0
    45
#endif // BOOST_SIGNALS_CONFIG_HPP
sl@0
    46
sl@0
    47
sl@0
    48
sl@0
    49
sl@0
    50
sl@0
    51
sl@0
    52
sl@0
    53
sl@0
    54