mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-30 08:40:07 +00:00
ad36ba2bd6
This turns out to be helpful when doing a from-scratch cross-compile of gcc and glibc, since you can then do "make install-headers" in glibc even before you have a functioning tile gcc.
12 lines
246 B
C
12 lines
246 B
C
/* Set endianness for tile. */
|
|
|
|
#ifndef _ENDIAN_H
|
|
# error "Never use <bits/endian.h> directly; include <endian.h> instead."
|
|
#endif
|
|
|
|
#if defined __BIG_ENDIAN__
|
|
# define __BYTE_ORDER __BIG_ENDIAN
|
|
#else
|
|
# define __BYTE_ORDER __LITTLE_ENDIAN
|
|
#endif
|