On 12/18/25 12:54 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]>
Suggested-by: Pierrick Bouvier <[email protected]>
---
  meson.build               | 12 ++++++++++++
  qga/vss-win32/install.cpp |  2 ++
  2 files changed, 14 insertions(+)
Thanks for the update,
Reviewed-by: Pierrick Bouvier <[email protected]>


Reply via email to