libusb: fix compile on windows

This commit is contained in:
Matthias Ringwald 2016-11-27 17:01:51 +01:00
parent 1b2aa976d8
commit fd9ea8fd04

View File

@ -233,8 +233,7 @@ static void queue_transfer(struct libusb_transfer *transfer){
temp->user_data = transfer; temp->user_data = transfer;
} }
static void async_callback(struct libusb_transfer *transfer) LIBUSB_CALL static void async_callback(struct libusb_transfer *transfer){
{
// identify and free transfers as part of shutdown // identify and free transfers as part of shutdown
if (libusb_state != LIB_USB_TRANSFERS_ALLOCATED) { if (libusb_state != LIB_USB_TRANSFERS_ALLOCATED) {
int c; int c;