Merge "getpagesize(): remove "portability" claim." into main am: a84f9cffcf
Original change: https://android-review.googlesource.com/c/platform/bionic/+/3112480 Change-Id: I3dc4c2fdf157f765ce264c031bda11d5ab9734e4 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
7e6ca0d6b5
1 changed files with 0 additions and 1 deletions
|
@ -29,7 +29,6 @@
|
|||
#include <unistd.h>
|
||||
#include "platform/bionic/page.h"
|
||||
|
||||
// Portable code should use sysconf(_SC_PAGE_SIZE) directly instead.
|
||||
int getpagesize() {
|
||||
// We dont use sysconf(3) here because that drags in stdio, which makes static binaries fat.
|
||||
return page_size();
|
||||
|
|
Loading…
Reference in a new issue