OSDN Git Service

Remove PAGE_SIZE from <limits.h>.
authorElliott Hughes <enh@google.com>
Wed, 29 Jul 2015 02:52:31 +0000 (19:52 -0700)
committerElliott Hughes <enh@google.com>
Wed, 29 Jul 2015 02:54:53 +0000 (19:54 -0700)
commit36443fd542a96d2ed71fc294f70fed08c115af55
tree2b068bf653a04a8a37e9bc35114a2ebab547b1c1
parent374adfee473725994ee2568ce5aba93a7500064e
Remove PAGE_SIZE from <limits.h>.

It turns out that everyone's still getting PAGE_SIZE from <sys/user.h> via
<sys/ucontext.h> via <signal.h> anyway.

glibc has PAGE_SIZE in <sys/user.h> rather than <limits.h> so this part is
good. The bad part is that we have such wide transitive inclusion of
<sys/user.h>!

Bug: http://b/22735893
Change-Id: I363adffe4a27b4ca1eedf695ea621f5dd2d5ca10
libc/bionic/sysinfo.cpp
libc/include/limits.h