mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
Fix some sparc -Wundef build warnings.
* sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to 0.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user