From 4b2a8cd1c16896ca5d4570656435aa1b69bcbd46 Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Fri, 23 Mar 2018 11:10:16 -0500 Subject: adjust definition of compat clock_gettime --- include/compat/time.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'include') diff --git a/include/compat/time.h b/include/compat/time.h index 117a441..fb0ab29 100644 --- a/include/compat/time.h +++ b/include/compat/time.h @@ -30,11 +30,8 @@ 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 +int clock_gettime(int clock_id, struct timespec *tp); #endif #ifndef timespecsub -- cgit v1.2.3-55-g6feb