Use stdatomic instead of gcc-internal atomics
authorNathan Hjelm <hjelmn@google.com>
Thu, 17 Dec 2020 03:57:57 +0000 (20:57 -0700)
committerNathan Hjelm <hjelmn@google.com>
Thu, 17 Dec 2020 03:57:57 +0000 (20:57 -0700)
commiteed8a371ea53939096ba94d44001e0637d042572
treeb0b1e12e618d89214ee8d7e519eebe7673930b75
parent1a08aa84d96397a3840a75abe66051f5360c2c84
Use stdatomic instead of gcc-internal atomics

The __atomic operations are internal to gcc and not necessarily supported
by all c11 compilers. Use the atomics in stdatomic instead.

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