|
Boost-Commit : |
From: dgregor_at_[hidden]
Date: 2007-10-23 14:16:57
Author: dgregor
Date: 2007-10-23 14:16:57 EDT (Tue, 23 Oct 2007)
New Revision: 40365
URL: http://svn.boost.org/trac/boost/changeset/40365
Log:
Fix SIGPOLL and sigemptyset handling on Darwin
Text files modified:
trunk/boost/test/impl/execution_monitor.ipp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Modified: trunk/boost/test/impl/execution_monitor.ipp
==============================================================================
--- trunk/boost/test/impl/execution_monitor.ipp (original)
+++ trunk/boost/test/impl/execution_monitor.ipp 2007-10-23 14:16:57 EDT (Tue, 23 Oct 2007)
@@ -131,8 +131,8 @@
# define BOOST_TEST_USE_ALT_STACK
# endif
-# if !defined(__CYGWIN__)
-# define BOOST_TEST_CATCH_SIGPOLL
+# if !defined(__CYGWIN__) && !(defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__))
+# define BOOST_TEST_CATCH_SIGPOLL
# endif
# ifdef BOOST_TEST_USE_ALT_STACK
@@ -528,7 +528,7 @@
m_new_action.sa_flags |= SA_SIGINFO;
m_new_action.sa_sigaction = attach_dbg ? &execution_monitor_attaching_signal_handler
: &execution_monitor_jumping_signal_handler;
- BOOST_TEST_SYS_ASSERT( ::sigemptyset( &m_new_action.sa_mask ) != -1 );
+ BOOST_TEST_SYS_ASSERT( sigemptyset( &m_new_action.sa_mask ) != -1 );
#ifdef BOOST_TEST_USE_ALT_STACK
if( alt_stack )
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