mingw: fix use of undefined __callback

This commit is contained in:
Craig Carnell 2026-02-19 12:56:21 +00:00
parent b1b1b6d86b
commit 045ef05f88

View File

@ -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<std::wstring> GetPropertyHelper(auto function, auto dev,