1 /*
2  *  This file was originally generated by configure, but has been edited
3  *  to provide the correct defines for the Native Win32 build under
4  *  Visual Studio.
5  *
6  *  Note!!! We normally build the Windows versions with this header
7  *    file.  We use the Mingw environment.
8  */
9 /* ------------------------------------------------------------------------- */
10 /* --                     CONFIGURE SPECIFIED FEATURES                    -- */
11 /* ------------------------------------------------------------------------- */
12 
13 #ifndef __MINGWCONFIG_H
14 #define __MINGWCONFIG_H
15 
16 #undef  _WIN32_WINNT
17 #define _WIN32_WINNT 0x0602
18 #undef  _WIN32_IE
19 #define _WIN32_IE 0x7000
20 
21 /* To compile with the new mingw-w64*/
22 #ifdef HAVE_MINGW_W64
23 # define HAVE_FSEEKO 1
24 # define MINGW64
25 # define HAVE_OPENSSLv1
26 # define __MIDL_user_allocate_free_DEFINED__
27 #endif
28 
29 #define HAVE_SHA2
30 
31 #undef USE_LOCKMGR
32 
33 /* Define if you want SmartAlloc debug code enabled */
34 #define SMARTALLOC 1
35 
36 /* Use EmptyWorkSet as malloc_trim emulation */
37 #define HAVE_MALLOC_TRIM 1
38 
39 /* Define if you want to use Batch Mode */
40 /* #define HAVE_BATCH_FILE_INSERT 1 */
41 
42 /* Define if you need function prototypes */
43 #define PROTOTYPES 1
44 
45 /* Define if you have GCC */
46 #define HAVE_GCC 1
47 
48 /* Define to 1 if utime.h exists and declares struct utimbuf.  */
49 #define HAVE_UTIME_H 1
50 
51 /* Data types */
52 #define HAVE_U_INT 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
63 
64 /* Define if you want TCP Wrappers support */
65 /* #undef HAVE_LIBWRAP */
66 
67 /* Define if you have sys/bitypes.h */
68 /* #undef HAVE_SYS_BITYPES_H */
69 
70 /* Define if you have zlib */
71 #define HAVE_LIBZ 1
72 
73 /* Define if you have lzo lib */
74 #define HAVE_LZO 1
75 
76 /* Define to 1 if you have the <lzo/lzoconf.h> header file. */
77 #define HAVE_LZO_LZOCONF_H 1
78 
79 
80 /* File daemon specif libraries */
81 #define FDLIBS 1
82 
83 
84 /* What kind of signals we have */
85 /*#define HAVE_POSIX_SIGNALS 1 */
86 /* #undef HAVE_BSD_SIGNALS */
87 /* #undef HAVE_USG_SIGHOLD */
88 
89 
90 /* Set to correct scanf value for long long int */
91 #define lld "lld"
92 #define llu "llu"
93 /* #define USE_BSNPRINTF */
94 
95 #define HAVE_STRTOLL 1
96 
97 /* Define to 1 if you have `alloca', as a function or macro. */
98 #define HAVE_ALLOCA 1
99 #ifndef HAVE_MINGW
100 #define alloca _alloca
101 #endif
102 
103 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
104    */
105 #define HAVE_DIRENT_H 1
106 
107 /* Define to 1 if you have the <fcntl.h> header file. */
108 #define HAVE_FCNTL_H 1
109 
110 /* Define to 1 if you have the `getcwd' function. */
111 #define HAVE_GETCWD 1
112 
113 /* Define to 1 if you have the `gethostid' function. */
114 #define HAVE_GETHOSTID 1
115 
116 /* Define to 1 if you have the `gethostname' function. */
117 #define HAVE_GETHOSTNAME 1
118 
119 /* Define to 1 if you have the `getmntent' function. */
120 /*#define HAVE_GETMNTENT 1 */
121 
122 /* Define to 1 if you have the `getpid' function. */
123 #define HAVE_GETPID 1
124 #define getpid _getpid
125 
126 /* Define to 1 if you have the `gettimeofday' function. */
127 #define HAVE_GETTIMEOFDAY 1
128 
129 /* Define to 1 if you have the <grp.h> header file. */
130 /*#define HAVE_GRP_H 1*/
131 
132 /* Define to 1 if you have the `inet_pton' function. */
133 /* #undef HAVE_INET_PTON */
134 
135 /* Define to 1 if you have the `inet_pton' function. */
136 /* #undef HAVE_INET_NTOP */
137 
138 /* Define to 1 if you have the `getaddrinfo' function. */
139 #define HAVE_GETADDRINFO 1
140 
141 /* Define to 1 if you have the `getnameinfo' function. */
142 #define HAVE_GETNAMEINFO 1
143 
144 /* Define to 1 if you have the <inttypes.h> header file. */
145 #define HAVE_INTTYPES_H 1
146 
147 /* Define to 1 if you have the `lchown' function. */
148 #define HAVE_LCHOWN 1
149 
150 /* Define to 1 if you have the <limits.h> header file. */
151 #define HAVE_LIMITS_H 1
152 
153 /* Define to 1 if you have the `localtime_r' function. */
154 #define HAVE_LOCALTIME_R 1
155 
156 /* Define to 1 if you have the `lstat' function. */
157 #define HAVE_LSTAT 1
158 
159 /* Define to 1 if you have the <memory.h> header file. */
160 #define HAVE_MEMORY_H 1
161 
162 /* Define to 1 if you have the <mtio.h> header file. */
163 /* #undef HAVE_MTIO_H */
164 
165 /* Define to 1 if you have the `nanosleep' function. */
166 #define HAVE_NANOSLEEP 1
167 
168 /* Define to 1 if you have the <pwd.h> header file. */
169 /*#define HAVE_PWD_H 1*/
170 
171 /* Define to 1 if you have the `readdir_r' function. */
172 /* #undef HAVE_READDIR_R */
173 
174 /* Define to 1 if you have the <resolv.h> header file. */
175 /*#define HAVE_RESOLV_H 1*/
176 
177 /* Define to 1 if you have the `select' function. */
178 #define HAVE_SELECT 1
179 
180 /* Define to 1 if you have the `setenv' function. */
181 /* #undef HAVE_SETENV */
182 
183 #define HAVE_PUTENV 1
184 
185 /* Define to 1 if you have the `setlocale' function. */
186 #undef HAVE_SETLOCALE
187 
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...). */
194 #define ENABLE_NLS 1
195 #endif
196 
197 #undef  LOCALEDIR
198 #define LOCALEDIR "."
199 
200 #undef HAVE_NL_LANGINFO
201 
202 /* Define to 1 if you have the `setpgid' function. */
203 #define HAVE_SETPGID 1
204 
205 /* Define to 1 if you have the `setpgrp' function. */
206 #define HAVE_SETPGRP 1
207 
208 /* Define to 1 if you have the `setsid' function. */
209 #define HAVE_SETSID 1
210 
211 /* Define to 1 if you have the `signal' function. */
212 /*#define HAVE_SIGNAL 1 */
213 
214 /* Define to 1 if you have the `snprintf' function. */
215 #define HAVE_SNPRINTF 1
216 
217 /* Define to 1 if you have the <stdarg.h> header file. */
218 #define HAVE_STDARG_H 1
219 
220 /* Define to 1 if you have the <stdint.h> header file. */
221 #define HAVE_STDINT_H 1
222 
223 /* Define to 1 if you have the <stdlib.h> header file. */
224 #define HAVE_STDLIB_H 1
225 
226 /* Define to 1 if you have the `strcasecmp' function. */
227 #define HAVE_STRCASECMP 1
228 
229 /* Define to 1 if you have the `strerror' function. */
230 #define HAVE_STRERROR 1
231 
232 /* Define to 1 if you have the `strerror_r' function. */
233 #define HAVE_STRERROR_R 1
234 
235 /* Define to 1 if you have the `strftime' function. */
236 #define HAVE_STRFTIME 1
237 
238 /* Define to 1 if you have the <strings.h> header file. */
239 #define HAVE_STRINGS_H 1
240 
241 /* Define to 1 if you have the <string.h> header file. */
242 #define HAVE_STRING_H 1
243 
244 /* Define to 1 if you have the `strncmp' function. */
245 #define HAVE_STRNCMP 1
246 
247 /* Define to 1 if you have the `strncpy' function. */
248 #define HAVE_STRNCPY 1
249 
250 /* Define to 1 if you have the `strtoll' function. */
251 #define HAVE_STRTOLL 1
252 
253 /* Define to 1 if `st_blksize' is member of `struct stat'. */
254 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
255 
256 /* Define to 1 if `st_blocks' is member of `struct stat'. */
257 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
258 
259 /* Define to 1 if `st_rdev' is member of `struct stat'. */
260 #define HAVE_STRUCT_STAT_ST_RDEV 1
261 
262 /* Define to 1 if `tm_zone' is member of `struct tm'. */
263 /* #undef HAVE_STRUCT_TM_TM_ZONE */
264 
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
268 
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
272 
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
276 
277 /* Define to 1 if you have the <sys/byteorder.h> header file. */
278 /* #undef HAVE_SYS_BYTEORDER_H */
279 
280 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
281    */
282 /* #undef HAVE_SYS_DIR_H */
283 
284 /* Define to 1 if you have the <sys/ioctl.h> header file. */
285 #define HAVE_SYS_IOCTL_H 1
286 
287 /* Define to 1 if you have the <sys/mtio.h> header file. */
288 #define HAVE_SYS_MTIO_H 1
289 
290 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
291    */
292 /* #undef HAVE_SYS_NDIR_H */
293 
294 /* Define to 1 if you have the <sys/select.h> header file. */
295 #define HAVE_SYS_SELECT_H 1
296 
297 /* Define to 1 if you have the <sys/socket.h> header file. */
298 #define HAVE_SYS_SOCKET_H 1
299 
300 /* Define to 1 if you have the <sys/sockio.h> header file. */
301 /* #undef HAVE_SYS_SOCKIO_H */
302 
303 /* Define to 1 if you have the <sys/stat.h> header file. */
304 #define HAVE_SYS_STAT_H 1
305 
306 /* Define to 1 if you have the <sys/time.h> header file. */
307 #define HAVE_SYS_TIME_H 1
308 
309 /* Define to 1 if you have the <sys/types.h> header file. */
310 #define HAVE_SYS_TYPES_H 1
311 
312 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
313 #define HAVE_SYS_WAIT_H 1
314 
315 /* Define to 1 if you have the `tcgetattr' function. */
316 #define HAVE_TCGETATTR 1
317 
318 /* Define to 1 if you have the <termios.h> header file. */
319 #define HAVE_TERMIOS_H 1
320 
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 */
324 
325 /* Define to 1 if you don't have `tm_zone' but do have the external array
326    `tzname'. */
327 #define HAVE_TZNAME 1
328 
329 /* Define to 1 if you have the <unistd.h> header file. */
330 #define HAVE_UNISTD_H 1
331 
332 /* Define to 1 if you have the <varargs.h> header file. */
333 /* #undef HAVE_VARARGS_H */
334 
335 /* Define to 1 if you have the `vfprintf' function. */
336 #define HAVE_VFPRINTF 1
337 
338 /* Define to 1 if you have the `vprintf' function. */
339 #define HAVE_VPRINTF 1
340 
341 /* Define to 1 if you have the `vsnprintf' function. */
342 #define HAVE_VSNPRINTF 1
343 
344 /* Define to 1 if you have the <zlib.h> header file. */
345 #define HAVE_ZLIB_H 1
346 
347 /* Define to 1 if `major', `minor', and `makedev' are declared in <mkdev.h>.
348    */
349 /* #undef MAJOR_IN_MKDEV */
350 
351 /* Define to 1 if `major', `minor', and `makedev' are declared in
352    <sysmacros.h>. */
353 /* #undef MAJOR_IN_SYSMACROS */
354 
355 /* Define to 1 if your C compiler doesn't accept -c and -o together. */
356 /* #undef NO_MINUS_C_MINUS_O */
357 
358 /* Define to the address where bug reports for this package should be sent. */
359 #define PACKAGE_BUGREPORT ""
360 
361 /* Define to the full name of this package. */
362 #define PACKAGE_NAME ""
363 
364 /* Define to the full name and version of this package. */
365 #define PACKAGE_STRING ""
366 
367 /* Define to the one symbol short name of this package. */
368 #define PACKAGE_TARNAME ""
369 
370 /* Define to the version of this package. */
371 #define PACKAGE_VERSION ""
372 
373 /* Define as the return type of signal handlers (`int' or `void'). */
374 #define RETSIGTYPE void
375 
376 /* Define to 1 if the `setpgrp' function takes no argument. */
377 #define SETPGRP_VOID 1
378 
379 /* The size of a `char', as computed by sizeof. */
380 #define SIZEOF_CHAR 1
381 
382 /* The size of a `int', as computed by sizeof. */
383 #define SIZEOF_INT 4
384 
385 /* The size of a `int *', as computed by sizeof. */
386 #define SIZEOF_INT_P 4
387 
388 /* The size of a `long int', as computed by sizeof. */
389 #define SIZEOF_LONG_INT 4
390 
391 /* The size of a `long long int', as computed by sizeof. */
392 #define SIZEOF_LONG_LONG_INT 8
393 
394 /* The size of a `short int', as computed by sizeof. */
395 #define SIZEOF_SHORT_INT 2
396 
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 */
404 
405 
406 /* Define to 1 if you have the ANSI C header files. */
407 #define STDC_HEADERS 1
408 
409 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
410 #define TIME_WITH_SYS_TIME 1
411 
412 /* Define to 1 if your <sys/time.h> declares `struct tm'. */
413 /* #undef TM_IN_SYS_TIME */
414 
415 /* Use long unsigned int for ioctl request */
416 #define HAVE_IOCTL_ULINT_REQUEST
417 
418 /* For now, we only support Little endian on Win32 */
419 #define HAVE_LITTLE_ENDIAN 1
420 
421 /* Number of bits in a file offset, on hosts where this is settable. */
422 #define _FILE_OFFSET_BITS 64
423 
424 /* Define to make fseeko etc. visible, on some hosts. */
425 #define _LARGEFILE_SOURCE 1
426 
427 /* Define for large files, on AIX-style hosts. */
428 #define _LARGE_FILES 1
429 
430 /* Whether to enable IPv6 support */
431 #define HAVE_IPV6 1
432 
433 /* Set the default configuration file */
434 #undef  SYSCONFDIR
435 #define SYSCONFDIR "C:/Program Files/Bacula"
436 
437 #define O_CLOEXEC 0
438 
439 #endif /* __MINGWNCONFIG_H */
440