Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r84708 - trunk/boost/coroutine/detail
From: oliver.kowalke_at_[hidden]
Date: 2013-06-09 04:07:47


Author: olli
Date: 2013-06-09 04:07:47 EDT (Sun, 09 Jun 2013)
New Revision: 84708
URL: http://svn.boost.org/trac/boost/changeset/84708

Log:
coroutine: enhance evaluating macros

Text files modified:
   trunk/boost/coroutine/detail/config.hpp | 10 +++++++++-
   1 files changed, 9 insertions(+), 1 deletions(-)

Modified: trunk/boost/coroutine/detail/config.hpp
==============================================================================
--- trunk/boost/coroutine/detail/config.hpp Sat Jun 8 22:34:36 2013 (r84707)
+++ trunk/boost/coroutine/detail/config.hpp 2013-06-09 04:07:47 EDT (Sun, 09 Jun 2013) (r84708)
@@ -46,7 +46,15 @@
 # define BOOST_COROUTINES_SEGMENTS 10
 #endif
 
-#ifndef BOOST_COROUTINES_OLD
+#if defined(BOOST_COROUTINES_V2)
+# define BOOST_COROUTINES_UNIDIRECT
+#endif
+
+#if defined(BOOST_COROUTINES_V1)
+# define BOOST_COROUTINES_OLD
+#endif
+
+#if ! defined(BOOST_COROUTINES_OLD)
 # define BOOST_COROUTINES_UNIDIRECT
 #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