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