Minor fix to static builds

This commit is contained in:
David Gonzalez Martin 2024-09-17 16:58:59 -06:00
parent 95d65235d1
commit df6d01a964

@ -1515,6 +1515,7 @@ may_be_unused fn u64 os_timer_get()
may_be_unused fn void calibrate_cpu_timer()
{
#ifndef SILENT
#if LINK_LIBC
// clock_getres(CLOCK_MONOTONIC, &cpu_resolution);
#else
@ -1535,6 +1536,7 @@ may_be_unused fn void calibrate_cpu_timer()
u64 cpu_elapsed = cpu_end - cpu_start;
cpu_frequency = os_frequency * cpu_elapsed / os_elapsed;
#endif
#endif
}
fn u8* reserve(u64 size)