summaryrefslogtreecommitdiff
path: root/windows_port.c
diff options
context:
space:
mode:
Diffstat (limited to 'windows_port.c')
-rw-r--r--windows_port.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/windows_port.c b/windows_port.c
index ac6ffb2..d8c9bda 100644
--- a/windows_port.c
+++ b/windows_port.c
@@ -45,7 +45,9 @@ ares_gettimeofday(struct timeval *tv, struct timezone *tz)
li.LowPart = ft.dwLowDateTime;
li.HighPart = ft.dwHighDateTime;
t = li.QuadPart; /* In 100-nanosecond intervals */
- //t -= EPOCHFILETIME; /* Offset to the Epoch time */
+#if 0
+ t -= EPOCHFILETIME; /* Offset to the Epoch time */
+#endif
t /= 10; /* In microseconds */
tv->tv_sec = (long)(t / 1000000);
tv->tv_usec = (long)(t % 1000000);