endian.h 307 B

123456789101112
  1. /* ARM is (usually) little-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 __ARMEB__
  6. #define __BYTE_ORDER __BIG_ENDIAN
  7. #else
  8. #define __BYTE_ORDER __LITTLE_ENDIAN
  9. #endif
  10. #define __FLOAT_WORD_ORDER __BIG_ENDIAN