aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ares/windows_port.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ares/windows_port.c b/ares/windows_port.c
index ac6ffb272..d8c9bda1c 100644
--- a/ares/windows_port.c
+++ b/ares/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);