Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62802 - trunk/boost/thread/detail
From: steven_at_[hidden]
Date: 2010-06-11 10:38:29


Author: steven_watanabe
Date: 2010-06-11 10:38:28 EDT (Fri, 11 Jun 2010)
New Revision: 62802
URL: http://svn.boost.org/trac/boost/changeset/62802

Log:
Add old auto-link macro for backwards compatibility.
Text files modified:
   trunk/boost/thread/detail/config.hpp | 6 ++++++
   1 files changed, 6 insertions(+), 0 deletions(-)

Modified: trunk/boost/thread/detail/config.hpp
==============================================================================
--- trunk/boost/thread/detail/config.hpp (original)
+++ trunk/boost/thread/detail/config.hpp 2010-06-11 10:38:28 EDT (Fri, 11 Jun 2010)
@@ -19,6 +19,12 @@
 
 #include "platform.hpp"
 
+// provided for backwards compatibility, since this
+// macro was used for several releases by mistake.
+#if defined(BOOST_THREAD_DYN_DLL)
+# define BOOST_THREAD_DYN_LINK
+#endif
+
 // compatibility with the rest of Boost's auto-linking code:
 #if defined(BOOST_THREAD_DYN_LINK) || defined(BOOST_ALL_DYN_LINK)
 # undef BOOST_THREAD_USE_LIB


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