Skip to content

Commit

Permalink
for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
qicosmos committed Jul 4, 2024
1 parent 019707b commit 9fb5106
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ if(ENABLE_FILE_IO_URING)
add_definitions(-DENABLE_FILE_IO_URING)
add_definitions(-DASIO_HAS_FILE)
add_definitions(-DASIO_HAS_IO_URING)
if(WIN32)
add_definitions(-DASIO_HAS_WINDOWS_RANDOM_ACCESS_HANDLE)
endif()
endif()

option(USE_PREAD_WRITE "enable pread and pwrite" OFF)
Expand Down

0 comments on commit 9fb5106

Please sign in to comment.