diff options
author | Richard Hughes <richard@hughsie.com> | 2014-11-24 20:10:05 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2014-11-25 11:05:13 +0000 |
commit | 19f2f30bf08f1769b362c7957ab7828d65123750 (patch) | |
tree | 9af08c0243d0afc1811f2453ba13ffb3f762989e /gusb/gusb-util.h | |
parent | d3003fe8b1ea7d2d3a1f2c9690d6e4634a4fb01c (diff) | |
download | gusb-19f2f30bf08f1769b362c7957ab7828d65123750.tar.gz |
Use a thread to process libusb1 events
The libusb_set_pollfd_notifiers() function will only work on Linux and we can
use a thread to do exactly the same thing in a cross platform way with a lot
less code.
Diffstat (limited to 'gusb/gusb-util.h')
-rw-r--r-- | gusb/gusb-util.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gusb/gusb-util.h b/gusb/gusb-util.h index a60787c..e347d0b 100644 --- a/gusb/gusb-util.h +++ b/gusb/gusb-util.h @@ -23,8 +23,6 @@ #include <glib.h> -#define G_USB_RESERVED_PADDING 64 - G_BEGIN_DECLS const gchar* g_usb_strerror(gint error_code); |