|
Boost-Commit : |
From: gennadiy.rozental_at_[hidden]
Date: 2007-10-24 20:17:25
Author: rogeeff
Date: 2007-10-24 20:17:25 EDT (Wed, 24 Oct 2007)
New Revision: 40449
URL: http://svn.boost.org/trac/boost/changeset/40449
Log:
missed sunpro workaround
Text files modified:
trunk/boost/test/impl/execution_monitor.ipp | 10 ++++++++--
1 files changed, 8 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 2007-10-24 20:17:25 EDT (Wed, 24 Oct 2007)
@@ -49,6 +49,12 @@
namespace std { using ::strerror; using ::strlen; using ::strncat; }
#endif
+// to use vsnprintf
+#if defined(__SUNPRO_CC) && defined(__SunOS)
+# include <stdio.h>
+using std::va_list;
+#endif
+
#if defined(_WIN32) && !defined(BOOST_DISABLE_WIN32) && \
(!defined(__COMO__) && !defined(__MWERKS__) && !defined(__GNUC__) || \
BOOST_WORKAROUND(__MWERKS__, >= 0x3000))
@@ -65,7 +71,7 @@
# include <stdint.h>
#endif
-# if BOOST_WORKAROUND(_MSC_VER, < 1300 ) || defined(UNDER_CE)
+# if BOOST_WORKAROUND(BOOST_MSVC, < 1300 ) || defined(UNDER_CE)
typedef void* uintptr_t;
# endif
@@ -531,7 +537,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