Fix major compile issues
* Fixes gme issues (hopefully) * Adds ntsecapi.h for Windows compiling
This commit is contained in:
parent
9d0c396c2d
commit
698984c0fe
2 changed files with 5 additions and 1 deletions
|
|
@ -57,6 +57,11 @@ typedef LPVOID (WINAPI *p_MapViewOfFile) (HANDLE, DWORD, DWORD, DWORD, SIZE_T);
|
|||
|
||||
#include <stdio.h>
|
||||
#ifdef _WIN32
|
||||
// This is for RtlGenRandom.
|
||||
#define SystemFunction036 NTAPI SystemFunction036
|
||||
#include <ntsecapi.h>
|
||||
#undef SystemFunction036
|
||||
|
||||
#include <conio.h>
|
||||
|
||||
// This is for RtlGenRandom.
|
||||
|
|
|
|||
1
thirdparty/cpm-libgme.cmake
vendored
1
thirdparty/cpm-libgme.cmake
vendored
|
|
@ -11,5 +11,4 @@ CPMAddPackage(
|
|||
|
||||
if(libgme_ADDED)
|
||||
target_compile_features(gme PRIVATE cxx_std_11)
|
||||
target_link_libraries(gme PRIVATE ZLIB::ZLIB)
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Reference in a new issue