Blame SOURCES/glibc-rh1505492-undef-sysconf.patch

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