darwin: use internal define when querying plugin interface
authorNathan Hjelm <hjelmn@me.com>
Thu, 17 Jan 2019 04:08:07 +0000 (21:08 -0700)
committerNathan Hjelm <hjelmn@me.com>
Thu, 17 Jan 2019 04:08:07 +0000 (21:08 -0700)
commitefa1b280e66c0a62d892bddf826e624362d1e50a
tree50d72ebccc287af88449fa4d3a8ae00fd1e28643
parent0f7427777c2770b0b96a81021f85b6a0d1d2bfe4
darwin: use internal define when querying plugin interface

Apple changed the definition of kIOUSBInterfaceInterfaceID in the SDK
for macOS 10.14. This looks like it breaks support for building for
older macOS versions when running 10.14. I don't know if the change
was intentional or a mistake but in order to guarantee libusb
builds as it has in the past we can no longer rely on
kIOUSBInterfaceInterfaceID.

Closes #519

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