summaryrefslogtreecommitdiffstats
path: root/fuzz/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'fuzz/client.c')
-rw-r--r--fuzz/client.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/fuzz/client.c b/fuzz/client.c
index 92ec6c004d..104938f42d 100644
--- a/fuzz/client.c
+++ b/fuzz/client.c
@@ -31,15 +31,13 @@ static int idx;
#define TIME_IMPL(t) { if (t != NULL) *t = FUZZTIME; return FUZZTIME; }
/*
- * This might not in all cases and still get the current time
- * instead of the fixed time. This will just result in things
- * not being fully reproducible and have a slightly different
- * coverage.
+ * This might not work in all cases (and definitely not on Windows
+ * because of the way linkers are) and callees can still get the
+ * current time instead of the fixed time. This will just result
+ * in things not being fully reproducible and have a slightly
+ * different coverage.
*/
-#if defined(_WIN32) && defined(_TIME64_T_DEFINED)
-__time64_t _time64(__time64_t *t) TIME_IMPL(t)
-#endif
-#if !defined(_WIN32) || !defined(_MSC_VER)
+#if !defined(_WIN32)
time_t time(time_t *t) TIME_IMPL(t)
#endif