|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r73308 - trunk/boost/graph
From: juergen.hunold_at_[hidden]
Date: 2011-07-23 05:24:36
Author: jhunold
Date: 2011-07-23 05:24:35 EDT (Sat, 23 Jul 2011)
New Revision: 73308
URL: http://svn.boost.org/trac/boost/changeset/73308
Log:
Enable visibility support. Refs #2114.
Text files modified:
trunk/boost/graph/dll_import_export.hpp | 16 +++++++---------
1 files changed, 7 insertions(+), 9 deletions(-)
Modified: trunk/boost/graph/dll_import_export.hpp
==============================================================================
--- trunk/boost/graph/dll_import_export.hpp (original)
+++ trunk/boost/graph/dll_import_export.hpp 2011-07-23 05:24:35 EDT (Sat, 23 Jul 2011)
@@ -13,15 +13,13 @@
#include <boost/config.hpp>
-#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
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk