diff --git a/Source/Core/Common/WindowsDevice.cpp b/Source/Core/Common/WindowsDevice.cpp index 34a540ed7b..1dc9b7c9d2 100644 --- a/Source/Core/Common/WindowsDevice.cpp +++ b/Source/Core/Common/WindowsDevice.cpp @@ -12,6 +12,12 @@ #include "Common/CommonFuncs.h" #include "Common/Logging/Log.h" +#ifdef __MINGW32__ +#ifndef __callback +#define __callback +#endif +#endif + namespace Common { std::optional GetPropertyHelper(auto function, auto dev,