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