|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r83047 - in trunk/libs/coroutine: build src/detail
From: oliver.kowalke_at_[hidden]
Date: 2013-02-20 11:33:05
Author: olli
Date: 2013-02-20 11:33:05 EST (Wed, 20 Feb 2013)
New Revision: 83047
URL: http://svn.boost.org/trac/boost/changeset/83047
Log:
coroutine: build segmented_stack_allocator depending on property <segmented-stacks>
Text files modified:
trunk/libs/coroutine/build/Jamfile.v2 | 6 +++++-
trunk/libs/coroutine/src/detail/segmented_stack_allocator.cpp | 4 ----
2 files changed, 5 insertions(+), 5 deletions(-)
Modified: trunk/libs/coroutine/build/Jamfile.v2
==============================================================================
--- trunk/libs/coroutine/build/Jamfile.v2 (original)
+++ trunk/libs/coroutine/build/Jamfile.v2 2013-02-20 11:33:05 EST (Wed, 20 Feb 2013)
@@ -25,13 +25,17 @@
alias allocator_sources
: detail/standard_stack_allocator_windows.cpp
- detail/segmented_stack_allocator.cpp
: <target-os>windows
;
alias allocator_sources
: detail/standard_stack_allocator_posix.cpp
detail/segmented_stack_allocator.cpp
+ : <segmented-stacks>on
+ ;
+
+alias allocator_sources
+ : detail/standard_stack_allocator_posix.cpp
;
explicit yield_sources ;
Modified: trunk/libs/coroutine/src/detail/segmented_stack_allocator.cpp
==============================================================================
--- trunk/libs/coroutine/src/detail/segmented_stack_allocator.cpp (original)
+++ trunk/libs/coroutine/src/detail/segmented_stack_allocator.cpp 2013-02-20 11:33:05 EST (Wed, 20 Feb 2013)
@@ -6,8 +6,6 @@
#define BOOST_COROUTINES_SOURCE
-#if defined(BOOST_USE_SEGMENTED_STACKS)
-
#include <boost/coroutine/detail/segmented_stack_allocator.hpp>
#include <boost/assert.hpp>
@@ -89,5 +87,3 @@
#ifdef BOOST_HAS_ABI_HEADERS
# include BOOST_ABI_SUFFIX
#endif
-
-#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