mirror of https://github.com/leahneukirchen/mblaze
mgenmid: use gettimeofday instead of clock_gettime
Fixes #17. Nanosecond precision wasn't needed, and many legacy operating systems don't support this POSIX.1-2001 function. We now use plain microseconds for the timestamp, which uses the range of the 64-bit number better as well. This will result in a Year 294247 problem.pull/22/head
parent
d21ab392e9
commit
6b9f742d7d
Loading…
Reference in New Issue