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

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