chriskohlhoff / asio

Asio C++ Library
http://think-async.com/Asio
4.72k stars 1.19k forks source link

asio::stream_file could not be compiled under OS X #1359

Open yingfeng opened 9 months ago

yingfeng commented 9 months ago

We need a portable async file io encapsulation. Although there does not exist aio/io_uring/iocp like notification mechanism under OS X, it's better not to introduce any compilation error when BOOST_ASIO_HAS_FILE is defined.