From fa66c93253855c9146011a6854d65df6d390039f Mon Sep 17 00:00:00 2001 From: Pete Batard Date: Tue, 13 Dec 2011 21:18:10 -0500 Subject: [PATCH] Windows: Output an error message on calls to libusb_get_pollfds() Signed-off-by: Michael Plante --- libusb/io.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libusb/io.c b/libusb/io.c index 58bdcdf..c4b3635 100644 --- a/libusb/io.c +++ b/libusb/io.c @@ -2397,6 +2397,8 @@ out: usbi_mutex_unlock(&ctx->pollfds_lock); return (const struct libusb_pollfd **) ret; #else + usbi_err(ctx, "external polling of libusb's internal descriptors "\ + "is not yet supported on Windows platforms"); return NULL; #endif } -- 2.7.4