diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index fa8d475c..fef78706 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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()