]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/win32/compat/mingwconfig.h
kes Reapply my bat.conf install script in qt-console. I think I
[bacula/bacula] / bacula / src / win32 / compat / mingwconfig.h
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 /* ------------------------------------------------------------------------- */
7 /* --                     CONFIGURE SPECIFIED FEATURES                    -- */
8 /* ------------------------------------------------------------------------- */
9
10 #ifndef __MINGWCONFIG_H
11 #define __MINGWCONFIG_H
12
13
14 /* Define if you want SmartAlloc debug code enabled */
15 #define SMARTALLOC 1
16
17 /* Define if you need function prototypes */
18 #define PROTOTYPES 1
19
20 /* Define if you have GCC */
21 #define HAVE_GCC 1
22
23 /* Define to 1 if utime.h exists and declares struct utimbuf.  */
24 #define HAVE_UTIME_H 1
25
26 /* Data types */
27 #define HAVE_U_INT 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 */
36
37 /* Define if you want TCP Wrappers support */
38 /* #undef HAVE_LIBWRAP */
39
40 /* Define if you have sys/bitypes.h */
41 /* #undef HAVE_SYS_BITYPES_H */
42
43 /* Define if you have zlib */
44 /*   #define HAVE_LIBZ 1 */
45
46 /* File daemon specif libraries */
47 #define FDLIBS 1
48
49
50 /* What kind of signals we have */
51 /*#define HAVE_POSIX_SIGNALS 1 */
52 /* #undef HAVE_BSD_SIGNALS */
53 /* #undef HAVE_USG_SIGHOLD */
54
55
56 /* Set to correct scanf value for long long int */
57 #define lld "lld"
58 #define llu "llu"
59 /* #define USE_BSNPRINTF */
60
61 #define HAVE_STRTOLL 1
62
63 /* Define to 1 if you have `alloca', as a function or macro. */
64 #define HAVE_ALLOCA 1
65 #ifndef HAVE_MINGW
66 #define alloca _alloca
67 #endif
68
69 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
70    */
71 #define HAVE_DIRENT_H 1
72
73 /* Define to 1 if you have the <fcntl.h> header file. */
74 #define HAVE_FCNTL_H 1
75
76 /* Define to 1 if you have the `getcwd' function. */
77 #define HAVE_GETCWD 1
78
79 /* Define to 1 if you have the `gethostid' function. */
80 #define HAVE_GETHOSTID 1
81
82 /* Define to 1 if you have the `gethostname' function. */
83 #define HAVE_GETHOSTNAME 1
84
85 /* Define to 1 if you have the `getmntent' function. */
86 /*#define HAVE_GETMNTENT 1 */
87
88 /* Define to 1 if you have the `getpid' function. */
89 #define HAVE_GETPID 1
90 #define getpid _getpid
91
92 /* Define to 1 if you have the `gettimeofday' function. */
93 #define HAVE_GETTIMEOFDAY 1
94
95 /* Define to 1 if you have the <grp.h> header file. */
96 /*#define HAVE_GRP_H 1*/
97
98 /* Define to 1 if you have the `inet_pton' function. */
99 /* #undef HAVE_INET_PTON */
100
101 /* Define to 1 if you have the <inttypes.h> header file. */
102 #define HAVE_INTTYPES_H 1
103
104 /* Define to 1 if you have the `lchown' function. */
105 #define HAVE_LCHOWN 1
106
107 /* Define to 1 if you have the <limits.h> header file. */
108 #define HAVE_LIMITS_H 1
109
110 /* Define to 1 if you have the `localtime_r' function. */
111 #define HAVE_LOCALTIME_R 1
112
113 /* Define to 1 if you have the `lstat' function. */
114 #define HAVE_LSTAT 1
115
116 /* Define to 1 if you have the <memory.h> header file. */
117 #define HAVE_MEMORY_H 1
118
119 /* Define to 1 if you have the <mtio.h> header file. */
120 /* #undef HAVE_MTIO_H */
121
122 /* Define to 1 if you have the `nanosleep' function. */
123 #define HAVE_NANOSLEEP 1
124
125 /* Define to 1 if you have the <pwd.h> header file. */
126 /*#define HAVE_PWD_H 1*/
127
128 /* Define to 1 if you have the `readdir_r' function. */
129 /* #undef HAVE_READDIR_R */
130
131 /* Define to 1 if you have the <resolv.h> header file. */
132 /*#define HAVE_RESOLV_H 1*/
133
134 /* Define to 1 if you have the `select' function. */
135 #define HAVE_SELECT 1
136
137 /* Define to 1 if you have the `setenv' function. */
138 #define HAVE_SETENV 1
139
140 /* Define to 1 if you have the `setlocale' function. */
141 #undef HAVE_SETLOCALE
142
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...). */
149 #define ENABLE_NLS 1
150 #endif
151
152 #undef  LOCALEDIR
153 #define LOCALEDIR "."
154
155 #undef HAVE_NL_LANGINFO
156
157 /* Define to 1 if you have the `setpgid' function. */
158 #define HAVE_SETPGID 1
159
160 /* Define to 1 if you have the `setpgrp' function. */
161 #define HAVE_SETPGRP 1
162
163 /* Define to 1 if you have the `setsid' function. */
164 #define HAVE_SETSID 1
165
166 /* Define to 1 if you have the `signal' function. */
167 /*#define HAVE_SIGNAL 1 */
168
169 /* Define to 1 if you have the `snprintf' function. */
170 #define HAVE_SNPRINTF 1
171
172 /* Define to 1 if you have the <stdarg.h> header file. */
173 #define HAVE_STDARG_H 1
174
175 /* Define to 1 if you have the <stdint.h> header file. */
176 #define HAVE_STDINT_H 1
177
178 /* Define to 1 if you have the <stdlib.h> header file. */
179 #define HAVE_STDLIB_H 1
180
181 /* Define to 1 if you have the `strcasecmp' function. */
182 #define HAVE_STRCASECMP 1
183
184 /* Define to 1 if you have the `strerror' function. */
185 #define HAVE_STRERROR 1
186
187 /* Define to 1 if you have the `strerror_r' function. */
188 #define HAVE_STRERROR_R 1
189
190 /* Define to 1 if you have the `strftime' function. */
191 #define HAVE_STRFTIME 1
192
193 /* Define to 1 if you have the <strings.h> header file. */
194 #define HAVE_STRINGS_H 1
195
196 /* Define to 1 if you have the <string.h> header file. */
197 #define HAVE_STRING_H 1
198
199 /* Define to 1 if you have the `strncmp' function. */
200 #define HAVE_STRNCMP 1
201
202 /* Define to 1 if you have the `strncpy' function. */
203 #define HAVE_STRNCPY 1
204
205 /* Define to 1 if you have the `strtoll' function. */
206 #define HAVE_STRTOLL 1
207
208 /* Define to 1 if `st_blksize' is member of `struct stat'. */
209 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
210
211 /* Define to 1 if `st_blocks' is member of `struct stat'. */
212 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
213
214 /* Define to 1 if `st_rdev' is member of `struct stat'. */
215 #define HAVE_STRUCT_STAT_ST_RDEV 1
216
217 /* Define to 1 if `tm_zone' is member of `struct tm'. */
218 /* #undef HAVE_STRUCT_TM_TM_ZONE */
219
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
223
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
227
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
231
232 /* Define to 1 if you have the <sys/byteorder.h> header file. */
233 /* #undef HAVE_SYS_BYTEORDER_H */
234
235 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
236    */
237 /* #undef HAVE_SYS_DIR_H */
238
239 /* Define to 1 if you have the <sys/ioctl.h> header file. */
240 #define HAVE_SYS_IOCTL_H 1
241
242 /* Define to 1 if you have the <sys/mtio.h> header file. */
243 #define HAVE_SYS_MTIO_H 1
244
245 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
246    */
247 /* #undef HAVE_SYS_NDIR_H */
248
249 /* Define to 1 if you have the <sys/select.h> header file. */
250 #define HAVE_SYS_SELECT_H 1
251
252 /* Define to 1 if you have the <sys/socket.h> header file. */
253 #define HAVE_SYS_SOCKET_H 1
254
255 /* Define to 1 if you have the <sys/sockio.h> header file. */
256 /* #undef HAVE_SYS_SOCKIO_H */
257
258 /* Define to 1 if you have the <sys/stat.h> header file. */
259 #define HAVE_SYS_STAT_H 1
260
261 /* Define to 1 if you have the <sys/time.h> header file. */
262 #define HAVE_SYS_TIME_H 1
263
264 /* Define to 1 if you have the <sys/types.h> header file. */
265 #define HAVE_SYS_TYPES_H 1
266
267 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
268 #define HAVE_SYS_WAIT_H 1
269
270 /* Define to 1 if you have the `tcgetattr' function. */
271 #define HAVE_TCGETATTR 1
272
273 /* Define to 1 if you have the <termios.h> header file. */
274 #define HAVE_TERMIOS_H 1
275
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 */
279
280 /* Define to 1 if you don't have `tm_zone' but do have the external array
281    `tzname'. */
282 #define HAVE_TZNAME 1
283
284 /* Define to 1 if you have the <unistd.h> header file. */
285 #define HAVE_UNISTD_H 1
286
287 /* Define to 1 if you have the <varargs.h> header file. */
288 /* #undef HAVE_VARARGS_H */
289
290 /* Define to 1 if you have the `vfprintf' function. */
291 #define HAVE_VFPRINTF 1
292
293 /* Define to 1 if you have the `vprintf' function. */
294 #define HAVE_VPRINTF 1
295
296 /* Define to 1 if you have the `vsnprintf' function. */
297 #define HAVE_VSNPRINTF 1
298
299 /* Define to 1 if you have the <zlib.h> header file. */
300 /*   #define HAVE_ZLIB_H 1  */
301
302 /* Define to 1 if `major', `minor', and `makedev' are declared in <mkdev.h>.
303    */
304 /* #undef MAJOR_IN_MKDEV */
305
306 /* Define to 1 if `major', `minor', and `makedev' are declared in
307    <sysmacros.h>. */
308 /* #undef MAJOR_IN_SYSMACROS */
309
310 /* Define to 1 if your C compiler doesn't accept -c and -o together. */
311 /* #undef NO_MINUS_C_MINUS_O */
312
313 /* Define to the address where bug reports for this package should be sent. */
314 #define PACKAGE_BUGREPORT ""
315
316 /* Define to the full name of this package. */
317 #define PACKAGE_NAME ""
318
319 /* Define to the full name and version of this package. */
320 #define PACKAGE_STRING ""
321
322 /* Define to the one symbol short name of this package. */
323 #define PACKAGE_TARNAME ""
324
325 /* Define to the version of this package. */
326 #define PACKAGE_VERSION ""
327
328 /* Define as the return type of signal handlers (`int' or `void'). */
329 #define RETSIGTYPE void
330
331 /* Define to 1 if the `setpgrp' function takes no argument. */
332 #define SETPGRP_VOID 1
333
334 /* The size of a `char', as computed by sizeof. */
335 #define SIZEOF_CHAR 1
336
337 /* The size of a `int', as computed by sizeof. */
338 #define SIZEOF_INT 4
339
340 /* The size of a `int *', as computed by sizeof. */
341 #define SIZEOF_INT_P 4
342
343 /* The size of a `long int', as computed by sizeof. */
344 #define SIZEOF_LONG_INT 4
345
346 /* The size of a `long long int', as computed by sizeof. */
347 #define SIZEOF_LONG_LONG_INT 8
348
349 /* The size of a `short int', as computed by sizeof. */
350 #define SIZEOF_SHORT_INT 2
351
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 */
359
360
361 /* Define to 1 if you have the ANSI C header files. */
362 #define STDC_HEADERS 1
363
364 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
365 #define TIME_WITH_SYS_TIME 1
366
367 /* Define to 1 if your <sys/time.h> declares `struct tm'. */
368 /* #undef TM_IN_SYS_TIME */
369
370
371 #endif /* __MINGWNCONFIG_H */