Set _WIN32_WINNT to Windows 8 when JIT is enabled (fixes #2209)
This commit is contained in:
parent
6a15dbfa12
commit
0db536c063
|
@ -102,6 +102,8 @@ if (ENABLE_JIT)
|
|||
dolphin/CommonFuncs.cpp)
|
||||
|
||||
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)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in New Issue