FreeTDS API: win32/config.h Source File

FreeTDS API

- Main Page
- Related Pages
- Modules
- Classes
- Files

- File List
- File Members

All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
config.h
1 /* include/config.h. Generated by configure. */
2 /* include/config.h.in. Generated from configure.ac by autoheader. */
3
4 /* Define if building universal (internal helper macro) */
5 /* #undef AC_APPLE_UNIVERSAL_BUILD */
6
7 /* Define to 1 if you need BSD_COMP defined to get FIONBIO defined. */
8 /* #undef BSD_COMP */
9
10 /* Define to enable work in progress code */
11 /* #undef ENABLE_DEVELOPING */
12
13 /* Define to enable extra checks on code */
14 /* #undef ENABLE_EXTRA_CHECKS */
15
16 /* Defined if --enable-krb5 used and library detected */
17 /* #undef ENABLE_KRB5 */
18
19 /* Define to enable ODBC wide string support */
20 #define ENABLE_ODBC_WIDE 1
21
22 /* Define to 1 if you have the <arpa/inet.h> header file. */
23 /* #undef HAVE_ARPA_INET_H */
24
25 /* Define to 1 if you have the `asprintf' function. */
26 /* #undef HAVE_ASPRINTF */
27
28 /* Define to 1 if you have the <dlfcn.h> header file. */
29 /* #undef HAVE_DLFCN_H */
30
31 /* Define to 1 if you have the <errno.h> header file. */
32 #define HAVE_ERRNO_H 1
33
34 /* Define to 1 if your system provides the 5-parameter version of
35 gethostbyaddr_r(). */
36 /* #undef HAVE_FUNC_GETHOSTBYADDR_R_5 */
37
38 /* Define to 1 if your system provides the 7-parameter version of
39 gethostbyaddr_r(). */
40 /* #undef HAVE_FUNC_GETHOSTBYADDR_R_7 */
41
42 /* Define to 1 if your system provides the 8-parameter version of
43 gethostbyaddr_r(). */
44 /* #undef HAVE_FUNC_GETHOSTBYADDR_R_8 */
45
46 /* Define to 1 if your system provides the 3-parameter version of
47 gethostbyname_r(). */
48 /* #undef HAVE_FUNC_GETHOSTBYNAME_R_3 */
49
50 /* Define to 1 if your system provides the 5-parameter version of
51 gethostbyname_r(). */
52 /* #undef HAVE_FUNC_GETHOSTBYNAME_R_5 */
53
54 /* Define to 1 if your system provides the 6-parameter version of
55 gethostbyname_r(). */
56 /* #undef HAVE_FUNC_GETHOSTBYNAME_R_6 */
57
58 /* Define to 1 if your system provides the 4-parameter version of
59 getpwuid_r(). */
60 /* #undef HAVE_FUNC_GETPWUID_R_4 */
61
62 /* Define to 1 if your system getpwuid_r() have 4 parameters and return struct
63 passwd*. */
64 /* #undef HAVE_FUNC_GETPWUID_R_4_PW */
65
66 /* Define to 1 if your system provides the 4-parameter version of
67 getservbyname_r(). */
68 /* #undef HAVE_FUNC_GETSERVBYNAME_R_4 */
69
70 /* Define to 1 if your system provides the 5-parameter version of
71 getservbyname_r(). */
72 /* #undef HAVE_FUNC_GETSERVBYNAME_R_5 */
73
74 /* Define to 1 if your system provides the 6-parameter version of
75 getservbyname_r(). */
76 /* #undef HAVE_FUNC_GETSERVBYNAME_R_6 */
77
78 /* Define if you have getaddrinfo function */
79 #define HAVE_GETADDRINFO 1
80
81 /* Define to 1 if you have the `gethostname' function. */
82 #define HAVE_GETHOSTNAME 1
83
84 /* Define to 1 if you have the `getpwuid' function. */
85 /* #undef HAVE_GETPWUID */
86
87 /* Define to 1 if you have the `getpwuid_r' function. */
88 /* #undef HAVE_GETPWUID_R */
89
90 /* Define to 1 if you have the `gettimeofday' function. */
91 /* #undef HAVE_GETTIMEOFDAY */
92
93 /* Define to 1 if you have the `getuid' function. */
94 /* #undef HAVE_GETUID */
95
96 /* Define if you have the iconv() function. */
97 /* #undef HAVE_ICONV */
98
99 /* Define to 1 if you have the <inttypes.h> header file. */
100 /* #undef HAVE_INTTYPES_H */
101
102 /* Define to 1 if you have the <limits.h> header file. */
103 #define HAVE_LIMITS_H 1
104
105 /* Define to 1 if you have the <locale.h> header file. */
106 #define HAVE_LOCALE_H 1
107
108 /* Define to 1 if your system provides the malloc_options variable. */
109 /* #undef HAVE_MALLOC_OPTIONS */
110
111 /* Define to 1 if you have the <malloc.h> header file. */
112 #define HAVE_MALLOC_H 1
113
114 /* Define to 1 if you have the <memory.h> header file. */
115 #define HAVE_MEMORY_H 1
116
117 /* Define to 1 if you have the <netdb.h> header file. */
118 /* #undef HAVE_NETDB_H */
119
120 /* Define to 1 if you have the <netinet/in.h> header file. */
121 /* #undef HAVE_NETINET_IN_H */
122
123 /* Define to 1 if you have the <odbcss.h> header file. */
124 /* #undef HAVE_ODBCSS_H */
125
126 /* Define to 1 if you have the <paths.h> header file. */
127 /* #undef HAVE_PATHS_H */
128
129 /* Define to 1 if you have the GNU Readline library. */
130 /* #undef HAVE_READLINE */
131
132 /* Define to 1 if you have the SQLGetPrivateProfileString function. */
133 #define HAVE_SQLGETPRIVATEPROFILESTRING 1
134
135 /* Define if sqltypes.h define SQLLEN */
136 #define HAVE_SQLLEN 1
137
138 /* Define to 1 if the system has the type `SQLROWOFFSET'. */
139 /* #undef HAVE_SQLROWOFFSET */
140
141 /* Define to 1 if the system has the type `SQLROWSETSIZE'. */
142 /* #undef HAVE_SQLROWSETSIZE */
143
144 /* Define to 1 if the system has the type `SQLSETPOSIROW'. */
145 /* #undef HAVE_SQLSETPOSIROW */
146
147 /* Defined if not --disable-sspi and SSPI detected */
148 #define HAVE_SSPI 1
149
150 /* Define to 1 if you have the <stddef.h> header file. */
151 #define HAVE_STDDEF_H 1
152
153 /* Define to 1 if you have the <stdint.h> header file. */
154 #define HAVE_STDINT_H 1
155
156 /* Define to 1 if you have the <stdlib.h> header file. */
157 #define HAVE_STDLIB_H 1
158
159 /* Define to 1 if you have the <strings.h> header file. */
160 /* #undef HAVE_STRINGS_H */
161
162 /* Define to 1 if you have the <string.h> header file. */
163 #define HAVE_STRING_H 1
164
165 /* Define to 1 if you have the `strtok_r' function. */
166 /* #undef HAVE_STRTOK_R */
167
168 /* Define to 1 if you have the <sys/ioctl.h> header file. */
169 /* #undef HAVE_SYS_IOCTL_H */
170
171 /* Define to 1 if you have the <sys/param.h> header file. */
172 /* #undef HAVE_SYS_PARAM_H */
173
174 /* Define to 1 if you have the <sys/socket.h> header file. */
175 /* #define HAVE_SYS_SOCKET_H 1 */
176
177 /* Define to 1 if you have the <sys/stat.h> header file. */
178 /* #undef HAVE_SYS_STAT_H */
179
180 /* Define to 1 if you have the <sys/time.h> header file. */
181 #ifdef __GNUC__
182 # define HAVE_SYS_TIME_H 1
183 #endif
184
185 /* Define to 1 if you have the <sys/types.h> header file. */
186 #define HAVE_SYS_TYPES_H 1
187
188 /* Define to 1 if you have the <unistd.h> header file. */
189 /* #undef HAVE_UNISTD_H */
190
191 /* Define to 1 if you have the `vasprintf' function. */
192 /* #undef HAVE_VASPRINTF */
193
194 /* Define to 1 if you have the `vsnprintf' function. */
195 /* #undef HAVE_VSNPRINTF */
196
197 /* Define to 1 if you have the <wchar.h> header file. */
198 #define HAVE_WCHAR_H 1
199
200 /* Define to 1 if you have the `_vsnprintf' function. */
201 #define HAVE__VSNPRINTF 1
202
203 /* Define as const if the declaration of iconv() needs const. */
204 #define ICONV_CONST const
205
206 /* Define to value of INADDR_NONE if not provided by your system header files.
207 */
208 /* #undef INADDR_NONE */
209
210 /* Define to 1 if the BSD-style netdb interface is reentrant. */
211 #define NETDB_REENTRANT 1
212
213 /* Define to 1 if memset(0) sets pointers to NULL. */
214 #define NULL_REP_IS_ZERO_BYTES 1
215
216 /* Name of package */
217 #define PACKAGE "freetds"
218
219 /* Define to the address where bug reports for this package should be sent. */
220 #define PACKAGE_BUGREPORT ""
221
222 /* Define to the full name of this package. */
223 #define PACKAGE_NAME "FreeTDS"
224
225 /* Define to the full name and version of this package. */
226 #define PACKAGE_STRING ""
227
228 /* Define to the one symbol short name of this package. */
229 #define PACKAGE_TARNAME ""
230
231 /* Define to the version of this package. */
232 #define PACKAGE_VERSION ""
233
234 /* The size of `char', as computed by sizeof. */
235 #define SIZEOF_CHAR 1
236
237 /* The size of `double', as computed by sizeof. */
238 #define SIZEOF_DOUBLE 8
239
240 /* The size of `float', as computed by sizeof. */
241 #define SIZEOF_FLOAT 4
242
243 /* The size of `int', as computed by sizeof. */
244 #define SIZEOF_INT 4
245
246 /* The size of `long', as computed by sizeof. */
247 #define SIZEOF_LONG 4
248
249 /* The size of `long long', as computed by sizeof. */
250 #define SIZEOF_LONG_LONG 0
251
252 /* The size of `short', as computed by sizeof. */
253 #define SIZEOF_SHORT 2
254
255 /* The size of `SQLWCHAR', as computed by sizeof. */
256 #define SIZEOF_SQLWCHAR 2
257
258 /* The size of `wchar_t', as computed by sizeof. */
259 #define SIZEOF_WCHAR_T 2
260
261 /* The size of `__int64', as computed by sizeof. */
262 #define SIZEOF___INT64 8
263
264 /* Define to 1 if you have the ANSI C header files. */
265 #define STDC_HEADERS 1
266
267 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
268 #ifdef __GNUC__
269 # define TIME_WITH_SYS_TIME 1
270 #else
271 # define TIME_WITH_SYS_TIME 0
272 #endif
273
274 /* define to format string used for 64bit integers */
275 #define TDS_I64_PREFIX "I64"
276
277 /* Version number of package */
278 #define VERSION "0.95.6"
279
280 /* Define to 1 if your processor stores words with the most significant byte
281 first (like Motorola and SPARC, unlike Intel and VAX). */
282 /* #undef WORDS_BIGENDIAN */
283
284 /* Enable GNU extensions on systems that have them. */
285 #ifndef _GNU_SOURCE
286 # define _GNU_SOURCE 1
287 #endif
288
289 #undef HAVE_ODBCSS_H
290 #ifdef _MSC_VER
291 #define HAVE_ODBCSS_H 1
292 #endif
293
294 #define TDS42 1
295
296 #ifdef _MSC_VER
297 #define inline __inline
298 #endif
299
300 #include <winsock2.h>
301 #include <BaseTsd.h>
302
303 typedef SSIZE_T ssize_t;
304