mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-25 19:04:57 -05:00
Merge branch 'wpk/clock-realtime-fast' into 'master'
Use clock_realtime_fast where available See merge request isc-projects/bind9!2661
This commit is contained in:
commit
caa5cd947d
1 changed files with 3 additions and 1 deletions
|
|
@ -36,8 +36,10 @@
|
|||
#define NS_PER_MS 1000000 /*%< Nanoseconds per millisecond. */
|
||||
#define US_PER_S 1000000 /*%< Microseconds per second. */
|
||||
|
||||
#ifdef CLOCK_REALTIME_COARSE
|
||||
#if defined(CLOCK_REALTIME_COARSE)
|
||||
#define CLOCKSOURCE CLOCK_REALTIME_COARSE
|
||||
#elif defined(CLOCK_REALTIME_FAST)
|
||||
#define CLOCKSOURCE CLOCK_REALTIME_FAST
|
||||
#else
|
||||
#define CLOCKSOURCE CLOCK_REALTIME
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue