mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-03 11:12:27 +00:00
Create variables for page size
This commit is contained in:
parent
23dfb79d33
commit
567d8fe32d
34 changed files with 137 additions and 101 deletions
|
@ -303,7 +303,7 @@ static wontreturn dontinstrument void foreign_helper(void **p) {
|
|||
static dontinline void elf_exec(const char *file, char **envp) {
|
||||
|
||||
// get microprocessor page size
|
||||
long pagesz = getpagesize();
|
||||
long pagesz = __pagesize;
|
||||
|
||||
// load helper executable into address space
|
||||
struct Loaded prog;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue