You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/qga/vss-win32
Nguyen Dinh Phi c1df49269a qga/vss-win32: Fix ConvertStringToBSTR redefinition with newer MinGW
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 <phind.uet@gmail.com>
Suggested-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Kostiantyn Kostiuk <kkostiuk@redhat.com>
Message-ID: <20251218085446.462827-2-phind.uet@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
2 weeks ago
..
install.cpp qga/vss-win32: Fix ConvertStringToBSTR redefinition with newer MinGW 2 weeks ago
install.h qemu-ga: Make QGA VSS provider service run only when needed 9 years ago
meson.build qga-vss: Remove unused dependencies 5 months ago
provider.cpp qga: fix missing static and prototypes windows warnings 1 year ago
qga-vss.def qga/win32: Use rundll for VSS installation 3 years ago
qga-vss.idl qemu-ga: Add Windows VSS provider and requester as DLL 13 years ago
requester.cpp qga-vss: Write hex value of error in log 5 months ago
requester.h Replace GCC_FMT_ATTR with G_GNUC_PRINTF 4 years ago
vss-common.h qga/vss-win32: check old VSS SDK headers 4 years ago
vss-debug.cpp QGA VSS: Add wrapper to send log to debugger and stderr 3 years ago
vss-debug.h QGA VSS: Add wrapper to send log to debugger and stderr 3 years ago
vss-handles.h qga/win/vss: query VSS backup type 3 years ago