dll_import_export.hpp 910 B

12345678910111213141516171819202122232425262728
  1. //=======================================================================
  2. // Copyright 2001 University of Notre Dame.
  3. // Copyright 2003 Jeremy Siek
  4. // Authors: Lie-Quan Lee, Jeremy Siek, and Douglas Gregor
  5. //
  6. // Distributed under the Boost Software License, Version 1.0. (See
  7. // accompanying file LICENSE_1_0.txt or copy at
  8. // http://www.boost.org/LICENSE_1_0.txt)
  9. //=======================================================================
  10. #ifndef BOOST_GRAPH_DLL_IMPORT_EXPORT_HPP
  11. #define BOOST_GRAPH_DLL_IMPORT_EXPORT_HPP
  12. #include <boost/config.hpp>
  13. #if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_GRAPH_DYN_LINK)
  14. # ifdef BOOST_GRAPH_SOURCE
  15. # define BOOST_GRAPH_DECL BOOST_SYMBOL_EXPORT
  16. # else
  17. # define BOOST_GRAPH_DECL BOOST_SYMBOL_IMPORT
  18. # endif // BOOST_GRAPH_SOURCE
  19. #endif // DYN_LINK
  20. #ifndef BOOST_GRAPH_DECL
  21. # define BOOST_GRAPH_DECL
  22. #endif
  23. #endif // BOOST_GRAPH_DLL_IMPORT_EXPORT_HPP