From 7ffaf004153931ba77da7f6659feb1990f4ff760 Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Thu, 22 Mar 2018 21:11:46 -0500 Subject: hide clock_gettime on win32 --- include/compat/time.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/compat/time.h b/include/compat/time.h index d43dfcb..117a441 100644 --- a/include/compat/time.h +++ b/include/compat/time.h @@ -30,10 +30,12 @@ time_t timegm(struct tm *tm); #define CLOCK_REALTIME 0 #endif +#ifndef _WIN32 #ifndef HAVE_CLOCK_GETTIME int clock_gettime(clockid_t clock_id, struct timespec *tp); #endif +#endif #ifndef timespecsub #define timespecsub(tsp, usp, vsp) \ -- cgit v1.2.3-55-g6feb