cpl_config_extras.h 627 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #ifndef INCLUDED_CPL_CONFIG_EXTRAS
  2. #define INCLUDED_CPL_CONFIG_EXTRAS
  3. #if defined(__APPLE__)
  4. #ifdef __BIG_ENDIAN__
  5. #define HOST_FILLORDER FILLORDER_MSB2LSB
  6. #else
  7. #define HOST_FILLORDER FILLORDER_LSB2MSB
  8. #endif
  9. #ifdef __LP64__
  10. #define SIZEOF_UNSIGNED_LONG 8
  11. #else
  12. #define SIZEOF_UNSIGNED_LONG 4
  13. #endif
  14. #ifdef __LP64__
  15. #define SIZEOF_VOIDP 8
  16. #else
  17. #define SIZEOF_VOIDP 4
  18. #endif
  19. #ifdef __BIG_ENDIAN__
  20. #define WORDS_BIGENDIAN 1
  21. #else
  22. #undef WORDS_BIGENDIAN
  23. #endif
  24. #undef VSI_STAT64
  25. #undef VSI_STAT64_T
  26. #define VSI_STAT64 stat
  27. #define VSI_STAT64_T stat
  28. #endif // APPLE
  29. #endif //INCLUDED_CPL_CONFIG_EXTRAS