GDAL

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