diff --git a/proc/sysinfo.c b/proc/sysinfo.c index 5e224f12..1c7c2798 100644 --- a/proc/sysinfo.c +++ b/proc/sysinfo.c @@ -253,11 +253,13 @@ static void init_libproc(void){ cpuinfo(); +#ifdef __linux__ if(linux_version_code > LINUX_VERSION(2, 4, 0)){ Hertz = find_elf_note(AT_CLKTCK); if(Hertz!=NOTE_NOT_FOUND) return; fputs("2.4+ kernel w/o ELF notes? -- report this\n", stderr); } +#endif /* __linux __ */ old_Hertz_hack(); }