hide clock_gettime on win32

This commit is contained in:
Brent Cook 2018-03-22 21:11:46 -05:00
parent 987aa6a084
commit 7ffaf00415

View File

@ -30,10 +30,12 @@ time_t timegm(struct tm *tm);
#define CLOCK_REALTIME 0 #define CLOCK_REALTIME 0
#endif #endif
#ifndef _WIN32
#ifndef HAVE_CLOCK_GETTIME #ifndef HAVE_CLOCK_GETTIME
int int
clock_gettime(clockid_t clock_id, struct timespec *tp); clock_gettime(clockid_t clock_id, struct timespec *tp);
#endif #endif
#endif
#ifndef timespecsub #ifndef timespecsub
#define timespecsub(tsp, usp, vsp) \ #define timespecsub(tsp, usp, vsp) \