Re: [Qemu-devel] [PATCH for-2.7] wxx: Fix compilation of host-libusb.c

2016-08-02 Thread Gerd Hoffmann
On Fr, 2016-07-29 at 08:55 +0200, Stefan Weil wrote: > libusb.h uses the WINAPI calling convention for all function > callbacks. > > Cross compilation with Mingw-w64 on Cygwin fails when this calling > convention is missing. queued up both mingw fixes. thanks, Gerd

[Qemu-devel] [PATCH for-2.7] wxx: Fix compilation of host-libusb.c

2016-07-28 Thread Stefan Weil
libusb.h uses the WINAPI calling convention for all function callbacks. Cross compilation with Mingw-w64 on Cygwin fails when this calling convention is missing. Signed-off-by: Stefan Weil --- hw/usb/host-libusb.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/hw/usb