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

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