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 */
40 /* Define if you want TCP Wrappers support */
41 /* #undef HAVE_LIBWRAP */
43 /* Define if you have sys/bitypes.h */
44 /* #undef HAVE_SYS_BITYPES_H */
46 /* Define if you have zlib */
47 /* #define HAVE_LIBZ 1 */
49 /* File daemon specif libraries */
53 /* What kind of signals we have */
54 /*#define HAVE_POSIX_SIGNALS 1 */
55 /* #undef HAVE_BSD_SIGNALS */
56 /* #undef HAVE_USG_SIGHOLD */
59 /* Set to correct scanf value for long long int */
62 /* #define USE_BSNPRINTF */
64 #define HAVE_STRTOLL 1
66 /* Define to 1 if you have `alloca', as a function or macro. */
69 #define alloca _alloca
72 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
74 #define HAVE_DIRENT_H 1
76 /* Define to 1 if you have the <fcntl.h> header file. */
77 #define HAVE_FCNTL_H 1
79 /* Define to 1 if you have the `getcwd' function. */
82 /* Define to 1 if you have the `gethostid' function. */
83 #define HAVE_GETHOSTID 1
85 /* Define to 1 if you have the `gethostname' function. */
86 #define HAVE_GETHOSTNAME 1
88 /* Define to 1 if you have the `getmntent' function. */
89 /*#define HAVE_GETMNTENT 1 */
91 /* Define to 1 if you have the `getpid' function. */
93 #define getpid _getpid
95 /* Define to 1 if you have the `gettimeofday' function. */
96 #define HAVE_GETTIMEOFDAY 1
98 /* Define to 1 if you have the <grp.h> header file. */
99 /*#define HAVE_GRP_H 1*/
101 /* Define to 1 if you have the `inet_pton' function. */
102 /* #undef HAVE_INET_PTON */
104 /* Define to 1 if you have the <inttypes.h> header file. */
105 #define HAVE_INTTYPES_H 1
107 /* Define to 1 if you have the `lchown' function. */
108 #define HAVE_LCHOWN 1
110 /* Define to 1 if you have the <limits.h> header file. */
111 #define HAVE_LIMITS_H 1
113 /* Define to 1 if you have the `localtime_r' function. */
114 #define HAVE_LOCALTIME_R 1
116 /* Define to 1 if you have the `lstat' function. */
119 /* Define to 1 if you have the <memory.h> header file. */
120 #define HAVE_MEMORY_H 1
122 /* Define to 1 if you have the <mtio.h> header file. */
123 /* #undef HAVE_MTIO_H */
125 /* Define to 1 if you have the `nanosleep' function. */
126 #define HAVE_NANOSLEEP 1
128 /* Define to 1 if you have the <pwd.h> header file. */
129 /*#define HAVE_PWD_H 1*/
131 /* Define to 1 if you have the `readdir_r' function. */
132 /* #undef HAVE_READDIR_R */
134 /* Define to 1 if you have the <resolv.h> header file. */
135 /*#define HAVE_RESOLV_H 1*/
137 /* Define to 1 if you have the `select' function. */
138 #define HAVE_SELECT 1
140 /* Define to 1 if you have the `setenv' function. */
141 #define HAVE_SETENV 1
143 /* Define to 1 if you have the `setlocale' function. */
144 #undef HAVE_SETLOCALE
146 /* Define to 1 if translation of program messages to the user's native
147 language is requested. */
148 #if (defined _MSC_VER) && (_MSC_VER >= 1400) // VC8+
149 /* Enable NLS only if we are using the new VC++.
150 * NLS should also work with VC++ 7.1, but the Makefiles are
151 * not adapted to support it (include, lib...). */
156 #define LOCALEDIR "."
158 #undef HAVE_NL_LANGINFO
160 /* Define to 1 if you have the `setpgid' function. */
161 #define HAVE_SETPGID 1
163 /* Define to 1 if you have the `setpgrp' function. */
164 #define HAVE_SETPGRP 1
166 /* Define to 1 if you have the `setsid' function. */
167 #define HAVE_SETSID 1
169 /* Define to 1 if you have the `signal' function. */
170 /*#define HAVE_SIGNAL 1 */
172 /* Define to 1 if you have the `snprintf' function. */
173 #define HAVE_SNPRINTF 1
175 /* Define to 1 if you have the <stdarg.h> header file. */
176 #define HAVE_STDARG_H 1
178 /* Define to 1 if you have the <stdint.h> header file. */
179 #define HAVE_STDINT_H 1
181 /* Define to 1 if you have the <stdlib.h> header file. */
182 #define HAVE_STDLIB_H 1
184 /* Define to 1 if you have the `strcasecmp' function. */
185 #define HAVE_STRCASECMP 1
187 /* Define to 1 if you have the `strerror' function. */
188 #define HAVE_STRERROR 1
190 /* Define to 1 if you have the `strerror_r' function. */
191 #define HAVE_STRERROR_R 1
193 /* Define to 1 if you have the `strftime' function. */
194 #define HAVE_STRFTIME 1
196 /* Define to 1 if you have the <strings.h> header file. */
197 #define HAVE_STRINGS_H 1
199 /* Define to 1 if you have the <string.h> header file. */
200 #define HAVE_STRING_H 1
202 /* Define to 1 if you have the `strncmp' function. */
203 #define HAVE_STRNCMP 1
205 /* Define to 1 if you have the `strncpy' function. */
206 #define HAVE_STRNCPY 1
208 /* Define to 1 if you have the `strtoll' function. */
209 #define HAVE_STRTOLL 1
211 /* Define to 1 if `st_blksize' is member of `struct stat'. */
212 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
214 /* Define to 1 if `st_blocks' is member of `struct stat'. */
215 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
217 /* Define to 1 if `st_rdev' is member of `struct stat'. */
218 #define HAVE_STRUCT_STAT_ST_RDEV 1
220 /* Define to 1 if `tm_zone' is member of `struct tm'. */
221 /* #undef HAVE_STRUCT_TM_TM_ZONE */
223 /* Define to 1 if your `struct stat' has `st_blksize'. Deprecated, use
224 `HAVE_STRUCT_STAT_ST_BLKSIZE' instead. */
225 #define HAVE_ST_BLKSIZE 1
227 /* Define to 1 if your `struct stat' has `st_blocks'. Deprecated, use
228 `HAVE_STRUCT_STAT_ST_BLOCKS' instead. */
229 #define HAVE_ST_BLOCKS 1
231 /* Define to 1 if your `struct stat' has `st_rdev'. Deprecated, use
232 `HAVE_STRUCT_STAT_ST_RDEV' instead. */
233 #define HAVE_ST_RDEV 1
235 /* Define to 1 if you have the <sys/byteorder.h> header file. */
236 /* #undef HAVE_SYS_BYTEORDER_H */
238 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
240 /* #undef HAVE_SYS_DIR_H */
242 /* Define to 1 if you have the <sys/ioctl.h> header file. */
243 #define HAVE_SYS_IOCTL_H 1
245 /* Define to 1 if you have the <sys/mtio.h> header file. */
246 #define HAVE_SYS_MTIO_H 1
248 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
250 /* #undef HAVE_SYS_NDIR_H */
252 /* Define to 1 if you have the <sys/select.h> header file. */
253 #define HAVE_SYS_SELECT_H 1
255 /* Define to 1 if you have the <sys/socket.h> header file. */
256 #define HAVE_SYS_SOCKET_H 1
258 /* Define to 1 if you have the <sys/sockio.h> header file. */
259 /* #undef HAVE_SYS_SOCKIO_H */
261 /* Define to 1 if you have the <sys/stat.h> header file. */
262 #define HAVE_SYS_STAT_H 1
264 /* Define to 1 if you have the <sys/time.h> header file. */
265 #define HAVE_SYS_TIME_H 1
267 /* Define to 1 if you have the <sys/types.h> header file. */
268 #define HAVE_SYS_TYPES_H 1
270 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
271 #define HAVE_SYS_WAIT_H 1
273 /* Define to 1 if you have the `tcgetattr' function. */
274 #define HAVE_TCGETATTR 1
276 /* Define to 1 if you have the <termios.h> header file. */
277 #define HAVE_TERMIOS_H 1
279 /* Define to 1 if your `struct tm' has `tm_zone'. Deprecated, use
280 `HAVE_STRUCT_TM_TM_ZONE' instead. */
281 /* #undef HAVE_TM_ZONE */
283 /* Define to 1 if you don't have `tm_zone' but do have the external array
285 #define HAVE_TZNAME 1
287 /* Define to 1 if you have the <unistd.h> header file. */
288 #define HAVE_UNISTD_H 1
290 /* Define to 1 if you have the <varargs.h> header file. */
291 /* #undef HAVE_VARARGS_H */
293 /* Define to 1 if you have the `vfprintf' function. */
294 #define HAVE_VFPRINTF 1
296 /* Define to 1 if you have the `vprintf' function. */
297 #define HAVE_VPRINTF 1
299 /* Define to 1 if you have the `vsnprintf' function. */
300 #define HAVE_VSNPRINTF 1
302 /* Define to 1 if you have the <zlib.h> header file. */
303 /* #define HAVE_ZLIB_H 1 */
305 /* Define to 1 if `major', `minor', and `makedev' are declared in <mkdev.h>.
307 /* #undef MAJOR_IN_MKDEV */
309 /* Define to 1 if `major', `minor', and `makedev' are declared in
311 /* #undef MAJOR_IN_SYSMACROS */
313 /* Define to 1 if your C compiler doesn't accept -c and -o together. */
314 /* #undef NO_MINUS_C_MINUS_O */
316 /* Define to the address where bug reports for this package should be sent. */
317 #define PACKAGE_BUGREPORT ""
319 /* Define to the full name of this package. */
320 #define PACKAGE_NAME ""
322 /* Define to the full name and version of this package. */
323 #define PACKAGE_STRING ""
325 /* Define to the one symbol short name of this package. */
326 #define PACKAGE_TARNAME ""
328 /* Define to the version of this package. */
329 #define PACKAGE_VERSION ""
331 /* Define as the return type of signal handlers (`int' or `void'). */
332 #define RETSIGTYPE void
334 /* Define to 1 if the `setpgrp' function takes no argument. */
335 #define SETPGRP_VOID 1
337 /* The size of a `char', as computed by sizeof. */
338 #define SIZEOF_CHAR 1
340 /* The size of a `int', as computed by sizeof. */
343 /* The size of a `int *', as computed by sizeof. */
344 #define SIZEOF_INT_P 4
346 /* The size of a `long int', as computed by sizeof. */
347 #define SIZEOF_LONG_INT 4
349 /* The size of a `long long int', as computed by sizeof. */
350 #define SIZEOF_LONG_LONG_INT 8
352 /* The size of a `short int', as computed by sizeof. */
353 #define SIZEOF_SHORT_INT 2
355 /* If using the C implementation of alloca, define if you know the
356 direction of stack growth for your system; otherwise it will be
357 automatically deduced at run-time.
358 STACK_DIRECTION > 0 => grows toward higher addresses
359 STACK_DIRECTION < 0 => grows toward lower addresses
360 STACK_DIRECTION = 0 => direction of growth unknown */
361 /* #undef STACK_DIRECTION */
364 /* Define to 1 if you have the ANSI C header files. */
365 #define STDC_HEADERS 1
367 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
368 #define TIME_WITH_SYS_TIME 1
370 /* Define to 1 if your <sys/time.h> declares `struct tm'. */
371 /* #undef TM_IN_SYS_TIME */
374 #endif /* __MINGWNCONFIG_H */