Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62426 - trunk/boost/test/detail
From: juergen.hunold_at_[hidden]
Date: 2010-06-04 10:31:56


Author: jhunold
Date: 2010-06-04 10:31:54 EDT (Fri, 04 Jun 2010)
New Revision: 62426
URL: http://svn.boost.org/trac/boost/changeset/62426

Log:
Upgrade Boost.Test to use the symbol visibility macros.

Text files modified:
   trunk/boost/test/detail/config.hpp | 17 ++++++-----------
   1 files changed, 6 insertions(+), 11 deletions(-)

Modified: trunk/boost/test/detail/config.hpp
==============================================================================
--- trunk/boost/test/detail/config.hpp (original)
+++ trunk/boost/test/detail/config.hpp 2010-06-04 10:31:54 EDT (Fri, 04 Jun 2010)
@@ -90,17 +90,12 @@
 #if defined(BOOST_TEST_DYN_LINK)
 # define BOOST_TEST_ALTERNATIVE_INIT_API
 
-# if defined(BOOST_HAS_DECLSPEC) && defined(BOOST_TEST_DYN_LINK)
-# ifdef BOOST_TEST_SOURCE
-# define BOOST_TEST_DECL __declspec(dllexport)
-# else
-# define BOOST_TEST_DECL __declspec(dllimport)
-# endif // BOOST_TEST_SOURCE
-# endif // BOOST_HAS_DECLSPEC
-#endif // BOOST_TEST_DYN_LINK
-
-
-#ifndef BOOST_TEST_DECL
+# ifdef BOOST_TEST_SOURCE
+# define BOOST_TEST_DECL BOOST_SYMBOL_EXPORT
+# else
+# define BOOST_TEST_DECL BOOST_SYMBOL_IMPORT
+# endif // BOOST_TEST_SOURCE
+#else
 # define BOOST_TEST_DECL
 #endif
 


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