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
18

source code of glibc/include/endian.h