summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/kit_test/shared.inl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/kit_test/shared.inl.h b/source/kit_test/shared.inl.h
index b96897c..f000786 100644
--- a/source/kit_test/shared.inl.h
+++ b/source/kit_test/shared.inl.h
@@ -25,6 +25,7 @@
static int timespec_get(struct timespec *ts, int base) {
if (ts == NULL || base != TIME_UTC)
return 0;
+
FILETIME ft;
ULARGE_INTEGER date;
LONGLONG ticks;
@@ -36,6 +37,7 @@ static int timespec_get(struct timespec *ts, int base) {
_TIMESPEC_IMPL_UNIX_EPOCH_IN_TICKS);
ts->tv_sec = ticks / _TIMESPEC_IMPL_TICKS_PER_SECONDS;
ts->tv_nsec = (ticks % _TIMESPEC_IMPL_TICKS_PER_SECONDS) * 100;
+
return base;
}
# endif