2 * This file was originally generated by configure, but has been edited
3 * to provide the correct defines for the Native Win32 build under
6 /* ------------------------------------------------------------------------- */
7 /* -- CONFIGURE SPECIFIED FEATURES -- */
8 /* ------------------------------------------------------------------------- */
10 #ifndef __MINGWCONFIG_H
11 #define __MINGWCONFIG_H
14 /* Define if you want SmartAlloc debug code enabled */
17 /* Define if you want to use Batch Mode */
18 /* #define HAVE_BATCH_FILE_INSERT 1 */
20 /* Define if you need function prototypes */
23 /* Define if you have GCC */
26 /* Define to 1 if utime.h exists and declares struct utimbuf. */
27 #define HAVE_UTIME_H 1
31 #define HAVE_INTXX_T 1
32 #define HAVE_U_INTXX_T 1
33 /* #undef HAVE_UINTXX_T */
34 #define HAVE_INT64_T 1
35 #define HAVE_U_INT64_T 1
36 #define HAVE_UINT64_T 1
37 #define HAVE_INTMAX_T 1
38 /* #undef HAVE_U_INTMAX_T */
39 #define HAVE_UINTPTR_T 1
40 #define HAVE_INTPTR_T 1
42 /* Define if you want TCP Wrappers support */
43 /* #undef HAVE_LIBWRAP */
45 /* Define if you have sys/bitypes.h */
46 /* #undef HAVE_SYS_BITYPES_H */
48 /* Define if you have zlib */
49 /* #define HAVE_LIBZ 1 */
51 /* File daemon specif libraries */
55 /* What kind of signals we have */
56 /*#define HAVE_POSIX_SIGNALS 1 */
57 /* #undef HAVE_BSD_SIGNALS */
58 /* #undef HAVE_USG_SIGHOLD */
61 /* Set to correct scanf value for long long int */
64 /* #define USE_BSNPRINTF */
66 #define HAVE_STRTOLL 1
68 /* Define to 1 if you have `alloca', as a function or macro. */
71 #define alloca _alloca
74 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
76 #define HAVE_DIRENT_H 1
78 /* Define to 1 if you have the <fcntl.h> header file. */
79 #define HAVE_FCNTL_H 1
81 /* Define to 1 if you have the `getcwd' function. */
84 /* Define to 1 if you have the `gethostid' function. */
85 #define HAVE_GETHOSTID 1
87 /* Define to 1 if you have the `gethostname' function. */
88 #define HAVE_GETHOSTNAME 1
90 /* Define to 1 if you have the `getmntent' function. */
91 /*#define HAVE_GETMNTENT 1 */
93 /* Define to 1 if you have the `getpid' function. */
95 #define getpid _getpid
97 /* Define to 1 if you have the `gettimeofday' function. */
98 #define HAVE_GETTIMEOFDAY 1
100 /* Define to 1 if you have the <grp.h> header file. */
101 /*#define HAVE_GRP_H 1*/
103 /* Define to 1 if you have the `inet_pton' function. */
104 /* #undef HAVE_INET_PTON */
106 /* Define to 1 if you have the <inttypes.h> header file. */
107 #define HAVE_INTTYPES_H 1
109 /* Define to 1 if you have the `lchown' function. */
110 #define HAVE_LCHOWN 1
112 /* Define to 1 if you have the <limits.h> header file. */
113 #define HAVE_LIMITS_H 1
115 /* Define to 1 if you have the `localtime_r' function. */
116 #define HAVE_LOCALTIME_R 1
118 /* Define to 1 if you have the `lstat' function. */
121 /* Define to 1 if you have the <memory.h> header file. */
122 #define HAVE_MEMORY_H 1
124 /* Define to 1 if you have the <mtio.h> header file. */
125 /* #undef HAVE_MTIO_H */
127 /* Define to 1 if you have the `nanosleep' function. */
128 #define HAVE_NANOSLEEP 1
130 /* Define to 1 if you have the <pwd.h> header file. */
131 /*#define HAVE_PWD_H 1*/
133 /* Define to 1 if you have the `readdir_r' function. */
134 /* #undef HAVE_READDIR_R */
136 /* Define to 1 if you have the <resolv.h> header file. */
137 /*#define HAVE_RESOLV_H 1*/
139 /* Define to 1 if you have the `select' function. */
140 #define HAVE_SELECT 1
142 /* Define to 1 if you have the `setenv' function. */
143 #define HAVE_SETENV 1
145 /* Define to 1 if you have the `setlocale' function. */
146 #undef HAVE_SETLOCALE
148 /* Define to 1 if translation of program messages to the user's native
149 language is requested. */
150 #if (defined _MSC_VER) && (_MSC_VER >= 1400) // VC8+
151 /* Enable NLS only if we are using the new VC++.
152 * NLS should also work with VC++ 7.1, but the Makefiles are
153 * not adapted to support it (include, lib...). */
158 #define LOCALEDIR "."
160 #undef HAVE_NL_LANGINFO
162 /* Define to 1 if you have the `setpgid' function. */
163 #define HAVE_SETPGID 1
165 /* Define to 1 if you have the `setpgrp' function. */
166 #define HAVE_SETPGRP 1
168 /* Define to 1 if you have the `setsid' function. */
169 #define HAVE_SETSID 1
171 /* Define to 1 if you have the `signal' function. */
172 /*#define HAVE_SIGNAL 1 */
174 /* Define to 1 if you have the `snprintf' function. */
175 #define HAVE_SNPRINTF 1
177 /* Define to 1 if you have the <stdarg.h> header file. */
178 #define HAVE_STDARG_H 1
180 /* Define to 1 if you have the <stdint.h> header file. */
181 #define HAVE_STDINT_H 1
183 /* Define to 1 if you have the <stdlib.h> header file. */
184 #define HAVE_STDLIB_H 1
186 /* Define to 1 if you have the `strcasecmp' function. */
187 #define HAVE_STRCASECMP 1
189 /* Define to 1 if you have the `strerror' function. */
190 #define HAVE_STRERROR 1
192 /* Define to 1 if you have the `strerror_r' function. */
193 #define HAVE_STRERROR_R 1
195 /* Define to 1 if you have the `strftime' function. */
196 #define HAVE_STRFTIME 1
198 /* Define to 1 if you have the <strings.h> header file. */
199 #define HAVE_STRINGS_H 1
201 /* Define to 1 if you have the <string.h> header file. */
202 #define HAVE_STRING_H 1
204 /* Define to 1 if you have the `strncmp' function. */
205 #define HAVE_STRNCMP 1
207 /* Define to 1 if you have the `strncpy' function. */
208 #define HAVE_STRNCPY 1
210 /* Define to 1 if you have the `strtoll' function. */
211 #define HAVE_STRTOLL 1
213 /* Define to 1 if `st_blksize' is member of `struct stat'. */
214 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
216 /* Define to 1 if `st_blocks' is member of `struct stat'. */
217 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
219 /* Define to 1 if `st_rdev' is member of `struct stat'. */
220 #define HAVE_STRUCT_STAT_ST_RDEV 1
222 /* Define to 1 if `tm_zone' is member of `struct tm'. */
223 /* #undef HAVE_STRUCT_TM_TM_ZONE */
225 /* Define to 1 if your `struct stat' has `st_blksize'. Deprecated, use
226 `HAVE_STRUCT_STAT_ST_BLKSIZE' instead. */
227 #define HAVE_ST_BLKSIZE 1
229 /* Define to 1 if your `struct stat' has `st_blocks'. Deprecated, use
230 `HAVE_STRUCT_STAT_ST_BLOCKS' instead. */
231 #define HAVE_ST_BLOCKS 1
233 /* Define to 1 if your `struct stat' has `st_rdev'. Deprecated, use
234 `HAVE_STRUCT_STAT_ST_RDEV' instead. */
235 #define HAVE_ST_RDEV 1
237 /* Define to 1 if you have the <sys/byteorder.h> header file. */
238 /* #undef HAVE_SYS_BYTEORDER_H */
240 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
242 /* #undef HAVE_SYS_DIR_H */
244 /* Define to 1 if you have the <sys/ioctl.h> header file. */
245 #define HAVE_SYS_IOCTL_H 1
247 /* Define to 1 if you have the <sys/mtio.h> header file. */
248 #define HAVE_SYS_MTIO_H 1
250 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
252 /* #undef HAVE_SYS_NDIR_H */
254 /* Define to 1 if you have the <sys/select.h> header file. */
255 #define HAVE_SYS_SELECT_H 1
257 /* Define to 1 if you have the <sys/socket.h> header file. */
258 #define HAVE_SYS_SOCKET_H 1
260 /* Define to 1 if you have the <sys/sockio.h> header file. */
261 /* #undef HAVE_SYS_SOCKIO_H */
263 /* Define to 1 if you have the <sys/stat.h> header file. */
264 #define HAVE_SYS_STAT_H 1
266 /* Define to 1 if you have the <sys/time.h> header file. */
267 #define HAVE_SYS_TIME_H 1
269 /* Define to 1 if you have the <sys/types.h> header file. */
270 #define HAVE_SYS_TYPES_H 1
272 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
273 #define HAVE_SYS_WAIT_H 1
275 /* Define to 1 if you have the `tcgetattr' function. */
276 #define HAVE_TCGETATTR 1
278 /* Define to 1 if you have the <termios.h> header file. */
279 #define HAVE_TERMIOS_H 1
281 /* Define to 1 if your `struct tm' has `tm_zone'. Deprecated, use
282 `HAVE_STRUCT_TM_TM_ZONE' instead. */
283 /* #undef HAVE_TM_ZONE */
285 /* Define to 1 if you don't have `tm_zone' but do have the external array
287 #define HAVE_TZNAME 1
289 /* Define to 1 if you have the <unistd.h> header file. */
290 #define HAVE_UNISTD_H 1
292 /* Define to 1 if you have the <varargs.h> header file. */
293 /* #undef HAVE_VARARGS_H */
295 /* Define to 1 if you have the `vfprintf' function. */
296 #define HAVE_VFPRINTF 1
298 /* Define to 1 if you have the `vprintf' function. */
299 #define HAVE_VPRINTF 1
301 /* Define to 1 if you have the `vsnprintf' function. */
302 #define HAVE_VSNPRINTF 1
304 /* Define to 1 if you have the <zlib.h> header file. */
305 /* #define HAVE_ZLIB_H 1 */
307 /* Define to 1 if `major', `minor', and `makedev' are declared in <mkdev.h>.
309 /* #undef MAJOR_IN_MKDEV */
311 /* Define to 1 if `major', `minor', and `makedev' are declared in
313 /* #undef MAJOR_IN_SYSMACROS */
315 /* Define to 1 if your C compiler doesn't accept -c and -o together. */
316 /* #undef NO_MINUS_C_MINUS_O */
318 /* Define to the address where bug reports for this package should be sent. */
319 #define PACKAGE_BUGREPORT ""
321 /* Define to the full name of this package. */
322 #define PACKAGE_NAME ""
324 /* Define to the full name and version of this package. */
325 #define PACKAGE_STRING ""
327 /* Define to the one symbol short name of this package. */
328 #define PACKAGE_TARNAME ""
330 /* Define to the version of this package. */
331 #define PACKAGE_VERSION ""
333 /* Define as the return type of signal handlers (`int' or `void'). */
334 #define RETSIGTYPE void
336 /* Define to 1 if the `setpgrp' function takes no argument. */
337 #define SETPGRP_VOID 1
339 /* The size of a `char', as computed by sizeof. */
340 #define SIZEOF_CHAR 1
342 /* The size of a `int', as computed by sizeof. */
345 /* The size of a `int *', as computed by sizeof. */
346 #define SIZEOF_INT_P 4
348 /* The size of a `long int', as computed by sizeof. */
349 #define SIZEOF_LONG_INT 4
351 /* The size of a `long long int', as computed by sizeof. */
352 #define SIZEOF_LONG_LONG_INT 8
354 /* The size of a `short int', as computed by sizeof. */
355 #define SIZEOF_SHORT_INT 2
357 /* If using the C implementation of alloca, define if you know the
358 direction of stack growth for your system; otherwise it will be
359 automatically deduced at run-time.
360 STACK_DIRECTION > 0 => grows toward higher addresses
361 STACK_DIRECTION < 0 => grows toward lower addresses
362 STACK_DIRECTION = 0 => direction of growth unknown */
363 /* #undef STACK_DIRECTION */
366 /* Define to 1 if you have the ANSI C header files. */
367 #define STDC_HEADERS 1
369 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
370 #define TIME_WITH_SYS_TIME 1
372 /* Define to 1 if your <sys/time.h> declares `struct tm'. */
373 /* #undef TM_IN_SYS_TIME */
376 #endif /* __MINGWNCONFIG_H */