Nintendo Switch: Remove link to rdimon library to fix file truncation
This commit is contained in:
parent
1d48dd095d
commit
1d50db0246
3 changed files with 8 additions and 3 deletions
|
|
@ -3,6 +3,3 @@ target_compile_definitions(asio INTERFACE _DEFAULT_SOURCE=ON)
|
|||
|
||||
# Missing headers and declarations provided by DevilutionX
|
||||
target_include_directories(asio BEFORE INTERFACE CMake/switch/asio/include)
|
||||
|
||||
# Defines the pause() function
|
||||
target_link_libraries(asio INTERFACE rdimon)
|
||||
|
|
|
|||
|
|
@ -492,6 +492,7 @@ if(NINTENDO_SWITCH)
|
|||
Source/platform/switch/keyboard.cpp
|
||||
Source/platform/switch/docking.cpp
|
||||
Source/platform/switch/random.cpp
|
||||
Source/platform/switch/asio/pause.c
|
||||
Source/platform/switch/asio/net/if.c
|
||||
Source/platform/switch/asio/sys/signal.c)
|
||||
endif()
|
||||
|
|
|
|||
7
Source/platform/switch/asio/pause.c
Normal file
7
Source/platform/switch/asio/pause.c
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#include <errno.h>
|
||||
|
||||
int pause(void)
|
||||
{
|
||||
errno = ENOSYS;
|
||||
return -1;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue