Project

General

Profile

Bug #196

Boost wants cfsetspeed for _BSD_SOURCE

Added by Igor Pashev over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Start date:
2017-06-18
Due date:
% Done:

0%

Estimated time:

Description

Boost wants cfsetspeed for _BSD_SOURCE:

# grep -rnH -C4 cfsetspeed /usr/include/

/usr/include/boost/asio/impl/serial_port_base.ipp-114-    ec = boost::asio::error::invalid_argument;
/usr/include/boost/asio/impl/serial_port_base.ipp-115-    return ec;
/usr/include/boost/asio/impl/serial_port_base.ipp-116-  }
/usr/include/boost/asio/impl/serial_port_base.ipp-117-# if defined(_BSD_SOURCE)
/usr/include/boost/asio/impl/serial_port_base.ipp:118:  ::cfsetspeed(&storage, baud);
/usr/include/boost/asio/impl/serial_port_base.ipp-119-# else
/usr/include/boost/asio/impl/serial_port_base.ipp-120-  ::cfsetispeed(&storage, baud);
/usr/include/boost/asio/impl/serial_port_base.ipp-121-  ::cfsetospeed(&storage, baud);
/usr/include/boost/asio/impl/serial_port_base.ipp-122-# endif

Associated revisions

Revision fd914239 (diff)
Added by Igor Pashev over 1 year ago

libc: add cfsetspeed

History

#1 Updated by Igor Pashev over 1 year ago

  • Status changed from New to Resolved

Also available in: Atom PDF