Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save laanwj/bf359281dc319b8ff2e1 to your computer and use it in GitHub Desktop.
Save laanwj/bf359281dc319b8ff2e1 to your computer and use it in GitHub Desktop.
OpenBSD boost patch
$OpenBSD: patch-boost_test_impl_execution_monitor_ipp,v 1.2 2010/09/19 20:47:29 jasper Exp $
--- boost/test/impl/execution_monitor.ipp.orig Sat Nov 28 10:19:18 2009
+++ boost/test/impl/execution_monitor.ipp Sun Sep 19 22:33:20 2010
@@ -341,14 +341,18 @@ system_signal_exception::report() const
report_error( execution_exception::system_error,
"signal: the expiration of a timer set by timer_settimer()" );
break;
+#ifdef SI_ASYNCIO
case SI_ASYNCIO:
report_error( execution_exception::system_error,
"signal: generated by the completion of an asynchronous I/O request" );
break;
+#endif
+#ifdef SI_MESGQ
case SI_MESGQ:
report_error( execution_exception::system_error,
"signal: generated by the the arrival of a message on an empty message queue" );
break;
+#endif
default:
break;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment