rathena/3rdparty/cmake/tests/HAVE_MONOTONIC_CLOCK.c
eathenabot d254bb1fb9 * Merged changes up to eAthena 15105.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16171 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-31 05:02:00 +00:00

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