endian.h 246 B

1234567891011
  1. /* Set endianness for tile. */
  2. #ifndef _ENDIAN_H
  3. # error "Never use <bits/endian.h> directly; include <endian.h> instead."
  4. #endif
  5. #if defined __BIG_ENDIAN__
  6. # define __BYTE_ORDER __BIG_ENDIAN
  7. #else
  8. # define __BYTE_ORDER __LITTLE_ENDIAN
  9. #endif