auto_link.hpp 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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: auto_link.hpp 60755 2010-03-22 00:45:06Z steven_watanabe $
  9. */
  10. #ifndef BOOST_RANDOM_DETAIL_AUTO_LINK_HPP
  11. #define BOOST_RANDOM_DETAIL_AUTO_LINK_HPP
  12. #include <boost/config.hpp>
  13. #ifdef BOOST_HAS_DECLSPEC
  14. #if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_RANDOM_DYN_LINK)
  15. #if defined(BOOST_RANDOM_SOURCE)
  16. #define BOOST_RANDOM_DECL __declspec(dllexport)
  17. #else
  18. #define BOOST_RANDOM_DECL __declspec(dllimport)
  19. #endif
  20. #endif
  21. #endif
  22. #ifndef BOOST_RANDOM_DECL
  23. #define BOOST_RANDOM_DECL
  24. #endif
  25. #if !defined(BOOST_RANDOM_NO_LIB) && !defined(BOOST_ALL_NO_LIB) && !defined(BOOST_RANDOM_SOURCE)
  26. #define BOOST_LIB_NAME boost_random
  27. #if defined(BOOST_RANDOM_DYN_LINK) || defined(BOOST_ALL_DYN_LINK)
  28. #define BOOST_DYN_LINK
  29. #endif
  30. #include <boost/config/auto_link.hpp>
  31. #endif
  32. #endif