ClickHouse/base/common/time.h

10 lines
198 B
C++
Raw Normal View History

2020-02-17 14:27:09 +00:00
#pragma once
#include <time.h>
#if defined (OS_DARWIN)
# define CLOCK_MONOTONIC_COARSE CLOCK_MONOTONIC
#elif defined (OS_FREEBSD)
# define CLOCK_MONOTONIC_COARSE CLOCK_MONOTONIC_FAST
2020-02-17 14:27:09 +00:00
#endif