2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-05 09:05:40 +00: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:
Ondřej Surý
2019-11-28 12:07:37 +00:00

View File

@@ -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