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

25845f
Fix -Wundef warnings.  Upstream addressed this as part of this commit:
25845f
25845f
commit b100f9aa77027e4371154820ea8a0353bfd13223
25845f
Author: Will Newton <will.newton@linaro.org>
25845f
Date:   Mon Jun 23 16:53:30 2014 +0100
25845f
25845f
    malloc/obstack: Merge from gnulib
25845f
25845f
diff --git a/malloc/obstack.c b/malloc/obstack.c
25845f
index e3ce53f987727eca..2b103727e010b417 100644
25845f
--- a/malloc/obstack.c
25845f
+++ b/malloc/obstack.c
25845f
@@ -56,10 +56,10 @@
25845f
 #ifndef ELIDE_CODE
25845f
 
25845f
 
25845f
-# if HAVE_INTTYPES_H
25845f
+# if _LIBC || HAVE_INTTYPES_H
25845f
 #  include <inttypes.h>
25845f
 # endif
25845f
-# if HAVE_STDINT_H || defined _LIBC
25845f
+# if _LIBC || HAVE_STDINT_H
25845f
 #  include <stdint.h>
25845f
 # endif
25845f
 
25845f
diff --git a/malloc/obstack.h b/malloc/obstack.h
25845f
index a791823cf3f18348..69e92d1146b02eb1 100644
25845f
--- a/malloc/obstack.h
25845f
+++ b/malloc/obstack.h
25845f
@@ -250,13 +250,6 @@ extern int obstack_exit_failure;
25845f
 #define obstack_memory_used(h) _obstack_memory_used (h)
25845f
 
25845f
 #if defined __GNUC__
25845f
-/* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
25845f
-   does not implement __extension__.  But that compiler doesn't define
25845f
-   __GNUC_MINOR__.  */
25845f
-# if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
25845f
-#  define __extension__
25845f
-# endif
25845f
-
25845f
 /* For GNU C, if not -traditional,
25845f
    we can define these macros to compute all args only once
25845f
    without using a global variable.