diff options
Diffstat (limited to 'src/microhttpd/mhd_mono_clock.c')
-rw-r--r-- | src/microhttpd/mhd_mono_clock.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/microhttpd/mhd_mono_clock.c b/src/microhttpd/mhd_mono_clock.c index bf159a81..5cb566d8 100644 --- a/src/microhttpd/mhd_mono_clock.c +++ b/src/microhttpd/mhd_mono_clock.c | |||
@@ -25,6 +25,11 @@ | |||
25 | 25 | ||
26 | #include "mhd_mono_clock.h" | 26 | #include "mhd_mono_clock.h" |
27 | 27 | ||
28 | #if defined(_WIN32) && defined(HAVE_CLOCK_GETTIME) | ||
29 | /* Prefer native clock source over wrappers */ | ||
30 | #undef HAVE_CLOCK_GETTIME | ||
31 | #endif /* _WIN32 && HAVE_CLOCK_GETTIME */ | ||
32 | |||
28 | #ifdef HAVE_CLOCK_GET_TIME | 33 | #ifdef HAVE_CLOCK_GET_TIME |
29 | #include <mach/mach.h> | 34 | #include <mach/mach.h> |
30 | /* for host_get_clock_service(), mach_host_self(), mach_task_self() */ | 35 | /* for host_get_clock_service(), mach_host_self(), mach_task_self() */ |