From 67aefff940de7eb1e61b85e4366757b804b78bb4 Mon Sep 17 00:00:00 2001 From: Green Sky Date: Fri, 22 Dec 2023 12:09:37 +0100 Subject: [PATCH] windows mono_time hotfix --- external/toxcore/c-toxcore/toxcore/mono_time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/toxcore/c-toxcore/toxcore/mono_time.c b/external/toxcore/c-toxcore/toxcore/mono_time.c index 7076cb07..b015922d 100644 --- a/external/toxcore/c-toxcore/toxcore/mono_time.c +++ b/external/toxcore/c-toxcore/toxcore/mono_time.c @@ -162,7 +162,7 @@ Mono_Time *mono_time_new(const Memory *mem, mono_time_current_time_cb *current_t #endif mono_time->cur_time = 0; -#ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION +#if defined(FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION) || defined(OS_WIN32) // Maximum reproducibility. Never return time = 0. mono_time->base_time = 1; #else