endian.h 357 B

1234567891011121314151617
  1. #include <string/endian.h>
  2. #if defined _LIBC && !defined _ISOMAC
  3. # if __FLOAT_WORD_ORDER == __BIG_ENDIAN
  4. # define BIG_ENDI 1
  5. # undef LITTLE_ENDI
  6. # define HIGH_HALF 0
  7. # define LOW_HALF 1
  8. # else
  9. # if __FLOAT_WORD_ORDER == __LITTLE_ENDIAN
  10. # undef BIG_ENDI
  11. # define LITTLE_ENDI 1
  12. # define HIGH_HALF 1
  13. # define LOW_HALF 0
  14. # endif
  15. # endif
  16. #endif