1/* We define this here in general so that a VC++ build will publicly 2 declare STDCALL interfaces even if an application is built against it 3 using MinGW */ 4 5#ifndef CPL_DISABLE_STDCALL 6# define CPL_STDCALL __stdcall 7#endif 8 9/* Define if you don't have vprintf but do have _doprnt. */ 10#undef HAVE_DOPRNT 11 12/* Define if you have the vprintf function. */ 13#ifndef HAVE_VPRINTF 14 #define HAVE_VPRINTF 1 15#endif 16#ifndef HAVE_VSNPRINTF 17 #define HAVE_VSNPRINTF 1 18#endif 19#ifndef HAVE_SNPRINTF 20 #define HAVE_SNPRINTF 1 21#endif 22 23#define HAVE_GETCWD 1 24/* gmt_notunix.h from GMT project also redefines getcwd. See #3138 */ 25#ifndef getcwd 26#define getcwd _getcwd 27#endif 28 29/* Define if you have the ANSI C header files. */ 30#ifndef STDC_HEADERS 31# define STDC_HEADERS 1 32#endif 33 34/* Define to 1 if you have the <assert.h> header file. */ 35#define HAVE_ASSERT_H 1 36 37/* Define to 1 if you have the <fcntl.h> header file. */ 38#define HAVE_FCNTL_H 1 39 40/* Define if you have the <unistd.h> header file. */ 41#undef HAVE_UNISTD_H 42 43/* Define if you have the <stdint.h> header file. */ 44#undef HAVE_STDINT_H 45 46/* Define to 1 if you have the <sys/types.h> header file. */ 47#define HAVE_SYS_TYPES_H 1 48 49#undef HAVE_LIBDL 50 51/* Define to 1 if you have the <locale.h> header file. */ 52#define HAVE_LOCALE_H 1 53 54#define HAVE_FLOAT_H 1 55 56#define HAVE_ERRNO_H 1 57 58#define HAVE_SEARCH_H 1 59 60/* Define to 1 if you have the <direct.h> header file. */ 61#ifndef HAVE_DIRECT_H 62 #define HAVE_DIRECT_H 1 63#endif 64 65/* Define to 1 if you have the `localtime_r' function. */ 66#undef HAVE_LOCALTIME_R 67 68#undef HAVE_DLFCN_H 69#undef HAVE_DBMALLOC_H 70#undef HAVE_LIBDBMALLOC 71#undef WORDS_BIGENDIAN 72 73/* The size of a `int', as computed by sizeof. */ 74#define SIZEOF_INT 4 75 76/* The size of a `long', as computed by sizeof. */ 77#define SIZEOF_LONG 4 78 79/* The size of a `unsigned long', as computed by sizeof. */ 80#define SIZEOF_UNSIGNED_LONG 4 81 82/* The size of `void*', as computed by sizeof. */ 83#ifdef _WIN64 84# define SIZEOF_VOIDP 8 85#else 86# define SIZEOF_VOIDP 4 87#endif 88 89/* Define as 0 or 1 according to the floating point format supported by the 90 machine */ 91#define HAVE_IEEEFP 1 92 93/* Define to `__inline__' or `__inline' if that's what the C compiler 94 calls it, or to nothing if 'inline' is not supported under any name. */ 95#ifndef __cplusplus 96# ifndef inline 97# define inline __inline 98# endif 99#endif 100 101#define lfind _lfind 102 103#define VSI_STAT64 _stat64 104#define VSI_STAT64_T __stat64 105 106#pragma warning(disable: 4786) 107 108/* Define to 1, if your compiler supports long long data type */ 109#define HAVE_LONG_LONG 1 110