diff --git a/src/sdl/i_system.cpp b/src/sdl/i_system.cpp index b21047c8f..41d289acc 100644 --- a/src/sdl/i_system.cpp +++ b/src/sdl/i_system.cpp @@ -57,6 +57,11 @@ typedef LPVOID (WINAPI *p_MapViewOfFile) (HANDLE, DWORD, DWORD, DWORD, SIZE_T); #include #ifdef _WIN32 +// This is for RtlGenRandom. +#define SystemFunction036 NTAPI SystemFunction036 +#include +#undef SystemFunction036 + #include // This is for RtlGenRandom. diff --git a/thirdparty/cpm-libgme.cmake b/thirdparty/cpm-libgme.cmake index 1786ad0ec..837d4287c 100644 --- a/thirdparty/cpm-libgme.cmake +++ b/thirdparty/cpm-libgme.cmake @@ -11,5 +11,4 @@ CPMAddPackage( if(libgme_ADDED) target_compile_features(gme PRIVATE cxx_std_11) - target_link_libraries(gme PRIVATE ZLIB::ZLIB) endif()