diff options
| author | Elliott Hughes <enh@google.com> | 2014-02-24 15:55:31 -0800 |
|---|---|---|
| committer | Elliott Hughes <enh@google.com> | 2014-02-24 15:55:31 -0800 |
| commit | 0e44bc3baeb1677e5fbdda87a737b9c508c95132 (patch) | |
| tree | 1470737507c2d3924297e61e463edc18a191cc8e /libc/bionic/sysconf.cpp | |
| parent | b26e4944e2a5bf4b7e33fa38fb17a3b76c7fe0f7 (diff) | |
| download | bionic-0e44bc3baeb1677e5fbdda87a737b9c508c95132.zip bionic-0e44bc3baeb1677e5fbdda87a737b9c508c95132.tar.gz bionic-0e44bc3baeb1677e5fbdda87a737b9c508c95132.tar.bz2 | |
Remove <asm/page.h>.
If we have PAGE_SIZE/PAGESIZE, POSIX says they should be in <limits.h>.
Change-Id: I3c2d574ea2aea81f524874a156361411a4ffa18e
Diffstat (limited to 'libc/bionic/sysconf.cpp')
| -rw-r--r-- | libc/bionic/sysconf.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libc/bionic/sysconf.cpp b/libc/bionic/sysconf.cpp index db808c2..233e57c 100644 --- a/libc/bionic/sysconf.cpp +++ b/libc/bionic/sysconf.cpp @@ -229,8 +229,11 @@ int sysconf(int name) { #endif case _SC_ATEXIT_MAX: return SYSTEM_ATEXIT_MAX; case _SC_IOV_MAX: return SYSTEM_IOV_MAX; - case _SC_PAGESIZE: return PAGE_SIZE; - case _SC_PAGE_SIZE: return PAGE_SIZE; + + case _SC_PAGESIZE: + case _SC_PAGE_SIZE: + return PAGE_SIZE; + #ifdef _XOPEN_UNIX case _SC_XOPEN_UNIX: return _XOPEN_UNIX; #endif |
