[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2] usb: Support compilation without poll.h
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [PATCH v2] usb: Support compilation without poll.h |
Date: |
Wed, 11 May 2016 11:54:42 +0200 |
On Mi, 2016-05-11 at 10:14 +0100, Peter Maydell wrote:
> On 22 March 2016 at 07:13, Stefan Weil <address@hidden> 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 than leaving it compiling but not working?
It should be possible to get things working on windows, given that a
libusb port exists now.
/me hopes that having things at least compile might encourage people to
fill the missing bits.
I guess we'll have to either add some windows-specific bits for event
handling (simliar to win_chr_init() in qemu-char.c) or do timer-based
polling.
cheers,
Gerd