auto_link.hpp 959 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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. #ifndef BOOST_RANDOM_DETAIL_AUTO_LINK_HPP
  11. #define BOOST_RANDOM_DETAIL_AUTO_LINK_HPP
  12. #include <boost/config.hpp>
  13. #if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_RANDOM_DYN_LINK)
  14. #if defined(BOOST_RANDOM_SOURCE)
  15. #define BOOST_RANDOM_DECL BOOST_SYMBOL_EXPORT
  16. #else
  17. #define BOOST_RANDOM_DECL BOOST_SYMBOL_IMPORT
  18. #endif
  19. #endif
  20. #ifndef BOOST_RANDOM_DECL
  21. #define BOOST_RANDOM_DECL
  22. #endif
  23. #if !defined(BOOST_RANDOM_NO_LIB) && !defined(BOOST_ALL_NO_LIB) && !defined(BOOST_RANDOM_SOURCE)
  24. #define BOOST_LIB_NAME boost_random
  25. #if defined(BOOST_RANDOM_DYN_LINK) || defined(BOOST_ALL_DYN_LINK)
  26. #define BOOST_DYN_LINK
  27. #endif
  28. #include <boost/config/auto_link.hpp>
  29. #endif
  30. #endif