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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user