windows mono_time hotfix

This commit is contained in:
Green Sky 2023-12-22 12:09:37 +01:00
parent 74129cabef
commit 67aefff940
No known key found for this signature in database

View File

@ -162,7 +162,7 @@ Mono_Time *mono_time_new(const Memory *mem, mono_time_current_time_cb *current_t
#endif #endif
mono_time->cur_time = 0; 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. // Maximum reproducibility. Never return time = 0.
mono_time->base_time = 1; mono_time->base_time = 1;
#else #else