mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-03-03 07:29:23 +00:00
Make quick fix for aarch64 build
This commit is contained in:
parent
c8aa33e0e2
commit
712b1aab3c
2 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ int wcscmp(const wchar_t *a, const wchar_t *b) {
|
|||
size_t i = 0;
|
||||
if (a == b) return 0;
|
||||
while (a[i] == b[i] && b[i]) ++i;
|
||||
return a[i] < b[i] ? -1 : a[i] > b[i];
|
||||
return (int)a[i] < (int)b[i] ? -1 : (int)a[i] > (int)b[i];
|
||||
}
|
||||
|
||||
__weak_reference(wcscmp, wcscoll);
|
||||
|
|
|
@ -35,7 +35,7 @@ void *Torturer(void *arg) {
|
|||
}
|
||||
for (i = 0; i < FDS; ++i) {
|
||||
ASSERT_EQ(2, write(fd[i], "hi", 2));
|
||||
if (!fork()) _Exit(0);
|
||||
if (!vfork()) _Exit(0);
|
||||
wait(0);
|
||||
}
|
||||
for (i = 0; i < FDS; ++i) {
|
||||
|
|
Loading…
Add table
Reference in a new issue