mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-04 10:18:31 +00:00
Fix some issues and do some code cleanup
This commit is contained in:
parent
1f229e4efc
commit
312ed5c67c
72 changed files with 880 additions and 982 deletions
|
@ -97,7 +97,8 @@ static long double nowl_vdso(void) {
|
|||
|
||||
long double nowl_setup(void) {
|
||||
uint64_t ticks;
|
||||
if ((g_now.clock_gettime = __get_clock_gettime())) {
|
||||
if (0 && (g_now.clock_gettime = __get_clock_gettime())) {
|
||||
// TODO(jart): Re-enable this.
|
||||
nowl = nowl_vdso;
|
||||
} else if (X86_HAVE(INVTSC)) {
|
||||
RefreshTime();
|
||||
|
@ -107,5 +108,3 @@ long double nowl_setup(void) {
|
|||
}
|
||||
return nowl();
|
||||
}
|
||||
|
||||
long double (*nowl)(void) = nowl_setup;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue