endian.h 244 B

1234567891011
  1. /* c6x is little-endian by default. */
  2. #ifndef _ENDIAN_H
  3. # error "Never use <bits/endian.h> directly; include <endian.h> instead."
  4. #endif
  5. #ifdef _BIG_ENDIAN
  6. #define __BYTE_ORDER __BIG_ENDIAN
  7. #else
  8. #define __BYTE_ORDER __LITTLE_ENDIAN
  9. #endif