mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-07 06:43:00 +03:00
Fix some sparc -Wundef build warnings.
* sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to 0.
This commit is contained in:
@@ -1,5 +1,8 @@
|
|||||||
2014-04-30 David S. Miller <davem@davemloft.net>
|
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
|
* sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
|
||||||
with XOPEN cpp guards.
|
with XOPEN cpp guards.
|
||||||
|
|
||||||
|
@@ -20,6 +20,9 @@
|
|||||||
# error "Never use <bits/string.h> directly; include <string.h> instead."
|
# error "Never use <bits/string.h> directly; include <string.h> instead."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* Define if architecture can access unaligned multi-byte variables. */
|
||||||
|
#define _STRING_ARCH_unaligned 0
|
||||||
|
|
||||||
/* sparc32 and sparc64 strchr(x, '\0') perform better than
|
/* sparc32 and sparc64 strchr(x, '\0') perform better than
|
||||||
__rawmemchr(x, '\0'). */
|
__rawmemchr(x, '\0'). */
|
||||||
#define _HAVE_STRING_ARCH_strchr 1
|
#define _HAVE_STRING_ARCH_strchr 1
|
||||||
|
Reference in New Issue
Block a user