Define MCL_CURRENT, MCL_FUTURE in bits/mman-linux.h
authorAndreas Jaeger <aj@suse.de>
Tue, 5 Mar 2013 18:40:13 +0000 (19:40 +0100)
committerAndreas Jaeger <aj@suse.de>
Tue, 5 Mar 2013 18:40:13 +0000 (19:40 +0100)
commit890b58d3bd5b2fb5964aa37153f16519e64025a5
treed1336cea097b2971e5b057f12dd2e6cc5192653e
parent5f67c04f5e076d3cfc4d810e7f5d65ce1788b749
Define MCL_CURRENT, MCL_FUTURE in bits/mman-linux.h

* sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
<bits/mman-linux.h>.
(MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
is fine.
* sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
<bits/mman-linux.h> to end of file.
(MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
is fine.
* sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
<bits/mman-linux.h> to end of file.
(MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
is fine.
* sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
<bits/mman-linux.h> to end of file.

* sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
(MCL_CURRENT, MCL_FUTURE): Define here.
ChangeLog
sysdeps/unix/sysv/linux/bits/mman-linux.h
sysdeps/unix/sysv/linux/powerpc/bits/mman.h
sysdeps/unix/sysv/linux/s390/bits/mman.h
sysdeps/unix/sysv/linux/sh/bits/mman.h
sysdeps/unix/sysv/linux/sparc/bits/mman.h
sysdeps/unix/sysv/linux/x86/bits/mman.h