chriskohlhoff / asio

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

MacOS native_handle_type is undefined #1390

Open assafcohen opened 7 months ago

assafcohen commented 7 months ago

can't implement async file operations on MacOS.

if defined(GENERATING_DOCUMENTATION)

typedef implementation_defined native_handle_type;

elif defined(BOOST_ASIO_HAS_IOCP)

typedef detail::win_iocp_file_service::native_handle_type native_handle_type;

elif defined(BOOST_ASIO_HAS_IO_URING)

typedef detail::io_uring_file_service::native_handle_type native_handle_type;

endif