aboutsummaryrefslogtreecommitdiffstats
path: root/libusb
diff options
context:
space:
mode:
authorPete Batard <pbatard@gmail.com>2011-12-13 21:18:10 -0500
committerPeter Stuge <peter@stuge.se>2012-02-08 14:46:17 +0100
commitfa66c93253855c9146011a6854d65df6d390039f (patch)
treefd0420b7b179fdb2025d8de829aeeee3f0b025f0 /libusb
parent637145ed29ee7c7b13ac45d10cf1f798fc06cbd9 (diff)
downloadandroid_external_libusbx-fa66c93253855c9146011a6854d65df6d390039f.tar.gz
android_external_libusbx-fa66c93253855c9146011a6854d65df6d390039f.tar.bz2
android_external_libusbx-fa66c93253855c9146011a6854d65df6d390039f.zip
Windows: Output an error message on calls to libusb_get_pollfds()
Signed-off-by: Michael Plante <michael.plante@gmail.com>
Diffstat (limited to 'libusb')
-rw-r--r--libusb/io.c2
1 files changed, 2 insertions, 0 deletions
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
}