summaryrefslogtreecommitdiff
path: root/gusb/gusb-device.h
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2014-11-24 20:10:05 +0000
committerRichard Hughes <richard@hughsie.com>2014-11-25 11:05:13 +0000
commit19f2f30bf08f1769b362c7957ab7828d65123750 (patch)
tree9af08c0243d0afc1811f2453ba13ffb3f762989e /gusb/gusb-device.h
parentd3003fe8b1ea7d2d3a1f2c9690d6e4634a4fb01c (diff)
downloadgusb-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-device.h')
-rw-r--r--gusb/gusb-device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gusb/gusb-device.h b/gusb/gusb-device.h
index 558bdf6..98420a7 100644
--- a/gusb/gusb-device.h
+++ b/gusb/gusb-device.h
@@ -114,7 +114,7 @@ struct _GUsbDeviceClass
* If adding fields to this struct, remove corresponding
* amount of padding to avoid changing overall struct size
*/
- gchar _gusb_reserved[G_USB_RESERVED_PADDING];
+ gchar _gusb_reserved[64];
};
GType g_usb_device_get_type (void);