2
0

endian.h 319 B

1234567891011121314151617
  1. #ifndef __MACHINE_ENDIAN_H__
  2. /* TODO: Forcing little endian, if you need a big endian system, fix this { */
  3. #ifndef BIG_ENDIAN
  4. #define BIG_ENDIAN 4321
  5. #endif
  6. #ifndef LITTLE_ENDIAN
  7. #define LITTLE_ENDIAN 1234
  8. #endif
  9. #ifndef BYTE_ORDER
  10. #define BYTE_ORDER LITTLE_ENDIAN
  11. #endif
  12. /* } */
  13. #endif /* __MACHINE_ENDIAN_H__ */