endian.h 257 B

12345678910
  1. #ifndef _ENDIAN_H
  2. # error "Never use <bits/endian.h> directly; include <endian.h> instead."
  3. #endif
  4. /* Xtensa can be either big or little endian. */
  5. #ifdef __XTENSA_EB__
  6. # define __BYTE_ORDER __BIG_ENDIAN
  7. #else
  8. # define __BYTE_ORDER __LITTLE_ENDIAN
  9. #endif