mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-30 01:02:29 +00:00
Give Emacs another performance boost
This commit is contained in:
parent
5b42c810a5
commit
9c7b81ee0f
30 changed files with 253 additions and 102 deletions
|
@ -20,7 +20,7 @@
|
|||
#include "libc/calls/calls.h"
|
||||
#include "libc/dce.h"
|
||||
#include "libc/fmt/conv.h"
|
||||
#include "libc/intrin/_getauxval.internal.h"
|
||||
#include "libc/intrin/getauxval.internal.h"
|
||||
#include "libc/runtime/runtime.h"
|
||||
#include "libc/sysv/consts/auxv.h"
|
||||
|
||||
|
@ -55,7 +55,7 @@ static dontinline int __clk_tck_init(void) {
|
|||
x = -1;
|
||||
}
|
||||
} else {
|
||||
x = _getauxval(AT_CLKTCK).value;
|
||||
x = __getauxval(AT_CLKTCK).value;
|
||||
}
|
||||
if (x < 1) x = 100;
|
||||
clk_tck = x;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue