mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 11:32:03 +00:00
10 lines
219 B
C++
10 lines
219 B
C++
#pragma once
|
|
|
|
#include <ctime>
|
|
|
|
#if defined (OS_DARWIN) || defined (OS_SUNOS)
|
|
# define CLOCK_MONOTONIC_COARSE CLOCK_MONOTONIC
|
|
#elif defined (OS_FREEBSD)
|
|
# define CLOCK_MONOTONIC_COARSE CLOCK_MONOTONIC_FAST
|
|
#endif
|