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