summaryrefslogtreecommitdiff
path: root/libusb/os/darwin_usb.c
diff options
context:
space:
mode:
authorSean McBride <sean@rogue-research.com>2012-11-08 19:02:06 +0000
committerPete Batard <pete@akeo.ie>2012-11-08 19:03:58 +0000
commit66db81a41cd64e638795f1da117e912e14d76f7c (patch)
tree2468bcb232bd0558c883f283d70ad65a4b657d87 /libusb/os/darwin_usb.c
parent789768053127049bd29e23d4f0124380b70deb74 (diff)
downloadlibusb-66db81a41cd64e638795f1da117e912e14d76f7c.tar.gz
Darwin: kAppleVendorID is not in the 10.5 SDK
* Use kIOUSBVendorIDAppleComputer instead
Diffstat (limited to 'libusb/os/darwin_usb.c')
-rw-r--r--libusb/os/darwin_usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libusb/os/darwin_usb.c b/libusb/os/darwin_usb.c
index d4e9ce6..d92a45e 100644
--- a/libusb/os/darwin_usb.c
+++ b/libusb/os/darwin_usb.c
@@ -633,7 +633,7 @@ static int darwin_cache_device_descriptor (struct libusb_context *ctx, struct li
/* received an overrun error but we still received a device descriptor */
ret = kIOReturnSuccess;
- if (kAppleVendorID == idVendor) {
+ if (kIOUSBVendorIDAppleComputer == idVendor) {
/* NTH: don't bother retrying or unsuspending Apple devices */
break;
}