glibc/sysdeps/arm/bits/endian.h

13 lines
307 B
C
Raw Normal View History

/* ARM is (usually) little-endian but with a big-endian FPU. */
1997-06-21 02:26:04 +00:00
#ifndef _ENDIAN_H
# error "Never use <bits/endian.h> directly; include <endian.h> instead."
#endif
1999-04-12 09:04:34 +00:00
#ifdef __ARMEB__
#define __BYTE_ORDER __BIG_ENDIAN
#else
1997-06-21 02:26:04 +00:00
#define __BYTE_ORDER __LITTLE_ENDIAN
1999-04-12 09:04:34 +00:00
#endif
#define __FLOAT_WORD_ORDER __BIG_ENDIAN