usb: fix usb-host build on windows.
Seems the new API is not available on windows. Update #ifdefs accordingly. Fixes: 9f815e83 ("usb: add hostdevice property to usb-host") Reported-by: NHoward Spoelstra <hsp.cat7@gmail.com> Signed-off-by: NGerd Hoffmann <kraxel@redhat.com> Reviewed-by: NPhilippe Mathieu-Daudé <f4bug@amsat.org> Tested-by: NHoward Spoelstra <hsp.cat7@gmail.com> Message-id: 20200624134510.9381-1-kraxel@redhat.com
Showing
想要评论请 注册 或 登录