From: Nguyen Dinh Phi <[email protected]>

This series fixes build issues when compiling QEMU on Windows with
newer MinGW-w64 toolchains.

Patch 1 addresses a redefinition error for ConvertStringToBSTR(),
which is now provided by newer MinGW versions in <comutil.h>.

Patch 2 relocates qemu_ftruncate64() to a more appropriate location.

Nguyen Dinh Phi (2):
  qga/vss-win32: Fix ConvertStringToBSTR redefinition with newer MinGW
  util: Move qemu_ftruncate64 from block/file-win32.c to oslib-win32.c

 block/file-win32.c        | 32 --------------------------------
 meson.build               | 12 ++++++++++++
 qga/vss-win32/install.cpp |  2 ++
 util/oslib-win32.c        | 34 ++++++++++++++++++++++++++++++++++
 4 files changed, 48 insertions(+), 32 deletions(-)
---
V2: 
- Use links() instead of compiles() to dectect the definition of 
  ConvertStringToBSTR() in meson.build
-- 
2.43.0


Reply via email to