toolchain/arm-none-linux-gnueabihf/libc/usr/include/bits/endian.h

11 lines
248 B
C
Raw Normal View History

2024-01-10 05:24:32 +00:00
#ifndef _ENDIAN_H
# error "Never use <bits/endian.h> directly; include <endian.h> instead."
#endif
/* ARM can be either big or little endian. */
#ifdef __ARMEB__
#define __BYTE_ORDER __BIG_ENDIAN
#else
#define __BYTE_ORDER __LITTLE_ENDIAN
#endif