1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

(__ASSUME_STD_AUXV): Define for linux >= 2.4.5 on powerpc. (__ASSUME_MMAP2_SYSCALL): Likewise.

This commit is contained in:
Andreas Jaeger
2001-05-20 11:56:03 +00:00
parent d6e614debf
commit 7060e53ec7

View File

@ -171,9 +171,11 @@
# define __ASSUME_AT_PAGESIZE 1
#endif
/* Starting with 2.4.? kernels PPC passes the AUXV in the standard way. */
#if __LINUX_KERNEL_VERSION >= (132096+99) && defined __powerpc__
/* Starting with 2.4.5 kernels PPC passes the AUXV in the standard way
and the mmap2 syscall made it into the official kernel. */
#if __LINUX_KERNEL_VERSION >= (132096+5) && defined __powerpc__
# define __ASSUME_STD_AUXV 1
# define __ASSUME_MMAP2_SYSCALL 1
#endif
/* There are an infinite number of PA-RISC kernel versions numbered