Ticket #2192: build_executions_monitor_with_QNX.diff

File build_executions_monitor_with_QNX.diff, 1.0 KB (added by christian.leutloff@…, 14 years ago)
  • boost/test/impl/execution_monitor.ipp

     
    5757using std::va_list;
    5858#endif
    5959
     60// to use vsnprintf
     61#if defined(__QNXNTO__)
     62#  include <stdio.h>
     63#endif
     64
    6065#if defined(_WIN32) && !defined(BOOST_DISABLE_WIN32) &&                  \
    6166    (!defined(__COMO__) && !defined(__MWERKS__) && !defined(__GNUC__) || \
    6267     BOOST_WORKAROUND(__MWERKS__, >= 0x3000))
     
    139144#  include <signal.h>
    140145#  include <setjmp.h>
    141146
    142 #  if !defined(__CYGWIN__)
     147#  if !defined(__CYGWIN__) && !defined(__QNXNTO__)
    143148#   define BOOST_TEST_USE_ALT_STACK
    144149#  endif
    145150
    146151#  if defined(SIGPOLL) && !defined(__CYGWIN__) && \
    147152      !(defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__)) && \
    148       !defined(__NetBSD__)
     153      !defined(__NetBSD__) && \
     154      !defined(__QNXNTO__)
    149155#    define BOOST_TEST_CATCH_SIGPOLL
    150156#  endif
    151157