1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 04:28:13 +00:00

LibC: Move getpagesize() out-of-line

This being inline somehow broke the binutils autoconf scripts. It used
to work, so I suspect that some other change to LibC has caused those
autoconf scripts to go down a new path.

Regardless, this seems perfectly sensible.
This commit is contained in:
Andreas Kling 2020-07-27 23:39:31 +02:00
parent 2ac5c2278d
commit 308d3b764f
2 changed files with 7 additions and 1 deletions

View file

@ -745,4 +745,10 @@ long sysconf(int name)
int rc = syscall(SC_sysconf, name);
__RETURN_WITH_ERRNO(rc, rc, -1);
}
int getpagesize()
{
return PAGE_SIZE;
}
}