|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r48776 - trunk/boost/test/impl
From: gennadiy.rozental_at_[hidden]
Date: 2008-09-14 15:39:19
Author: rogeeff
Date: 2008-09-14 15:39:19 EDT (Sun, 14 Sep 2008)
New Revision: 48776
URL: http://svn.boost.org/trac/boost/changeset/48776
Log:
QNX fix #2192
Text files modified:
trunk/boost/test/impl/execution_monitor.ipp | 14 ++++++++++----
1 files changed, 10 insertions(+), 4 deletions(-)
Modified: trunk/boost/test/impl/execution_monitor.ipp
==============================================================================
--- trunk/boost/test/impl/execution_monitor.ipp (original)
+++ trunk/boost/test/impl/execution_monitor.ipp 2008-09-14 15:39:19 EDT (Sun, 14 Sep 2008)
@@ -57,6 +57,11 @@
using std::va_list;
#endif
+// to use vsnprintf
+#if defined(__QNXNTO__)
+# include <stdio.h>
+#endif
+
#if defined(_WIN32) && !defined(BOOST_DISABLE_WIN32) && \
(!defined(__COMO__) && !defined(__MWERKS__) && !defined(__GNUC__) || \
BOOST_WORKAROUND(__MWERKS__, >= 0x3000))
@@ -139,13 +144,14 @@
# include <signal.h>
# include <setjmp.h>
-# if !defined(__CYGWIN__)
+# if !defined(__CYGWIN__) && !defined(__QNXNTO__)
# define BOOST_TEST_USE_ALT_STACK
# endif
-# if defined(SIGPOLL) && !defined(__CYGWIN__) && \
- !(defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__)) && \
- !defined(__NetBSD__)
+# if defined(SIGPOLL) && !defined(__CYGWIN__) && \
+ !(defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__)) && \
+ !defined(__NetBSD__) && \
+ !defined(__QNXNTO__)
# define BOOST_TEST_CATCH_SIGPOLL
# 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