]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix some sparc -Wundef build warnings.
authorDavid S. Miller <davem@davemloft.net>
Wed, 30 Apr 2014 18:39:47 +0000 (11:39 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Apr 2014 18:39:47 +0000 (11:39 -0700)
* sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
0.

ChangeLog
sysdeps/sparc/bits/string.h

index 30b02e48a469939eb6850e8493b7a81bb40c1293..a6ffe0878f034aab9080199b82c9f7ff881dfbbb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2014-04-30  David S. Miller  <davem@davemloft.net>
 
+       * 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.
 
index 94572e82cfde1fadc6c859e56af3cab4c847b748..2533dfd11c41345c4b26b66f927b7a89a166d48f 100644 (file)
@@ -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