From 4842b6964d1cd3c5cb1495807212b95d11535540 Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Fri, 16 Nov 2018 05:05:15 -0600 Subject: hide clock_gettime definition 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 dc460ef..ccedba3 100644 --- a/include/compat/time.h +++ b/include/compat/time.h @@ -33,6 +33,7 @@ time_t timegm(struct tm *tm); #define CLOCK_REALTIME 0 #endif +#ifndef _WIN32 #ifndef HAVE_CLOCK_GETTIME typedef int clockid_t; int clock_gettime(clockid_t clock_id, struct timespec *tp); @@ -49,5 +50,6 @@ int clock_gettime(clockid_t clock_id, struct timespec *tp); } \ } while (0) #endif +#endif #endif -- cgit v1.2.3-55-g6feb