diff --git a/tests/virnetdaemonmock.c b/tests/virnetdaemonmock.c index 3b92fff8c9..c523da0791 100644 --- a/tests/virnetdaemonmock.c +++ b/tests/virnetdaemonmock.c @@ -23,6 +23,7 @@ #define VIR_FROM_THIS VIR_FROM_NONE +#ifndef WIN32 time_t time(time_t *t) { const time_t ret = 1234567890; @@ -30,3 +31,4 @@ time_t time(time_t *t) *t = ret; return ret; } +#endif