mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-14 23:09:16 +00:00
Get all tests passing on NetBSD
This commit is contained in:
parent
23ae9dfceb
commit
b2cd58a322
41 changed files with 202 additions and 655 deletions
|
@ -24,7 +24,11 @@
|
|||
*/
|
||||
int32_t getppid(void) {
|
||||
if (!IsWindows()) {
|
||||
return sys_getppid();
|
||||
if (!IsNetbsd()) {
|
||||
return sys_getppid();
|
||||
} else {
|
||||
return sys_getpid().dx;
|
||||
}
|
||||
} else {
|
||||
return sys_getppid_nt();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue