ClickHouse/base/base/time.h
2021-10-02 10:13:14 +03:00

10 lines
220 B
C++

#pragma once
#include <time.h>
#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