summary refs log tree commit diff
path: root/mcolor
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2017-03-26 19:03:16 +0200
committerLeah Neukirchen <leah@vuxu.org>2017-03-26 19:03:16 +0200
commit6b9f742d7d1c8c7e691bcd42f801c286d6df4bee (patch)
treebc654678fcceb4141e39e085e01883a8e90b1040 /mcolor
parentd21ab392e99ef0a5a1b3382136fe94c784adf5b3 (diff)
downloadmblaze-6b9f742d7d1c8c7e691bcd42f801c286d6df4bee.tar.gz
mblaze-6b9f742d7d1c8c7e691bcd42f801c286d6df4bee.tar.xz
mblaze-6b9f742d7d1c8c7e691bcd42f801c286d6df4bee.zip
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.
Diffstat (limited to 'mcolor')
0 files changed, 0 insertions, 0 deletions