diff --git a/src/qt/CMakeLists.txt b/src/qt/CMakeLists.txt index 9bae270ab..e246ce920 100644 --- a/src/qt/CMakeLists.txt +++ b/src/qt/CMakeLists.txt @@ -146,6 +146,10 @@ if(WIN32) set_property(SOURCE ../win/86Box-qt.rc PROPERTY COMPILE_DEFINITIONS NO_INCLUDE_MANIFEST) target_sources(86Box PRIVATE ../win/86Box.manifest) endif() + + if (MINGW) + add_compile_definitions(NTDDI_VERSION=0x06010000) + endif() else() target_sources(plat PRIVATE sdl_joystick.cpp) endif()