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

c6d234
glibc-rh1293976-2.patch introduced a -Wundef warning related to the
c6d234
POWER architecture preprocessor macros.  No upstream patch because
c6d234
upstream has fixed the underlying malloc alignment issue on 32-bit POWER
c6d234
this portion of the code attempts to work around.
c6d234
c6d234
diff --git a/malloc/tst-malloc-thread-fail.c b/malloc/tst-malloc-thread-fail.c
c6d234
index 7edcd7122fb084b7..5dfb24f5a3154fd7 100644
c6d234
--- a/malloc/tst-malloc-thread-fail.c
c6d234
+++ b/malloc/tst-malloc-thread-fail.c
c6d234
@@ -156,7 +156,7 @@ static void *
c6d234
 allocate (void)
c6d234
 {
c6d234
   struct allocate_result r = allocate_1 ();
c6d234
-#if __powerpc__ == 1 && __powerpc64__ == 0
c6d234
+#if defined (__powerpc__) == 1 && !defined (__powerpc64__)
c6d234
   /* Sourceware bug 6527 on 32-bit POWER.
c6d234
      Ignore 16-byte alignment requirement when using malloc, realloc, or
c6d234
      calloc, since these functions are known not to provide enough