| @@ -1,13 +1,27 @@ | | | @@ -1,13 +1,27 @@ |
1 | $NetBSD: patch-aq,v 1.1 2008/09/13 16:14:13 jmmv Exp $ | | 1 | --- boost/test/impl/execution_monitor.ipp.orig 2008-09-15 04:30:57 +0300 |
2 | | | 2 | +++ boost/test/impl/execution_monitor.ipp 2008-09-16 09:35:04 +0300 |
3 | --- boost/test/impl/execution_monitor.ipp.orig 2007-11-25 11:07:19.000000000 -0700 | | 3 | @@ -139,7 +139,7 @@ namespace { void _set_se_translator( voi |
4 | +++ boost/test/impl/execution_monitor.ipp | | | |
5 | @@ -139,7 +139,7 @@ | | | |
6 | # define BOOST_TEST_USE_ALT_STACK | | 4 | # define BOOST_TEST_USE_ALT_STACK |
7 | # endif | | 5 | # endif |
8 | | | 6 | |
9 | -# if !defined(__CYGWIN__) && !(defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__)) | | 7 | -# if !defined(__CYGWIN__) && !(defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__)) |
10 | +# if !defined(__CYGWIN__) && !(defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__)) && !defined(__NetBSD__) | | 8 | +# if !defined(__CYGWIN__) && !(defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__)) && !defined(__NetBSD__) && !defined(__DragonFly__) |
11 | # define BOOST_TEST_CATCH_SIGPOLL | | 9 | # define BOOST_TEST_CATCH_SIGPOLL |
12 | # endif | | 10 | # endif |
13 | | | 11 | |
| | | 12 | @@ -249,6 +249,7 @@ system_signal_exception::report() const |
| | | 13 | if( !m_sig_info ) |
| | | 14 | return; // no error actually occur? |
| | | 15 | |
| | | 16 | +#if !defined(__DragonFly__) |
| | | 17 | if( m_sig_info->si_code <= 0 ) { |
| | | 18 | switch( m_sig_info->si_code ) { |
| | | 19 | case SI_USER: |
| | | 20 | @@ -489,6 +490,7 @@ system_signal_exception::report() const |
| | | 21 | report_error( execution_exception::system_error, "unrecognized signal" ); |
| | | 22 | } |
| | | 23 | } |
| | | 24 | +#endif /* !__DragonFly__ */ |
| | | 25 | } |
| | | 26 | |
| | | 27 | //____________________________________________________________________________// |