summaryrefslogtreecommitdiff
path: root/boost/random/detail/auto_link.hpp
blob: 1f30fd56d9e212566e08b1e3a739cda9d3c0ea9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/* boost random auto_link.hpp header file
 *
 * Copyright Steven Watanabe 2010
 * Distributed under the Boost Software License, Version 1.0. (See
 * accompanying file LICENSE_1_0.txt or copy at
 * http://www.boost.org/LICENSE_1_0.txt)
 *
 * $Id: auto_link.hpp 60755 2010-03-22 00:45:06Z steven_watanabe $
 */

#ifndef BOOST_RANDOM_DETAIL_AUTO_LINK_HPP
#define BOOST_RANDOM_DETAIL_AUTO_LINK_HPP

#include <boost/config.hpp>

#ifdef BOOST_HAS_DECLSPEC
    #if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_RANDOM_DYN_LINK)
        #if defined(BOOST_RANDOM_SOURCE)
            #define BOOST_RANDOM_DECL __declspec(dllexport)
        #else
            #define BOOST_RANDOM_DECL __declspec(dllimport)
        #endif
    #endif
#endif

#ifndef BOOST_RANDOM_DECL
    #define BOOST_RANDOM_DECL
#endif

#if !defined(BOOST_RANDOM_NO_LIB) && !defined(BOOST_ALL_NO_LIB) && !defined(BOOST_RANDOM_SOURCE)

#define BOOST_LIB_NAME boost_random

#if defined(BOOST_RANDOM_DYN_LINK) || defined(BOOST_ALL_DYN_LINK)
    #define BOOST_DYN_LINK
#endif

#include <boost/config/auto_link.hpp>

#endif

#endif