arrfab / rpms / glibc

Forked from rpms/glibc 4 years ago
Clone

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

147e83
commit 6d6d7fde04c8ef830205a9900bf101597a2f4b18
147e83
Author: Chris Metcalf <cmetcalf@ezchip.com>
147e83
Date:   Mon Dec 29 23:14:38 2014 -0500
147e83
147e83
    Fix a couple of -Wundef warnings.
147e83
147e83
Conflicts:
147e83
	sysdeps/unix/sysv/linux/tst-setgetname.c
147e83
147e83
File removed manually; this test does not exist in our tree.
147e83
147e83
diff --git a/stdlib/tst-limits.c b/stdlib/tst-limits.c
147e83
index 6e51dcadb5baaabb..9aabc360f6b8c3f7 100644
147e83
--- a/stdlib/tst-limits.c
147e83
+++ b/stdlib/tst-limits.c
147e83
@@ -58,7 +58,7 @@ do_test (void)
147e83
   /* Values from POSIX and Unix.  */
147e83
 #ifdef PAGESIZE
147e83
   TEST (PAGESIZE, "d", getpagesize ());
147e83
-#elif PAGE_SIZE
147e83
+#elif defined (PAGE_SIZE)
147e83
   TEST (PAGE_SIZE, "d", getpagesize ());
147e83
 #endif
147e83