mirror of
https://github.com/RPCS3/libusb.git
synced 2026-07-01 13:13:20 -04:00
darwin: Test use of kUSBDeviceSpeedSuper against SDK version
Closes #362 Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
This commit is contained in:
committed by
Chris Dickens
parent
3f6a48d00e
commit
c8069cd8c9
@@ -1034,7 +1034,7 @@ static int process_new_device (struct libusb_context *ctx, io_service_t service)
|
||||
case kUSBDeviceSpeedLow: dev->speed = LIBUSB_SPEED_LOW; break;
|
||||
case kUSBDeviceSpeedFull: dev->speed = LIBUSB_SPEED_FULL; break;
|
||||
case kUSBDeviceSpeedHigh: dev->speed = LIBUSB_SPEED_HIGH; break;
|
||||
#if DeviceVersion >= 500
|
||||
#if MAC_OS_X_VERSION_MAX_ALLOWED >= 1070
|
||||
case kUSBDeviceSpeedSuper: dev->speed = LIBUSB_SPEED_SUPER; break;
|
||||
#endif
|
||||
#if MAC_OS_X_VERSION_MAX_ALLOWED >= 101200
|
||||
|
||||
@@ -1 +1 @@
|
||||
#define LIBUSB_NANO 11290
|
||||
#define LIBUSB_NANO 11291
|
||||
|
||||
Reference in New Issue
Block a user