mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-28 08:12:28 +00:00
Reduce build graph by another 14 percent
That's a 37% reduction total from what it was on 2022-05-23.
This commit is contained in:
parent
c2211c9e63
commit
8e176fb026
4029 changed files with 4620 additions and 4675 deletions
|
@ -4,7 +4,6 @@
|
|||
#include "libc/dce.h"
|
||||
#include "libc/macros.internal.h"
|
||||
#include "libc/nexgen32e/bsr.h"
|
||||
#include "libc/nt/process.h"
|
||||
#include "libc/nt/runtime.h"
|
||||
#include "libc/sysv/consts/nr.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
|
@ -105,14 +104,6 @@ forceinline int __sysv_getpid(void) {
|
|||
return ax;
|
||||
}
|
||||
|
||||
forceinline int __getpid(void) {
|
||||
if (!IsWindows()) {
|
||||
return __sysv_getpid();
|
||||
} else {
|
||||
return GetCurrentProcessId();
|
||||
}
|
||||
}
|
||||
|
||||
forceinline ssize_t __write(const void *p, size_t n) {
|
||||
uint32_t wrote;
|
||||
if (!IsWindows()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue