|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r73400 - trunk/boost/chrono
From: juergen.hunold_at_[hidden]
Date: 2011-07-27 08:16:17
Author: jhunold
Date: 2011-07-27 08:16:16 EDT (Wed, 27 Jul 2011)
New Revision: 73400
URL: http://svn.boost.org/trac/boost/changeset/73400
Log:
Enable visibility support. Refs #2114.
Text files modified:
trunk/boost/chrono/config.hpp | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
Modified: trunk/boost/chrono/config.hpp
==============================================================================
--- trunk/boost/chrono/config.hpp (original)
+++ trunk/boost/chrono/config.hpp 2011-07-27 08:16:16 EDT (Wed, 27 Jul 2011)
@@ -107,7 +107,6 @@
// enable dynamic linking on Windows ---------------------------------------//
-#ifdef BOOST_HAS_DECLSPEC // defined by boost.config
// we need to import/export our code only if the user has specifically
// asked for it by defining either BOOST_ALL_DYN_LINK if they want all boost
// libraries to be dynamically linked, or BOOST_CHRONO_DYN_LINK
@@ -115,12 +114,11 @@
#if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_CHRONO_DYN_LINK)
// export if this is our own source, otherwise import:
#ifdef BOOST_CHRONO_SOURCE
-# define BOOST_CHRONO_DECL __declspec(dllexport)
+# define BOOST_CHRONO_DECL BOOST_SYMBOL_EXPORT
#else
-# define BOOST_CHRONO_DECL __declspec(dllimport)
+# define BOOST_CHRONO_DECL BOOST_SYMBOL_IMPORT
#endif // BOOST_CHRONO_SOURCE
#endif // DYN_LINK
-#endif // BOOST_HAS_DECLSPEC
//
// if BOOST_CHRONO_DECL isn't defined yet define it now:
#ifndef BOOST_CHRONO_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