Re: [Qemu-devel] [PATCH v2] usb: Support compilation without poll.h

2016-05-11 Thread Gerd Hoffmann
On Mi, 2016-05-11 at 10:14 +0100, Peter Maydell wrote: > On 22 March 2016 at 07:13, Stefan Weil wrote: > > This is a hack to support compilation with Mingw-w64 which provides > > a libusb-1.0 package, but no poll.h. > Would it make more sense to just disable this functionality > entirely rather t

Re: [Qemu-devel] [PATCH v2] usb: Support compilation without poll.h

2016-05-11 Thread Peter Maydell
On 22 March 2016 at 07:13, Stefan Weil wrote: > This is a hack to support compilation with Mingw-w64 which provides > a libusb-1.0 package, but no poll.h. > > Signed-off-by: Stefan Weil > --- > > v2: Modified after feedback from Gerd. > static int usb_host_init(void) > { > +#ifndef CONFIG_WIN3

Re: [Qemu-devel] [PATCH v2] usb: Support compilation without poll.h

2016-05-11 Thread Gerd Hoffmann
On Di, 2016-03-22 at 08:13 +0100, Stefan Weil wrote: > This is a hack to support compilation with Mingw-w64 which provides > a libusb-1.0 package, but no poll.h. Added to usb patch queue.