mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-25 20:21:07 +00:00
13 lines
307 B
C
13 lines
307 B
C
/* ARM is (usually) little-endian but with a big-endian FPU. */
|
|
|
|
#ifndef _ENDIAN_H
|
|
# error "Never use <bits/endian.h> directly; include <endian.h> instead."
|
|
#endif
|
|
|
|
#ifdef __ARMEB__
|
|
#define __BYTE_ORDER __BIG_ENDIAN
|
|
#else
|
|
#define __BYTE_ORDER __LITTLE_ENDIAN
|
|
#endif
|
|
#define __FLOAT_WORD_ORDER __BIG_ENDIAN
|