root/trunk/gdal/port/cpl_config.h.vc

Revision 14467, 2.6 kB (checked in by dron, 2 months ago)

No need to test for copysign anymore.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1
2 /* We define this here in general so that a VC++ build will publically
3    declare STDCALL interfaces even if an application is built against it
4    using MinGW */
5
6 #ifndef CPL_DISABLE_STDCALL
7 #  define CPL_STDCALL __stdcall
8 #endif
9
10 /* Define if you don't have vprintf but do have _doprnt.  */
11 #undef HAVE_DOPRNT
12
13 /* Define if you have the vprintf function.  */
14 #define HAVE_VPRINTF 1
15 #define HAVE_VSNPRINTF 1
16 #define HAVE_SNPRINTF 1
17 #if (_MSC_VER < 1500)
18 #  define vsnprintf _vsnprintf
19 #endif
20 #define snprintf _snprintf
21
22 #define HAVE_GETCWD 1
23 #define getcwd _getcwd
24
25 /* Define if you have the ANSI C header files.  */
26 #ifndef STDC_HEADERS
27 #  define STDC_HEADERS
28 #endif
29
30 /* Define to 1 if you have the <assert.h> header file. */
31 #define HAVE_ASSERT_H 1
32
33 /* Define to 1 if you have the <fcntl.h> header file.  */
34 #define HAVE_FCNTL_H 1
35
36 /* Define if you have the <unistd.h> header file.  */
37 #undef HAVE_UNISTD_H
38
39 /* Define if you have the <stdint.h> header file.  */
40 #undef HAVE_STDINT_H
41
42 /* Define to 1 if you have the <sys/types.h> header file. */
43 #define HAVE_SYS_TYPES_H 1
44
45 #undef HAVE_LIBDL
46
47 /* Define to 1 if you have the <locale.h> header file. */
48 #define HAVE_LOCALE_H 1
49
50 #define HAVE_FLOAT_H 1
51
52 #define HAVE_ERRNO_H 1
53
54 #define HAVE_SEARCH_H 1
55
56 /* Define to 1 if you have the <direct.h> header file. */
57 #define HAVE_DIRECT_H
58
59 /* Define to 1 if you have the `localtime_r' function. */
60 #undef HAVE_LOCALTIME_R
61
62 #undef HAVE_DLFCN_H
63 #undef HAVE_DBMALLOC_H
64 #undef HAVE_LIBDBMALLOC
65 #undef WORDS_BIGENDIAN
66
67 /* The size of a `int', as computed by sizeof. */
68 #define SIZEOF_INT 4
69
70 /* The size of a `long', as computed by sizeof. */
71 #define SIZEOF_LONG 4
72
73 /* The size of a `unsigned long', as computed by sizeof. */
74 #define SIZEOF_UNSIGNED_LONG 4
75
76 /* The size of `void*', as computed by sizeof. */
77 #ifdef _WIN64
78 # define SIZEOF_VOIDP 8
79 #else
80 # define SIZEOF_VOIDP 4
81 #endif
82
83 /* Set the native cpu bit order */
84 #define HOST_FILLORDER FILLORDER_LSB2MSB
85
86 /* Define as 0 or 1 according to the floating point format suported by the
87    machine */
88 #define HAVE_IEEEFP 1
89
90 /* What to use to force variables to be threadlocal */
91 /* #define CPL_THREADLOCAL __declspec(thread)  */
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 #if (_MSC_VER < 1500)
104 #  define VSI_STAT64 _stat
105 #  define VSI_STAT64_T _stat
106 #else
107 #  define VSI_STAT64 _stat64
108 #  define VSI_STAT64_T __stat64
109 #endif
110
111 #pragma warning(disable: 4786)
112
113 /* #define CPL_DISABLE_DLL */
114
Note: See TracBrowser for help on using the browser.