From 8aa583c3e0cffae3f8fa9693fc808b869d55e00d Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Wed, 30 Apr 2014 11:39:47 -0700 Subject: Fix some sparc -Wundef build warnings. * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to 0. --- sysdeps/sparc/bits/string.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sysdeps/sparc/bits') diff --git a/sysdeps/sparc/bits/string.h b/sysdeps/sparc/bits/string.h index 94572e82cf..2533dfd11c 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 -- cgit v1.2.3