summaryrefslogblamecommitdiff
path: root/3rdparty/cmake/tests/HAVE_MONOTONIC_CLOCK.c
blob: ad460a1af27f646438d7620671a233d5ecba5857 (plain) (tree)
1
2
3
4
5
6
7
8







                                                     
#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);
}