|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r48778 - trunk/boost/test/impl
From: gennadiy.rozental_at_[hidden]
Date: 2008-09-14 15:50:02
Author: rogeeff
Date: 2008-09-14 15:50:02 EDT (Sun, 14 Sep 2008)
New Revision: 48778
URL: http://svn.boost.org/trac/boost/changeset/48778
Log:
FreeBSD defines POLL_ERR and POLL_HUP identically #2152
Text files modified:
trunk/boost/test/impl/execution_monitor.ipp | 2 ++
1 files changed, 2 insertions(+), 0 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:50:02 EDT (Sun, 14 Sep 2008)
@@ -477,11 +477,13 @@
"high priority input available; band event %d",
(int)m_sig_info->si_band );
break;
+#if defined(POLL_ERR) && defined(POLL_HUP) && (POLL_ERR - POLL_HUP)
case POLL_HUP:
report_error( execution_exception::system_error,
"device disconnected; band event %d",
(int)m_sig_info->si_band );
break;
+#endif
}
break;
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