endian.h 343 B

12345678910111213
  1. /* SH is bi-endian but with a big-endian FPU. */
  2. #ifndef _ENDIAN_H
  3. # error "Never use <bits/endian.h> directly; include <endian.h> instead."
  4. #endif
  5. #ifdef __LITTLE_ENDIAN__
  6. #define __BYTE_ORDER __LITTLE_ENDIAN
  7. #define __FLOAT_WORD_ORDER __LITTLE_ENDIAN
  8. #else
  9. #define __BYTE_ORDER __BIG_ENDIAN
  10. #define __FLOAT_WORD_ORDER __BIG_ENDIAN
  11. #endif