mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-26 15:00:06 +00:00
27822ce67f
This patch defines _STRING_ARCH_unaligned to 0 on default bits/string.h header to avoid undefined compiler warnings on platforms that do not define it. It also make adjustments in code where tests checked if macro existed or not.
15 lines
430 B
C
15 lines
430 B
C
/* This file should provide inline versions of string functions.
|
|
|
|
Surround GCC-specific parts with #ifdef __GNUC__, and use `__extern_inline'.
|
|
|
|
This file should define __STRING_INLINES if functions are actually defined
|
|
as inlines. */
|
|
|
|
#ifndef _BITS_STRING_H
|
|
#define _BITS_STRING_H 1
|
|
|
|
/* Define if architecture can access unaligned multi-byte variables. */
|
|
#define _STRING_ARCH_unaligned 0
|
|
|
|
#endif /* bits/string.h */
|