rathena_hephaistos_edition/3rdparty/cmake/tests/HAVE_MONOTONIC_CLOCK.c

9 lines
166 B
C

#include <sys/time.h>
#include <time.h>
#include <unistd.h>
int main(int argc, char** argv)
{
struct timespec tval;
return clock_gettime(CLOCK_MONOTONIC, &tval);
}