pololu / libusbp

The Pololu USB Library (also known as libusbp) is a cross-platform C library for accessing USB devices.
Other
104 stars 32 forks source link

Apple depreciations and clang preprocessor fix #16

Closed JayToltTech closed 12 months ago

JayToltTech commented 12 months ago

A few small changes for working cleanly on MacOS with VSCode and Clang.

DavidEGrayson commented 12 months ago

Thanks, I'll merge this in.

The word you meant to use is "deprecations"; you typed an extra "i" which changed the meaning.

kIOMainPortDefault was introduced in macOS 12, so I will update the README to state that as the minimum supported macOS version.