1 /* boost random auto_link.hpp header file 2 * 3 * Copyright Steven Watanabe 2010 4 * Distributed under the Boost Software License, Version 1.0. (See 5 * accompanying file LICENSE_1_0.txt or copy at 6 * http://www.boost.org/LICENSE_1_0.txt) 7 * 8 * $Id$ 9 */ 10 11 #ifndef BOOST_RANDOM_DETAIL_AUTO_LINK_HPP 12 #define BOOST_RANDOM_DETAIL_AUTO_LINK_HPP 13 14 #include <boost/config.hpp> 15 16 #if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_RANDOM_DYN_LINK) 17 #if defined(BOOST_RANDOM_SOURCE) 18 #define BOOST_RANDOM_DECL BOOST_SYMBOL_EXPORT 19 #else 20 #define BOOST_RANDOM_DECL BOOST_SYMBOL_IMPORT 21 #endif 22 #endif 23 24 #ifndef BOOST_RANDOM_DECL 25 #define BOOST_RANDOM_DECL 26 #endif 27 28 #if !defined(BOOST_RANDOM_NO_LIB) && !defined(BOOST_ALL_NO_LIB) && !defined(BOOST_RANDOM_SOURCE) 29 30 #define BOOST_LIB_NAME boost_random 31 32 #if defined(BOOST_RANDOM_DYN_LINK) || defined(BOOST_ALL_DYN_LINK) 33 #define BOOST_DYN_LINK 34 #endif 35 36 #include <boost/config/auto_link.hpp> 37 38 #endif 39 40 #endif 41