|
|
147e83 |
Fix -Wundef warning. Upstream removed the __ASSUME_ARG_MAX_STACK_BASE
|
|
|
147e83 |
preprocessor conditional as part of this commit:
|
|
|
147e83 |
|
|
|
147e83 |
commit 637461d96563f3b7405df5b124ccfe843e537374
|
|
|
147e83 |
Author: Joseph Myers <joseph@codesourcery.com>
|
|
|
147e83 |
Date: Mon May 12 22:48:25 2014 +0000
|
|
|
147e83 |
|
|
|
147e83 |
Clean up kernel version conditionals for pre-2.6.32 kernels.
|
|
|
147e83 |
|
|
|
147e83 |
This patch does some initial cleanup, following the move to 2.6.32
|
|
|
147e83 |
minimum kernel version, by removing __LINUX_KERNEL_VERSION
|
|
|
147e83 |
conditionals that are now always-true or always-false. In the case of
|
|
|
147e83 |
__ASSUME_ARG_MAX_STACK_BASED, where the conditional used a kernel
|
|
|
147e83 |
version that was itself in a macro, the associated sysconf.c code is
|
|
|
147e83 |
also cleaned up and __ASSUME_ARG_MAX_STACK_BASED removed completely.
|
|
|
147e83 |
|
|
|
147e83 |
diff --git a/sysdeps/unix/sysv/linux/sysconf.c b/sysdeps/unix/sysv/linux/sysconf.c
|
|
|
147e83 |
index 47ce5ef07cce7888..05cbb0879e9748d5 100644
|
|
|
147e83 |
--- a/sysdeps/unix/sysv/linux/sysconf.c
|
|
|
147e83 |
+++ b/sysdeps/unix/sysv/linux/sysconf.c
|
|
|
147e83 |
@@ -88,7 +88,7 @@ __sysconf (int name)
|
|
|
147e83 |
return HAS_CPUCLOCK (name);
|
|
|
147e83 |
|
|
|
147e83 |
case _SC_ARG_MAX:
|
|
|
147e83 |
-#if !__ASSUME_ARG_MAX_STACK_BASED
|
|
|
147e83 |
+#ifndef __ASSUME_ARG_MAX_STACK_BASED
|
|
|
147e83 |
/* Determine whether this is a kernel with an argument limit
|
|
|
147e83 |
determined by the stack size. */
|
|
|
147e83 |
if (GLRO(dl_discover_osversion) ()
|