mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-28 00:02:28 +00:00
Get more Python tests passing (#141)
This commit is contained in:
parent
916f19eea1
commit
59e1c245d1
141 changed files with 3536 additions and 1203 deletions
|
@ -18,6 +18,7 @@
|
|||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/calls/calls.h"
|
||||
#include "libc/dce.h"
|
||||
#include "libc/fmt/conv.h"
|
||||
#include "libc/runtime/clktck.h"
|
||||
#include "libc/sysv/consts/auxv.h"
|
||||
|
||||
|
@ -36,7 +37,9 @@ static noinline int __clk_tck_init(void) {
|
|||
int cmd[2];
|
||||
size_t len;
|
||||
struct clockinfo_netbsd clock;
|
||||
if (IsXnu() || IsOpenbsd()) {
|
||||
if (IsWindows()) {
|
||||
x = HECTONANOSECONDS;
|
||||
} else if (IsXnu() || IsOpenbsd()) {
|
||||
x = 100;
|
||||
} else if (IsFreebsd()) {
|
||||
x = 128;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue