diff options
Diffstat (limited to 'libusb/io.c')
-rw-r--r-- | libusb/io.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libusb/io.c b/libusb/io.c index 7de9b46..c93b074 100644 --- a/libusb/io.c +++ b/libusb/io.c @@ -1716,6 +1716,7 @@ static int handle_timeouts(struct libusb_context *ctx) /* Note: there is code duplication between handle_timeouts_locked and * handle_timeouts, as tranfer cancellation from the backend requires * flying_transfers locks that are not set wholesale */ +#ifndef OS_WINDOWS static int handle_timeouts_locked(struct libusb_context *ctx) { int r; @@ -1757,6 +1758,7 @@ static int handle_timeouts_locked(struct libusb_context *ctx) } return 0; } +#endif static int handle_timeouts(struct libusb_context *ctx) { |