xf.li | bfc6e71 | 2025-02-07 01:54:34 -0800 | [diff] [blame^] | 1 | /* Sparc is big-endian, but v9 supports endian conversion on loads/stores |
2 | and GCC supports such a mode. Be prepared. */ | ||||
3 | |||||
4 | #ifndef _ENDIAN_H | ||||
5 | # error "Never use <bits/endian.h> directly; include <endian.h> instead." | ||||
6 | #endif | ||||
7 | |||||
8 | #ifdef __LITTLE_ENDIAN__ | ||||
9 | # define __BYTE_ORDER __LITTLE_ENDIAN | ||||
10 | #else | ||||
11 | # define __BYTE_ORDER __BIG_ENDIAN | ||||
12 | #endif |