mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 21:42:39 +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
|