mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-06-28 01:49:42 -06:00
Set _WIN32_WINNT to Windows 8 when JIT is enabled (fixes #2209)
This commit is contained in:
@ -102,6 +102,8 @@ if (ENABLE_JIT)
|
|||||||
dolphin/CommonFuncs.cpp)
|
dolphin/CommonFuncs.cpp)
|
||||||
|
|
||||||
if (WIN32)
|
if (WIN32)
|
||||||
|
# Required for memory mapping-related functions introduced in Windows 8
|
||||||
|
target_compile_definitions(core PRIVATE -D_WIN32_WINNT=_WIN32_WINNT_WIN8)
|
||||||
target_link_libraries(core PRIVATE onecore)
|
target_link_libraries(core PRIVATE onecore)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user