xf.li | bfc6e71 | 2025-02-07 01:54:34 -0800 | [diff] [blame^] | 1 | /* SH is bi-endian but with a big-endian FPU. */ |
2 | |||||
3 | #ifndef _ENDIAN_H | ||||
4 | # error "Never use <bits/endian.h> directly; include <endian.h> instead." | ||||
5 | #endif | ||||
6 | |||||
7 | #ifdef __LITTLE_ENDIAN__ | ||||
8 | #define __BYTE_ORDER __LITTLE_ENDIAN | ||||
9 | #define __FLOAT_WORD_ORDER __LITTLE_ENDIAN | ||||
10 | #else | ||||
11 | #define __BYTE_ORDER __BIG_ENDIAN | ||||
12 | #define __FLOAT_WORD_ORDER __BIG_ENDIAN | ||||
13 | #endif |