xf.li | bfc6e71 | 2025-02-07 01:54:34 -0800 | [diff] [blame^] | 1 | #ifndef _ENDIAN_H |
2 | # error "Never use <bits/endian.h> directly; include <endian.h> instead." | ||||
3 | #endif | ||||
4 | |||||
5 | /* ARM can be either big or little endian. */ | ||||
6 | #ifdef __ARMEB__ | ||||
7 | #define __BYTE_ORDER __BIG_ENDIAN | ||||
8 | #else | ||||
9 | #define __BYTE_ORDER __LITTLE_ENDIAN | ||||
10 | #endif |