mirror of
https://gitlab.nic.cz/knot/knot-dns.git
synced 2026-02-03 18:49:28 -05:00
contrib/time: CLOCK_REALTIME_COARSE fallback to CLOCK_REALTIME
This commit is contained in:
parent
526ee56877
commit
7b579f6020
1 changed files with 4 additions and 0 deletions
|
|
@ -15,6 +15,10 @@
|
|||
#define st_mtim st_mtimespec
|
||||
#endif
|
||||
|
||||
#ifndef CLOCK_REALTIME_COARSE
|
||||
#define CLOCK_REALTIME_COARSE CLOCK_REALTIME
|
||||
#endif
|
||||
|
||||
typedef unsigned long long knot_millis_t;
|
||||
|
||||
/*!
|
||||
|
|
|
|||
Loading…
Reference in a new issue