0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-25 16:22:35 +01:00

ircd::asio: Fix missing condition for newer boost systems w/o liburing.

This commit is contained in:
Jason Volk 2023-03-21 19:27:23 -07:00
parent bffa445d37
commit 95274dd0cd

View file

@ -74,7 +74,7 @@ namespace boost
// In boost 1.79+ asio implements some filesystem operations we can use. While
// these are available in 1.78 they were buggy for our purposes until 1.79.
#if BOOST_VERSION >= 107900
#if IRCD_USE_ASIO_IO_URING && BOOST_VERSION >= 107900
#define IRCD_USE_ASIO_READ 1
#define IRCD_USE_ASIO_WRITE 1
#else