glibc/sysdeps/arm/bits/endian.h

11 lines
248 B
C
Raw Normal View History

#ifndef _ENDIAN_H
# error "Never use <bits/endian.h> directly; include <endian.h> instead."
#endif
/* ARM can be either big or little endian. */
1999-04-12 17:04:34 +08:00
#ifdef __ARMEB__
#define __BYTE_ORDER __BIG_ENDIAN
#else
1997-06-21 10:26:04 +08:00
#define __BYTE_ORDER __LITTLE_ENDIAN
1999-04-12 17:04:34 +08:00
#endif