Hax4Us

Untitled

Feb 21st, 2018
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. /* Original code from the Linux C library */
  2. /* Copyright (C) 2000,2001 Salvatore Sanfilippo <[email protected]>
  3. * This code is under the original GNU C library license (GPL) */
  4.  
  5. /* $Id: bytesex.h,v 1.1.1.1 2003/08/31 17:23:48 antirez Exp $ */
  6.  
  7. #ifndef ARS_BYTESEX_H
  8. #define ARS_BYTESEX_H
  9.  
  10. #if defined(__i386__) \
  11. || defined(__alpha__) \
  12. || defined(__ANDROID__) \
  13. || (defined(__mips__) && (defined(MIPSEL) || defined (__MIPSEL__)))
  14. #define BYTE_ORDER_LITTLE_ENDIAN
  15. #elif defined(__mc68000__) \
  16. || defined (__sparc__) \
  17. || defined (__sparc) \
  18. || defined (__PPC__) \
  19. || defined (__BIG_ENDIAN__) \
  20. || (defined(__mips__) && (defined(MIPSEB) || defined (__MIPSEB__)))
  21. #define BYTE_ORDER_BIG_ENDIAN
  22. #else
  23. # error can not find the byte order for this architecture, fix bytesex.h
  24. #endif
  25.  
  26. #endif /* ARS_BYTESEX_H */
Add Comment
Please, Sign In to add comment