From: David S. Miller Date: Wed, 30 Apr 2014 18:39:47 +0000 (-0700) Subject: Fix some sparc -Wundef build warnings. X-Git-Tag: upstream/2.30~7568 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8aa583c3e0cffae3f8fa9693fc808b869d55e00d;p=external%2Fglibc.git Fix some sparc -Wundef build warnings. * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to 0. --- diff --git a/ChangeLog b/ChangeLog index 30b02e4..a6ffe08 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2014-04-30 David S. Miller + * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to + 0. + * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect with XOPEN cpp guards. diff --git a/sysdeps/sparc/bits/string.h b/sysdeps/sparc/bits/string.h index 94572e8..2533dfd 100644 --- a/sysdeps/sparc/bits/string.h +++ b/sysdeps/sparc/bits/string.h @@ -20,6 +20,9 @@ # error "Never use directly; include instead." #endif +/* Define if architecture can access unaligned multi-byte variables. */ +#define _STRING_ARCH_unaligned 0 + /* sparc32 and sparc64 strchr(x, '\0') perform better than __rawmemchr(x, '\0'). */ #define _HAVE_STRING_ARCH_strchr 1