]> sigrok.org Git - libserialport.git/commit
Use clock_gettime(CLOCK_MONOTONIC) if available.
authorMartin Ling <redacted>
Sun, 23 Sep 2018 16:28:11 +0000 (17:28 +0100)
committerMartin Ling <redacted>
Sat, 28 Dec 2019 21:02:19 +0000 (22:02 +0100)
commitf40ea9d461dd270caefed6460c62ab142476b211
tree3f0705f015b69e08c3d39cd6fb457b0ff1189b52
parent46bdc20c26c595e958d33a72f5eb1c8055594a88
Use clock_gettime(CLOCK_MONOTONIC) if available.

Should fix #759 except on OSX versions below 10.12, which don't
have clock_gettime.
libserialport_internal.h
serialport.c