On 12/15/25 8:45 AM, [email protected] wrote:
From: Nguyen Dinh Phi <[email protected]>

Newer versions of MinGW-w64 provide ConvertStringToBSTR() in the
_com_util namespace via <comutil.h>. This causes a redefinition
error when building qemu-ga on Windows with these toolchains.

Add a meson check to detect whether ConvertStringToBSTR is already
available, and conditionally compile our fallback implementation
only when the system does not provide one.

Signed-off-by: Nguyen Dinh Phi <[email protected]>
---
  meson.build               | 12 ++++++++++++
  qga/vss-win32/install.cpp |  2 ++
  2 files changed, 14 insertions(+)

Thanks for the fix, I was looking at this error.
Reviewed-by: Pierrick Bouvier <[email protected]>


Reply via email to