summaryrefslogtreecommitdiff
path: root/src/third_party/asio-master/asio/include/asio/detail/impl/reactive_serial_port_service.ipp
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/asio-master/asio/include/asio/detail/impl/reactive_serial_port_service.ipp')
-rw-r--r--src/third_party/asio-master/asio/include/asio/detail/impl/reactive_serial_port_service.ipp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/third_party/asio-master/asio/include/asio/detail/impl/reactive_serial_port_service.ipp b/src/third_party/asio-master/asio/include/asio/detail/impl/reactive_serial_port_service.ipp
index 6f57b7b224c..2456ca9ba51 100644
--- a/src/third_party/asio-master/asio/include/asio/detail/impl/reactive_serial_port_service.ipp
+++ b/src/third_party/asio-master/asio/include/asio/detail/impl/reactive_serial_port_service.ipp
@@ -73,7 +73,7 @@ asio::error_code reactive_serial_port_service::open(
s = descriptor_ops::error_wrapper(::tcgetattr(fd, &ios), ec);
if (s >= 0)
{
-#if defined(_BSD_SOURCE)
+#if defined(_BSD_SOURCE) || defined(_DEFAULT_SOURCE)
::cfmakeraw(&ios);
#else
ios.c_iflag &= ~(IGNBRK | BRKINT | PARMRK