diff --git a/src/c/time.d b/src/c/time.d index c9cf6571b..d307a026c 100644 --- a/src/c/time.d +++ b/src/c/time.d @@ -42,7 +42,7 @@ #undef HAVE_NANOSLEEP #endif -#if !defined(HAVE_GETTIMEOFDAY) && !defined(HAVE_GETRUSAGE) +#if !defined(HAVE_GETTIMEOFDAY) && !defined(HAVE_GETRUSAGE) && !defined(_MSC_VER) && !defined(mingw32) struct timeval { long tv_sec; long tv_usec;