fluent/fluent-bit
lib/cfl/CMakeLists.txt
:53
check_c_source_compiles("
#include <time.h>
int main() {
struct tm tm;
return timespec_get(&tm, TIME_UTC);
}" CFL_HAVE_TIMESPEC_GET)
check_c_source_compiles("
#include <time.h>
int main() {
struct tm tm;
return timespec_get(&tm, TIME_UTC);
}" CFL_HAVE_TIMESPEC_GET)