cpl_config_extras.h
00001
00002 #ifndef INCLUDED_CPL_CONFIG_EXTRAS
00003 #define INCLUDED_CPL_CONFIG_EXTRAS
00004
00005 #if defined(__APPLE__)
00006
00007 #ifdef __BIG_ENDIAN__
00008 #define HOST_FILLORDER FILLORDER_MSB2LSB
00009 #else
00010 #define HOST_FILLORDER FILLORDER_LSB2MSB
00011 #endif
00012
00013
00014 #ifdef __LP64__
00015 #define SIZEOF_UNSIGNED_LONG 8
00016 #else
00017 #define SIZEOF_UNSIGNED_LONG 4
00018 #endif
00019
00020 #ifdef __LP64__
00021 #define SIZEOF_VOIDP 8
00022 #else
00023 #define SIZEOF_VOIDP 4
00024 #endif
00025
00026 #ifdef __BIG_ENDIAN__
00027 #define WORDS_BIGENDIAN 1
00028 #else
00029 #undef WORDS_BIGENDIAN
00030 #endif
00031
00032 #undef VSI_STAT64
00033 #undef VSI_STAT64_T
00034
00035 #define VSI_STAT64 stat
00036 #define VSI_STAT64_T stat
00037
00038 #endif // APPLE
00039
00040 #endif //INCLUDED_CPL_CONFIG_EXTRAS