diff options
Diffstat (limited to 'src/pulse/timeval.c')
-rw-r--r-- | src/pulse/timeval.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pulse/timeval.c b/src/pulse/timeval.c index 10ba322f..b405a70a 100644 --- a/src/pulse/timeval.c +++ b/src/pulse/timeval.c @@ -49,6 +49,7 @@ struct timeval *pa_gettimeofday(struct timeval *tv) { #else #define EPOCHFILETIME (116444736000000000LL) #endif +{ FILETIME ft; LARGE_INTEGER li; int64_t t; @@ -61,6 +62,7 @@ struct timeval *pa_gettimeofday(struct timeval *tv) { t /= 10; /* In microseconds */ tv->tv_sec = (time_t) (t / PA_USEC_PER_SEC); tv->tv_usec = (suseconds_t) (t % PA_USEC_PER_SEC); +} #elif defined(HAVE_GETTIMEOFDAY) pa_assert_se(gettimeofday(tv, NULL) == 0); #else |