Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r81182 - trunk/boost/test/impl
From: gennadiy.rozental_at_[hidden]
Date: 2012-11-04 21:32:20


Author: rogeeff
Date: 2012-11-04 21:32:19 EST (Sun, 04 Nov 2012)
New Revision: 81182
URL: http://svn.boost.org/trac/boost/changeset/81182

Log:
fix for Android; Fixes #7514
Text files modified:
   trunk/boost/test/impl/execution_monitor.ipp | 8 ++++++--
   1 files changed, 6 insertions(+), 2 deletions(-)

Modified: trunk/boost/test/impl/execution_monitor.ipp
==============================================================================
--- trunk/boost/test/impl/execution_monitor.ipp (original)
+++ trunk/boost/test/impl/execution_monitor.ipp 2012-11-04 21:32:19 EST (Sun, 04 Nov 2012)
@@ -143,8 +143,12 @@
 # endif
 # endif
 
-# if !defined(__CYGWIN__) && !defined(__QNXNTO__)
-# define BOOST_TEST_USE_ALT_STACK
+# if defined(__ANDROID__)
+# include <android/api-level.h>
+# endif
+
+# if !defined(__CYGWIN__) && !defined(__QNXNTO__) && (!defined(__ANDROID__) || __ANDROID_API__ >= 8)
+# define BOOST_TEST_USE_ALT_STACK
 # endif
 
 # if defined(SIGPOLL) && !defined(__CYGWIN__) && \


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