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 * Note!!! We normally build the Windows versions with this header
7 * file. We use the Mingw environment.
9 /* ------------------------------------------------------------------------- */
10 /* -- CONFIGURE SPECIFIED FEATURES -- */
11 /* ------------------------------------------------------------------------- */
13 #ifndef __MINGWCONFIG_H
14 #define __MINGWCONFIG_H
17 #define _WIN32_WINNT 0x0602
19 #define _WIN32_IE 0x7000
21 /* To compile with the new mingw-w64*/
23 # define HAVE_FSEEKO 1
25 # define HAVE_OPENSSLv1
26 # define __MIDL_user_allocate_free_DEFINED__
33 /* Define if you want SmartAlloc debug code enabled */
36 /* Use EmptyWorkSet as malloc_trim emulation */
37 #define HAVE_MALLOC_TRIM 1
39 /* Define if you want to use Batch Mode */
40 /* #define HAVE_BATCH_FILE_INSERT 1 */
42 /* Define if you need function prototypes */
45 /* Define if you have GCC */
48 /* Define to 1 if utime.h exists and declares struct utimbuf. */
49 #define HAVE_UTIME_H 1
53 #define HAVE_INTXX_T 1
54 #define HAVE_U_INTXX_T 1
55 /* #undef HAVE_UINTXX_T */
56 #define HAVE_INT64_T 1
57 #define HAVE_U_INT64_T 1
58 #define HAVE_UINT64_T 1
59 #define HAVE_INTMAX_T 1
60 /* #undef HAVE_U_INTMAX_T */
61 #define HAVE_UINTPTR_T 1
62 #define HAVE_INTPTR_T 1
64 /* Define if you want TCP Wrappers support */
65 /* #undef HAVE_LIBWRAP */
67 /* Define if you have sys/bitypes.h */
68 /* #undef HAVE_SYS_BITYPES_H */
70 /* Define if you have zlib */
73 /* Define if you have lzo lib */
76 /* Define to 1 if you have the <lzo/lzoconf.h> header file. */
77 #define HAVE_LZO_LZOCONF_H 1
80 /* File daemon specif libraries */
84 /* What kind of signals we have */
85 /*#define HAVE_POSIX_SIGNALS 1 */
86 /* #undef HAVE_BSD_SIGNALS */
87 /* #undef HAVE_USG_SIGHOLD */
90 /* Set to correct scanf value for long long int */
93 /* #define USE_BSNPRINTF */
95 #define HAVE_STRTOLL 1
97 /* Define to 1 if you have `alloca', as a function or macro. */
100 #define alloca _alloca
103 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
105 #define HAVE_DIRENT_H 1
107 /* Define to 1 if you have the <fcntl.h> header file. */
108 #define HAVE_FCNTL_H 1
110 /* Define to 1 if you have the `getcwd' function. */
111 #define HAVE_GETCWD 1
113 /* Define to 1 if you have the `gethostid' function. */
114 #define HAVE_GETHOSTID 1
116 /* Define to 1 if you have the `gethostname' function. */
117 #define HAVE_GETHOSTNAME 1
119 /* Define to 1 if you have the `getmntent' function. */
120 /*#define HAVE_GETMNTENT 1 */
122 /* Define to 1 if you have the `getpid' function. */
123 #define HAVE_GETPID 1
124 #define getpid _getpid
126 /* Define to 1 if you have the `gettimeofday' function. */
127 #define HAVE_GETTIMEOFDAY 1
129 /* Define to 1 if you have the <grp.h> header file. */
130 /*#define HAVE_GRP_H 1*/
132 /* Define to 1 if you have the `inet_pton' function. */
133 /* #undef HAVE_INET_PTON */
135 /* Define to 1 if you have the `inet_pton' function. */
136 /* #undef HAVE_INET_NTOP */
138 /* Define to 1 if you have the `getaddrinfo' function. */
139 #define HAVE_GETADDRINFO 1
141 /* Define to 1 if you have the `getnameinfo' function. */
142 #define HAVE_GETNAMEINFO 1
144 /* Define to 1 if you have the <inttypes.h> header file. */
145 #define HAVE_INTTYPES_H 1
147 /* Define to 1 if you have the `lchown' function. */
148 #define HAVE_LCHOWN 1
150 /* Define to 1 if you have the <limits.h> header file. */
151 #define HAVE_LIMITS_H 1
153 /* Define to 1 if you have the `localtime_r' function. */
154 #define HAVE_LOCALTIME_R 1
156 /* Define to 1 if you have the `lstat' function. */
159 /* Define to 1 if you have the <memory.h> header file. */
160 #define HAVE_MEMORY_H 1
162 /* Define to 1 if you have the <mtio.h> header file. */
163 /* #undef HAVE_MTIO_H */
165 /* Define to 1 if you have the `nanosleep' function. */
166 #define HAVE_NANOSLEEP 1
168 /* Define to 1 if you have the <pwd.h> header file. */
169 /*#define HAVE_PWD_H 1*/
171 /* Define to 1 if you have the `readdir_r' function. */
172 /* #undef HAVE_READDIR_R */
174 /* Define to 1 if you have the <resolv.h> header file. */
175 /*#define HAVE_RESOLV_H 1*/
177 /* Define to 1 if you have the `select' function. */
178 #define HAVE_SELECT 1
180 /* Define to 1 if you have the `setenv' function. */
181 /* #undef HAVE_SETENV */
183 #define HAVE_PUTENV 1
185 /* Define to 1 if you have the `setlocale' function. */
186 #undef HAVE_SETLOCALE
188 /* Define to 1 if translation of program messages to the user's native
189 language is requested. */
190 #if (defined _MSC_VER) && (_MSC_VER >= 1400) // VC8+
191 /* Enable NLS only if we are using the new VC++.
192 * NLS should also work with VC++ 7.1, but the Makefiles are
193 * not adapted to support it (include, lib...). */
198 #define LOCALEDIR "."
200 #undef HAVE_NL_LANGINFO
202 /* Define to 1 if you have the `setpgid' function. */
203 #define HAVE_SETPGID 1
205 /* Define to 1 if you have the `setpgrp' function. */
206 #define HAVE_SETPGRP 1
208 /* Define to 1 if you have the `setsid' function. */
209 #define HAVE_SETSID 1
211 /* Define to 1 if you have the `signal' function. */
212 /*#define HAVE_SIGNAL 1 */
214 /* Define to 1 if you have the `snprintf' function. */
215 #define HAVE_SNPRINTF 1
217 /* Define to 1 if you have the <stdarg.h> header file. */
218 #define HAVE_STDARG_H 1
220 /* Define to 1 if you have the <stdint.h> header file. */
221 #define HAVE_STDINT_H 1
223 /* Define to 1 if you have the <stdlib.h> header file. */
224 #define HAVE_STDLIB_H 1
226 /* Define to 1 if you have the `strcasecmp' function. */
227 #define HAVE_STRCASECMP 1
229 /* Define to 1 if you have the `strerror' function. */
230 #define HAVE_STRERROR 1
232 /* Define to 1 if you have the `strerror_r' function. */
233 #define HAVE_STRERROR_R 1
235 /* Define to 1 if you have the `strftime' function. */
236 #define HAVE_STRFTIME 1
238 /* Define to 1 if you have the <strings.h> header file. */
239 #define HAVE_STRINGS_H 1
241 /* Define to 1 if you have the <string.h> header file. */
242 #define HAVE_STRING_H 1
244 /* Define to 1 if you have the `strncmp' function. */
245 #define HAVE_STRNCMP 1
247 /* Define to 1 if you have the `strncpy' function. */
248 #define HAVE_STRNCPY 1
250 /* Define to 1 if you have the `strtoll' function. */
251 #define HAVE_STRTOLL 1
253 /* Define to 1 if `st_blksize' is member of `struct stat'. */
254 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
256 /* Define to 1 if `st_blocks' is member of `struct stat'. */
257 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
259 /* Define to 1 if `st_rdev' is member of `struct stat'. */
260 #define HAVE_STRUCT_STAT_ST_RDEV 1
262 /* Define to 1 if `tm_zone' is member of `struct tm'. */
263 /* #undef HAVE_STRUCT_TM_TM_ZONE */
265 /* Define to 1 if your `struct stat' has `st_blksize'. Deprecated, use
266 `HAVE_STRUCT_STAT_ST_BLKSIZE' instead. */
267 #define HAVE_ST_BLKSIZE 1
269 /* Define to 1 if your `struct stat' has `st_blocks'. Deprecated, use
270 `HAVE_STRUCT_STAT_ST_BLOCKS' instead. */
271 #define HAVE_ST_BLOCKS 1
273 /* Define to 1 if your `struct stat' has `st_rdev'. Deprecated, use
274 `HAVE_STRUCT_STAT_ST_RDEV' instead. */
275 #define HAVE_ST_RDEV 1
277 /* Define to 1 if you have the <sys/byteorder.h> header file. */
278 /* #undef HAVE_SYS_BYTEORDER_H */
280 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
282 /* #undef HAVE_SYS_DIR_H */
284 /* Define to 1 if you have the <sys/ioctl.h> header file. */
285 #define HAVE_SYS_IOCTL_H 1
287 /* Define to 1 if you have the <sys/mtio.h> header file. */
288 #define HAVE_SYS_MTIO_H 1
290 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
292 /* #undef HAVE_SYS_NDIR_H */
294 /* Define to 1 if you have the <sys/select.h> header file. */
295 #define HAVE_SYS_SELECT_H 1
297 /* Define to 1 if you have the <sys/socket.h> header file. */
298 #define HAVE_SYS_SOCKET_H 1
300 /* Define to 1 if you have the <sys/sockio.h> header file. */
301 /* #undef HAVE_SYS_SOCKIO_H */
303 /* Define to 1 if you have the <sys/stat.h> header file. */
304 #define HAVE_SYS_STAT_H 1
306 /* Define to 1 if you have the <sys/time.h> header file. */
307 #define HAVE_SYS_TIME_H 1
309 /* Define to 1 if you have the <sys/types.h> header file. */
310 #define HAVE_SYS_TYPES_H 1
312 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
313 #define HAVE_SYS_WAIT_H 1
315 /* Define to 1 if you have the `tcgetattr' function. */
316 #define HAVE_TCGETATTR 1
318 /* Define to 1 if you have the <termios.h> header file. */
319 #define HAVE_TERMIOS_H 1
321 /* Define to 1 if your `struct tm' has `tm_zone'. Deprecated, use
322 `HAVE_STRUCT_TM_TM_ZONE' instead. */
323 /* #undef HAVE_TM_ZONE */
325 /* Define to 1 if you don't have `tm_zone' but do have the external array
327 #define HAVE_TZNAME 1
329 /* Define to 1 if you have the <unistd.h> header file. */
330 #define HAVE_UNISTD_H 1
332 /* Define to 1 if you have the <varargs.h> header file. */
333 /* #undef HAVE_VARARGS_H */
335 /* Define to 1 if you have the `vfprintf' function. */
336 #define HAVE_VFPRINTF 1
338 /* Define to 1 if you have the `vprintf' function. */
339 #define HAVE_VPRINTF 1
341 /* Define to 1 if you have the `vsnprintf' function. */
342 #define HAVE_VSNPRINTF 1
344 /* Define to 1 if you have the <zlib.h> header file. */
345 #define HAVE_ZLIB_H 1
347 /* Define to 1 if `major', `minor', and `makedev' are declared in <mkdev.h>.
349 /* #undef MAJOR_IN_MKDEV */
351 /* Define to 1 if `major', `minor', and `makedev' are declared in
353 /* #undef MAJOR_IN_SYSMACROS */
355 /* Define to 1 if your C compiler doesn't accept -c and -o together. */
356 /* #undef NO_MINUS_C_MINUS_O */
358 /* Define to the address where bug reports for this package should be sent. */
359 #define PACKAGE_BUGREPORT ""
361 /* Define to the full name of this package. */
362 #define PACKAGE_NAME ""
364 /* Define to the full name and version of this package. */
365 #define PACKAGE_STRING ""
367 /* Define to the one symbol short name of this package. */
368 #define PACKAGE_TARNAME ""
370 /* Define to the version of this package. */
371 #define PACKAGE_VERSION ""
373 /* Define as the return type of signal handlers (`int' or `void'). */
374 #define RETSIGTYPE void
376 /* Define to 1 if the `setpgrp' function takes no argument. */
377 #define SETPGRP_VOID 1
379 /* The size of a `char', as computed by sizeof. */
380 #define SIZEOF_CHAR 1
382 /* The size of a `int', as computed by sizeof. */
385 /* The size of a `int *', as computed by sizeof. */
386 #define SIZEOF_INT_P 4
388 /* The size of a `long int', as computed by sizeof. */
389 #define SIZEOF_LONG_INT 4
391 /* The size of a `long long int', as computed by sizeof. */
392 #define SIZEOF_LONG_LONG_INT 8
394 /* The size of a `short int', as computed by sizeof. */
395 #define SIZEOF_SHORT_INT 2
397 /* If using the C implementation of alloca, define if you know the
398 direction of stack growth for your system; otherwise it will be
399 automatically deduced at run-time.
400 STACK_DIRECTION > 0 => grows toward higher addresses
401 STACK_DIRECTION < 0 => grows toward lower addresses
402 STACK_DIRECTION = 0 => direction of growth unknown */
403 /* #undef STACK_DIRECTION */
406 /* Define to 1 if you have the ANSI C header files. */
407 #define STDC_HEADERS 1
409 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
410 #define TIME_WITH_SYS_TIME 1
412 /* Define to 1 if your <sys/time.h> declares `struct tm'. */
413 /* #undef TM_IN_SYS_TIME */
415 /* Use long unsigned int for ioctl request */
416 #define HAVE_IOCTL_ULINT_REQUEST
418 /* For now, we only support Little endian on Win32 */
419 #define HAVE_LITTLE_ENDIAN 1
421 /* Number of bits in a file offset, on hosts where this is settable. */
422 #define _FILE_OFFSET_BITS 64
424 /* Define to make fseeko etc. visible, on some hosts. */
425 #define _LARGEFILE_SOURCE 1
427 /* Define for large files, on AIX-style hosts. */
428 #define _LARGE_FILES 1
430 /* Whether to enable IPv6 support */
433 /* Set the default configuration file */
435 #define SYSCONFDIR "C:/Program Files/Bacula"
439 #endif /* __MINGWNCONFIG_H */