|
Boost-Commit : |
From: chris_at_[hidden]
Date: 2008-06-19 20:25:51
Author: chris_kohlhoff
Date: 2008-06-19 20:25:50 EDT (Thu, 19 Jun 2008)
New Revision: 46535
URL: http://svn.boost.org/trac/boost/changeset/46535
Log:
One more check needed for BSD serial port extensions.
Text files modified:
trunk/boost/asio/impl/serial_port_base.ipp | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
Modified: trunk/boost/asio/impl/serial_port_base.ipp
==============================================================================
--- trunk/boost/asio/impl/serial_port_base.ipp (original)
+++ trunk/boost/asio/impl/serial_port_base.ipp 2008-06-19 20:25:50 EDT (Thu, 19 Jun 2008)
@@ -295,10 +295,12 @@
{
value_ = software;
}
+# if defined(_BSD_SOURCE)
else if (storage.c_cflag & CRTSCTS)
{
value_ = hardware;
}
+# endif
else
{
value_ = none;
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