summaryrefslogtreecommitdiff
path: root/time/win32/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'time/win32/time.c')
-rw-r--r--time/win32/time.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/time/win32/time.c b/time/win32/time.c
index c3165a72c..6f9545c3f 100644
--- a/time/win32/time.c
+++ b/time/win32/time.c
@@ -304,7 +304,13 @@ APR_DECLARE(void) apr_sleep(apr_interval_time_t t)
Sleep((DWORD)(t / 1000));
}
-
+#if defined(_WIN32_WCE)
+/* A noop on WinCE, like Unix implementation */
+APR_DECLARE(void) apr_time_clock_hires(apr_pool_t *p)
+{
+ return;
+}
+#else
static apr_status_t clock_restore(void *unsetres)
{
ULONG newRes;
@@ -324,3 +330,4 @@ APR_DECLARE(void) apr_time_clock_hires(apr_pool_t *p)
apr_pool_cleanup_null);
}
}
+#endif