From fec3bd231430f4d653adaabe0a7dd79471a21e69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Hunold?= Date: Tue, 26 Jul 2011 17:40:21 +0000 Subject: [PATCH] Merge 73299,73301,73308 from ^/trunk ------------------------------------------------------------------------ r73299 | jhunold | 2011-07-22 14:08:03 +0200 (Fr, 22 Jul 2011) | 2 lines Enable visibility support. Refs #2114. ------------------------------------------------------------------------ r73301 | jhunold | 2011-07-22 16:15:45 +0200 (Fr, 22 Jul 2011) | 2 lines Enable visibility support. Refs #2114. ------------------------------------------------------------------------ r73308 | jhunold | 2011-07-23 11:24:35 +0200 (Sa, 23 Jul 2011) | 2 lines Enable visibility support. Refs #2114. ------------------------------------------------------------------------ [SVN r73381] --- include/boost/graph/dll_import_export.hpp | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/include/boost/graph/dll_import_export.hpp b/include/boost/graph/dll_import_export.hpp index cc369d1d..d03fcd3f 100644 --- a/include/boost/graph/dll_import_export.hpp +++ b/include/boost/graph/dll_import_export.hpp @@ -13,15 +13,13 @@ #include -#ifdef BOOST_HAS_DECLSPEC -# if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_GRAPH_DYN_LINK) -# ifdef BOOST_GRAPH_SOURCE -# define BOOST_GRAPH_DECL __declspec(dllexport) -# else -# define BOOST_GRAPH_DECL __declspec(dllimport) -# endif // BOOST_GRAPH_SOURCE -# endif // DYN_LINK -#endif // BOOST_HAS_DECLSPEC +#if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_GRAPH_DYN_LINK) +# ifdef BOOST_GRAPH_SOURCE +# define BOOST_GRAPH_DECL BOOST_SYMBOL_EXPORT +# else +# define BOOST_GRAPH_DECL BOOST_SYMBOL_IMPORT +# endif // BOOST_GRAPH_SOURCE +#endif // DYN_LINK #ifndef BOOST_GRAPH_DECL # define BOOST_GRAPH_DECL