libusbi.h: fix warning about redefined macros
authorNathan Hjelm <hjelmn@me.com>
Tue, 15 Sep 2020 04:06:14 +0000 (22:06 -0600)
committerNathan Hjelm <hjelmn@me.com>
Tue, 15 Sep 2020 04:09:07 +0000 (22:09 -0600)
commita1855022a015b9fe486cda94a42e7fda97d5c5d2
treeccbbf183c56ace34e6dcd41bc19778c543ca0498
parent1be063f7bf1bfc1c448035113ab054f0af0a21bd
libusbi.h: fix warning about redefined macros

In macOS 11.x the USEC_PER_SEC and NSEC_PER_SEC are defined by a system
header. The values are the same so use the system defines if they are
available.

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