mirror of
https://github.com/RPCS3/libusb.git
synced 2026-07-21 00:16:04 -04:00
Fix darwin compilation broken by the usbi_get_device_by_session_id changes
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
@@ -293,7 +293,7 @@ static void darwin_devices_detached (void *ptr, io_iterator_t rem_devices) {
|
||||
/* signal the core that this device has been disconnected. the core will tear down this device
|
||||
when the reference count reaches 0 */
|
||||
usbi_disconnect_device(dev);
|
||||
usb_unref_device(dev);
|
||||
libusb_unref_device(dev);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
#define LIBUSB_NANO 10834
|
||||
#define LIBUSB_NANO 10835
|
||||
|
||||
Reference in New Issue
Block a user