auto_link.hpp 1014 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. // Boost.TypeErasure library
  2. //
  3. // Copyright 2015 Steven Watanabe
  4. //
  5. // Distributed under the Boost Software License Version 1.0. (See
  6. // accompanying file LICENSE_1_0.txt or copy at
  7. // http://www.boost.org/LICENSE_1_0.txt)
  8. //
  9. // $Id$
  10. #ifndef BOOST_TYPE_ERASURE_DETAIL_AUTO_LINK_HPP_INCLUDED
  11. #define BOOST_TYPE_ERASURE_DETAIL_AUTO_LINK_HPP_INCLUDED
  12. #include <boost/config.hpp>
  13. #if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_TYPE_ERASURE_DYN_LINK)
  14. #ifdef BOOST_TYPE_ERASURE_SOURCE
  15. #define BOOST_TYPE_ERASURE_DECL BOOST_SYMBOL_EXPORT
  16. #else
  17. #define BOOST_TYPE_ERASURE_DECL BOOST_SYMBOL_IMPORT
  18. #endif
  19. #else
  20. #define BOOST_TYPE_ERASURE_DECL
  21. #endif
  22. #if !defined(BOOST_ALL_NO_LIB) && !defined(BOOST_TYPE_ERASURE_NO_LIB) && !defined(BOOST_TYPE_ERASURE_SOURCE)
  23. #define BOOST_LIB_NAME boost_type_erasure
  24. #if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_TYPE_ERASURE_DYN_LINK)
  25. #define BOOST_DYN_LINK
  26. #endif
  27. #include <boost/config/auto_link.hpp>
  28. #endif
  29. #endif