darwin: use GetPipePropertiesV3 on 10.9 and later
authorNathan Hjelm <hjelmn@google.com>
Fri, 12 Jun 2020 05:31:36 +0000 (23:31 -0600)
committerNathan Hjelm <hjelmn@google.com>
Fri, 12 Jun 2020 05:31:36 +0000 (23:31 -0600)
commitd55b2fdafb31f1c85a611f9c5438d47a54535a59
treefabe7835103f43bcb32ca7733f148a8ab116d1dc
parenta5962ba96863aad871d2e4d5d7ddae018f12e42c
darwin: use GetPipePropertiesV3 on 10.9 and later

Apple added the GetPipePropertiesV3 in IOUSBFamily version 550. The old
function appears to be deprecated. When 10.8.x and older are no longer
supported the GetPipeProperties call should be removed.

Signed-off-by: Nathan Hjelm <hjelmn@google.com>
libusb/os/darwin_usb.c
libusb/version_nano.h