diff options
author | David S. Miller <davem@davemloft.net> | 2014-04-30 11:39:47 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-04-30 11:39:47 -0700 |
commit | 8aa583c3e0cffae3f8fa9693fc808b869d55e00d (patch) | |
tree | 8f151ef80aaa6ca3c65400f46f7ef1a177065b15 /sysdeps/sparc | |
parent | 211d653cb6590109281dc7f42a83b43bb2e43c7a (diff) | |
download | glibc-8aa583c3e0cffae3f8fa9693fc808b869d55e00d.zip glibc-8aa583c3e0cffae3f8fa9693fc808b869d55e00d.tar.gz glibc-8aa583c3e0cffae3f8fa9693fc808b869d55e00d.tar.bz2 |
Fix some sparc -Wundef build warnings.
* sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
0.
Diffstat (limited to 'sysdeps/sparc')
-rw-r--r-- | sysdeps/sparc/bits/string.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 <bits/string.h> directly; include <string.h> 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 |