about summary refs log tree commit diff
path: root/stdlib
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@ezchip.com>2014-12-29 23:14:38 -0500
committerChris Metcalf <cmetcalf@ezchip.com>2014-12-29 23:14:38 -0500
commit6d6d7fde04c8ef830205a9900bf101597a2f4b18 (patch)
tree067e8ded1007ad60c65df46951d330f332c03a14 /stdlib
parentcd2c37c979fa19e93ded9e0ed545787271ec0de2 (diff)
downloadglibc-6d6d7fde04c8ef830205a9900bf101597a2f4b18.tar.gz
glibc-6d6d7fde04c8ef830205a9900bf101597a2f4b18.tar.xz
glibc-6d6d7fde04c8ef830205a9900bf101597a2f4b18.zip
Fix a couple of -Wundef warnings.
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/tst-limits.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/tst-limits.c b/stdlib/tst-limits.c
index 6e51dcadb5..9aabc360f6 100644
--- a/stdlib/tst-limits.c
+++ b/stdlib/tst-limits.c
@@ -58,7 +58,7 @@ do_test (void)
   /* Values from POSIX and Unix.  */
 #ifdef PAGESIZE
   TEST (PAGESIZE, "d", getpagesize ());
-#elif PAGE_SIZE
+#elif defined (PAGE_SIZE)
   TEST (PAGE_SIZE, "d", getpagesize ());
 #endif