You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

endian.h 567B

12345678910111213141516171819202122
  1. #ifndef _ENDIAN_H
  2. #define _ENDIAN_H
  3. FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
  4. /** Constant representing little-endian byte order
  5. *
  6. * Little-endian systems should define BYTE_ORDER as LITTLE_ENDIAN.
  7. * This constant is intended to be used only at compile time.
  8. */
  9. #define __LITTLE_ENDIAN 0x44332211UL
  10. /** Constant representing big-endian byte order
  11. *
  12. * Big-endian systems should define BYTE_ORDER as BIG_ENDIAN.
  13. * This constant is intended to be used only at compile time.
  14. */
  15. #define __BIG_ENDIAN 0x11223344UL
  16. #include "bits/endian.h"
  17. #endif /* _ENDIAN_H */