olga / rpms / glibc

Forked from rpms/glibc 5 years ago
Clone

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

00db10
Fix -Wundef warnings.  Fixed upstream as part of this commit:
00db10
00db10
commit 1570a72bb8359c9a3a64c4e22d9ea47ce6fcff31
00db10
Author: Will Newton <will.newton@linaro.org>
00db10
Date:   Thu Jun 26 16:00:44 2014 +0100
00db10
00db10
    string/memchr.c: Merge from gnulib
00db10
00db10
diff --git a/string/memchr.c b/string/memchr.c
00db10
index 1684bfa56885e883..d1880cfbaed951a6 100644
00db10
--- a/string/memchr.c
00db10
+++ b/string/memchr.c
00db10
@@ -32,11 +32,11 @@
00db10
 # include <memcopy.h>
00db10
 #endif
00db10
 
00db10
-#if HAVE_STDLIB_H || defined _LIBC
00db10
+#if defined _LIBC || HAVE_STDLIB_H
00db10
 # include <stdlib.h>
00db10
 #endif
00db10
 
00db10
-#if HAVE_LIMITS_H || defined _LIBC
00db10
+#if defined _LIBC || HAVE_LIMITS_H
00db10
 # include <limits.h>
00db10
 #endif
00db10