Removed the io.c #include from the dummy IOCTL handler and added the handler to the Unix SDL UI as well.

This commit is contained in:
OBattler
2024-05-20 04:04:13 +02:00
parent 1b68770bda
commit d07f018e6b
3 changed files with 241 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ set(THREADS_PREFER_PTHREAD_FLAG TRUE)
find_package(Threads REQUIRED)
target_link_libraries(86Box Threads::Threads)
add_library(ui OBJECT unix_sdl.c unix_cdrom.c)
add_library(ui OBJECT unix_sdl.c unix_cdrom.c dummy_cdrom_ioctl.c)
target_compile_definitions(ui PUBLIC _FILE_OFFSET_BITS=64)
target_link_libraries(ui ${CMAKE_DL_LIBS})