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
1 changed files with 1 additions and 1 deletions

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