vfs: check userland buffers before reading them.
[haiku.git] / src / system / libroot / posix / glibc / include / endian.h
blobe6313ba994e7fc47bbefcda2ce0cc22dccf96770
1 #include <string/endian.h>
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