lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame^] | 1 | #include <string/endian.h> |
2 | |||||
3 | #if defined _LIBC && !defined _ISOMAC | ||||
4 | # if __FLOAT_WORD_ORDER == __BIG_ENDIAN | ||||
5 | # define BIG_ENDI 1 | ||||
6 | # undef LITTLE_ENDI | ||||
7 | # define HIGH_HALF 0 | ||||
8 | # define LOW_HALF 1 | ||||
9 | # else | ||||
10 | # if __FLOAT_WORD_ORDER == __LITTLE_ENDIAN | ||||
11 | # undef BIG_ENDI | ||||
12 | # define LITTLE_ENDI 1 | ||||
13 | # define HIGH_HALF 1 | ||||
14 | # define LOW_HALF 0 | ||||
15 | # endif | ||||
16 | # endif | ||||
17 | #endif |