darwin: remove redundant macOS version checks
authorosy <50960678+osy@users.noreply.github.com>
Wed, 12 May 2021 04:01:11 +0000 (21:01 -0700)
committerNathan Hjelm <hjelmn@google.com>
Sun, 16 May 2021 21:15:38 +0000 (15:15 -0600)
commit00688d059262b291d1bf9ef48865f0d3e0a48952
treea69d4a9b914ac03220e99631e387a0816b01da83
parent6a902c3b207a017cd699ac8bb6659abf32eb0c99
darwin: remove redundant macOS version checks

The InterfaceVersion is what we want and there is no reason to also check
that the InterfaceVersion matches the macOS version it was introduced in.
This check inadvertently disables features for other Apple platforms that
use IOKit.

Closes #911

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