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