1 | /* config.h.W32 -- hand-massaged config.h file for Windows builds -*-C-*-
|
---|
2 |
|
---|
3 | Copyright (C) 1996-2016 Free Software Foundation, Inc.
|
---|
4 | This file is part of GNU Make.
|
---|
5 |
|
---|
6 | GNU Make is free software; you can redistribute it and/or modify it under the
|
---|
7 | terms of the GNU General Public License as published by the Free Software
|
---|
8 | Foundation; either version 3 of the License, or (at your option) any later
|
---|
9 | version.
|
---|
10 |
|
---|
11 | GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
|
---|
12 | WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
---|
13 | A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
---|
14 |
|
---|
15 | You should have received a copy of the GNU General Public License along with
|
---|
16 | this program. If not, see <http://www.gnu.org/licenses/>. */
|
---|
17 |
|
---|
18 | #ifndef ___config_h_win
|
---|
19 | #define ___config_h_win
|
---|
20 |
|
---|
21 | /* Suppress some Visual C++ warnings.
|
---|
22 | Maybe after the code cleanup for ISO C we can remove some/all of these. */
|
---|
23 | #if _MSC_VER > 1000
|
---|
24 | # pragma warning(disable:4100) /* unreferenced formal parameter */
|
---|
25 | # pragma warning(disable:4102) /* unreferenced label */
|
---|
26 | # pragma warning(disable:4127) /* conditional expression is constant */
|
---|
27 | # pragma warning(disable:4131) /* uses old-style declarator */
|
---|
28 | # pragma warning(disable:4702) /* unreachable code */
|
---|
29 | # ifndef _CRT_SECURE_NO_WARNINGS
|
---|
30 | # define _CRT_SECURE_NO_WARNINGS /* function or variable may be unsafe */
|
---|
31 | # endif
|
---|
32 | # ifndef _CRT_NONSTDC_NO_WARNINGS
|
---|
33 | # define _CRT_NONSTDC_NO_WARNINGS /* functions w/o a leading underscore */
|
---|
34 | # endif
|
---|
35 | #endif
|
---|
36 |
|
---|
37 | /* Define to 1 if the 'closedir' function returns void instead of 'int'. */
|
---|
38 | /* #undef CLOSEDIR_VOID */
|
---|
39 |
|
---|
40 | /* Define to one of '_getb67', 'GETB67', 'getb67' for Cray-2 and Cray-YMP
|
---|
41 | systems. This function is required for 'alloca.c' support on those systems.
|
---|
42 | */
|
---|
43 | /* #undef CRAY_STACKSEG_END */
|
---|
44 |
|
---|
45 | /* Define to 1 if using 'alloca.c'. */
|
---|
46 | /* #undef C_ALLOCA */
|
---|
47 |
|
---|
48 | /* Define to 1 if using 'getloadavg.c'. */
|
---|
49 | #define C_GETLOADAVG 1
|
---|
50 |
|
---|
51 | /* Define to 1 for DGUX with <sys/dg_sys_info.h>. */
|
---|
52 | /* #undef DGUX */
|
---|
53 |
|
---|
54 | /* Define to 1 if translation of program messages to the user's native
|
---|
55 | language is requested. */
|
---|
56 | /* #undef ENABLE_NLS */
|
---|
57 |
|
---|
58 | /* Use high resolution file timestamps if nonzero. */
|
---|
59 | #define FILE_TIMESTAMP_HI_RES 0
|
---|
60 |
|
---|
61 | /* Define to 1 if the 'getloadavg' function needs to be run setuid or setgid.
|
---|
62 | */
|
---|
63 | /* #undef GETLOADAVG_PRIVILEGED */
|
---|
64 |
|
---|
65 | /* Define to 1 if you have 'alloca', as a function or macro. */
|
---|
66 | #define HAVE_ALLOCA 1
|
---|
67 |
|
---|
68 | /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
|
---|
69 | */
|
---|
70 | /* #undef HAVE_ALLOCA_H */
|
---|
71 |
|
---|
72 | /* Define to 1 if you have the 'atexit' function. */
|
---|
73 | #define HAVE_ATEXIT 1
|
---|
74 |
|
---|
75 | /* Define if your compiler conforms to the ANSI C standard. */
|
---|
76 | #define HAVE_ANSI_COMPILER 1
|
---|
77 |
|
---|
78 | /* Use case insensitive file names */
|
---|
79 | /* #undef HAVE_CASE_INSENSITIVE_FS */
|
---|
80 |
|
---|
81 | /* Define to 1 if you have the clock_gettime function. */
|
---|
82 | /* #undef HAVE_CLOCK_GETTIME */
|
---|
83 |
|
---|
84 | /* Embed GNU Guile support. Windows build sets this on the
|
---|
85 | compilation command line. */
|
---|
86 | /* #undef HAVE_GUILE */
|
---|
87 |
|
---|
88 | /* Define if the GNU dcgettext() function is already present or preinstalled.
|
---|
89 | */
|
---|
90 | /* #undef HAVE_DCGETTEXT */
|
---|
91 |
|
---|
92 | /* Define to 1 if you have the declaration of 'bsd_signal', and to 0 if you
|
---|
93 | don't. */
|
---|
94 | #define HAVE_DECL_BSD_SIGNAL 0
|
---|
95 |
|
---|
96 | /* Define to 1 if you have the declaration of 'sys_siglist', and to 0 if you
|
---|
97 | don't. */
|
---|
98 | #define HAVE_DECL_SYS_SIGLIST 0
|
---|
99 |
|
---|
100 | /* Define to 1 if you have the declaration of '_sys_siglist', and to 0 if you
|
---|
101 | don't. */
|
---|
102 | #define HAVE_DECL__SYS_SIGLIST 0
|
---|
103 |
|
---|
104 | /* Define to 1 if you have the declaration of '__sys_siglist', and to 0 if you
|
---|
105 | don't. */
|
---|
106 | #define HAVE_DECL___SYS_SIGLIST 0
|
---|
107 |
|
---|
108 | /* Define to 1 if you have the <dirent.h> header file, and it defines 'DIR'.
|
---|
109 | */
|
---|
110 | #define HAVE_DIRENT_H 1
|
---|
111 |
|
---|
112 | /* Define to 1 if you have the <direct.h> header file, and it defines getcwd()
|
---|
113 | and chdir().
|
---|
114 | */
|
---|
115 | #if (defined(_MSC_VER) || defined(__BORLANDC__)) && !defined(__INTERIX)
|
---|
116 | # define HAVE_DIRECT_H 1
|
---|
117 | #endif
|
---|
118 |
|
---|
119 | /* Use platform specific coding */
|
---|
120 | #define HAVE_DOS_PATHS 1
|
---|
121 |
|
---|
122 | /* Define to 1 if you have the 'dup2' function. */
|
---|
123 | #define HAVE_DUP2 1
|
---|
124 |
|
---|
125 | /* Define to 1 if you have the <fcntl.h> header file. */
|
---|
126 | #define HAVE_FCNTL_H 1
|
---|
127 |
|
---|
128 | /* Define to 1 if you have the 'fdopen' function. */
|
---|
129 | #ifdef __MINGW32__
|
---|
130 | #define HAVE_FDOPEN 1
|
---|
131 | #endif
|
---|
132 |
|
---|
133 | /* Define to 1 if you have the 'fileno' function. */
|
---|
134 | #define HAVE_FILENO 1
|
---|
135 |
|
---|
136 | /* Define to 1 if you have the 'getcwd' function. */
|
---|
137 | #define HAVE_GETCWD 1
|
---|
138 |
|
---|
139 | /* Define to 1 if you have the 'getgroups' function. */
|
---|
140 | /* #undef HAVE_GETGROUPS */
|
---|
141 |
|
---|
142 | /* Define to 1 if you have the 'gethostbyname' function. */
|
---|
143 | /* #undef HAVE_GETHOSTBYNAME */
|
---|
144 |
|
---|
145 | /* Define to 1 if you have the 'gethostname' function. */
|
---|
146 | /* #undef HAVE_GETHOSTNAME */
|
---|
147 |
|
---|
148 | /* Define to 1 if you have the 'getloadavg' function. */
|
---|
149 | /* #undef HAVE_GETLOADAVG */
|
---|
150 |
|
---|
151 | /* Define to 1 if you have the 'getrlimit' function. */
|
---|
152 | /* #undef HAVE_GETRLIMIT */
|
---|
153 |
|
---|
154 | /* Define if the GNU gettext() function is already present or preinstalled. */
|
---|
155 | /* #undef HAVE_GETTEXT */
|
---|
156 |
|
---|
157 | /* Define to 1 if you have a standard gettimeofday function */
|
---|
158 | #ifdef __MINGW32__
|
---|
159 | #define HAVE_GETTIMEOFDAY 1
|
---|
160 | #endif
|
---|
161 |
|
---|
162 | /* Define if you have the iconv() function. */
|
---|
163 | /* #undef HAVE_ICONV */
|
---|
164 |
|
---|
165 | /* Define to 1 if you have the <inttypes.h> header file. */
|
---|
166 | #ifdef __MINGW32__
|
---|
167 | #define HAVE_INTTYPES_H 1
|
---|
168 | #endif
|
---|
169 |
|
---|
170 | /* Define to 1 if you have the 'dgc' library (-ldgc). */
|
---|
171 | /* #undef HAVE_LIBDGC */
|
---|
172 |
|
---|
173 | /* Define to 1 if you have the 'kstat' library (-lkstat). */
|
---|
174 | /* #undef HAVE_LIBKSTAT */
|
---|
175 |
|
---|
176 | /* Define to 1 if you have the <limits.h> header file. */
|
---|
177 | #define HAVE_LIMITS_H 1
|
---|
178 |
|
---|
179 | /* Define to 1 if you have the <locale.h> header file. */
|
---|
180 | #define HAVE_LOCALE_H 1 /* bird: differs */
|
---|
181 |
|
---|
182 | /* Define to 1 if you have the 'lstat' function. */
|
---|
183 | /* #undef HAVE_LSTAT */
|
---|
184 |
|
---|
185 | /* Define to 1 if you have the <mach/mach.h> header file. */
|
---|
186 | /* #undef HAVE_MACH_MACH_H */
|
---|
187 |
|
---|
188 | /* Define to 1 if you have the <memory.h> header file. */
|
---|
189 | #define HAVE_MEMORY_H 1
|
---|
190 |
|
---|
191 | /* Define to 1 if you have the 'mkstemp' function. */
|
---|
192 | /* #undef HAVE_MKSTEMP */
|
---|
193 |
|
---|
194 | /* Define to 1 if you have the 'mktemp' function. */
|
---|
195 | #define HAVE_MKTEMP 1
|
---|
196 |
|
---|
197 | /* Define to 1 if you have the <ndir.h> header file, and it defines 'DIR'. */
|
---|
198 | /* #undef HAVE_NDIR_H */
|
---|
199 |
|
---|
200 | /* Define to 1 if you have the <nlist.h> header file. */
|
---|
201 | /* #undef HAVE_NLIST_H */
|
---|
202 |
|
---|
203 | /* Define to 1 if you have the 'pipe' function. */
|
---|
204 | /* #undef HAVE_PIPE */
|
---|
205 |
|
---|
206 | /* Define to 1 if you have the 'pstat_getdynamic' function. */
|
---|
207 | /* #undef HAVE_PSTAT_GETDYNAMIC */
|
---|
208 |
|
---|
209 | /* Define to 1 if you have the 'readlink' function. */
|
---|
210 | /* #undef HAVE_READLINK */
|
---|
211 |
|
---|
212 | /* Define to 1 if you have the 'realpath' function. */
|
---|
213 | /* #undef HAVE_REALPATH */
|
---|
214 |
|
---|
215 | /* Define to 1 if <signal.h> defines the SA_RESTART constant. */
|
---|
216 | /* #undef HAVE_SA_RESTART */
|
---|
217 |
|
---|
218 | /* Define to 1 if you have the 'setegid' function. */
|
---|
219 | /* #undef HAVE_SETEGID */
|
---|
220 |
|
---|
221 | /* Define to 1 if you have the 'seteuid' function. */
|
---|
222 | /* #undef HAVE_SETEUID */
|
---|
223 |
|
---|
224 | /* Define to 1 if you have the 'setlinebuf' function. */
|
---|
225 | /* #undef HAVE_SETLINEBUF */
|
---|
226 |
|
---|
227 | /* Define to 1 if you have the 'setlocale' function. */
|
---|
228 | /*#define HAVE_SETLOCALE 1*/
|
---|
229 |
|
---|
230 | /* Define to 1 if you have the 'setregid' function. */
|
---|
231 | /* #undef HAVE_SETREGID */
|
---|
232 |
|
---|
233 | /* Define to 1 if you have the 'setreuid' function. */
|
---|
234 | /* #undef HAVE_SETREUID */
|
---|
235 |
|
---|
236 | /* Define to 1 if you have the 'setrlimit' function. */
|
---|
237 | /* #undef HAVE_SETRLIMIT */
|
---|
238 |
|
---|
239 | /* Define to 1 if you have the 'setvbuf' function. */
|
---|
240 | #define HAVE_SETVBUF 1
|
---|
241 |
|
---|
242 | /* Define to 1 if you have the 'sigaction' function. */
|
---|
243 | /* #undef HAVE_SIGACTION */
|
---|
244 |
|
---|
245 | /* Define to 1 if you have the 'sigsetmask' function. */
|
---|
246 | /* #undef HAVE_SIGSETMASK */
|
---|
247 |
|
---|
248 | /* Define to 1 if you have the 'socket' function. */
|
---|
249 | /* #undef HAVE_SOCKET */
|
---|
250 |
|
---|
251 | /* Define to 1 if you have the <stdint.h> header file. */
|
---|
252 | #if defined(__MINGW32__) || _MSC_VER >= 1600 /* bird: added latter */
|
---|
253 | # define HAVE_STDINT_H 1
|
---|
254 | #endif
|
---|
255 |
|
---|
256 | /* Define to 1 if you have the <stdlib.h> header file. */
|
---|
257 | #define HAVE_STDLIB_H 1
|
---|
258 |
|
---|
259 | /* Define to 1 if you have the 'strcasecmp' function. */
|
---|
260 | #ifdef __MINGW32__
|
---|
261 | #define HAVE_STRCASECMP 1
|
---|
262 | #endif
|
---|
263 |
|
---|
264 | /* Define to 1 if you have the 'strcmpi' function. */
|
---|
265 | #define HAVE_STRCMPI 1
|
---|
266 |
|
---|
267 | /* Define to 1 if you have the 'strcoll' function and it is properly defined.
|
---|
268 | */
|
---|
269 | #define HAVE_STRCOLL 1
|
---|
270 |
|
---|
271 | /* Define to 1 if you have the 'strdup' function. */
|
---|
272 | #define HAVE_STRDUP 1
|
---|
273 |
|
---|
274 | /* Define to 1 if you have the 'strerror' function. */
|
---|
275 | #define HAVE_STRERROR 1
|
---|
276 |
|
---|
277 | /* Define to 1 if you have the 'stricmp' function. */
|
---|
278 | #define HAVE_STRICMP 1
|
---|
279 |
|
---|
280 | /* Define to 1 if you have the <strings.h> header file. */
|
---|
281 | /* #define HAVE_STRINGS_H 1 */
|
---|
282 |
|
---|
283 | /* Define to 1 if you have the <string.h> header file. */
|
---|
284 | #define HAVE_STRING_H 1
|
---|
285 |
|
---|
286 | /* Define to 1 if you have the 'strncasecmp' function. */
|
---|
287 | #ifdef __MINGW32__
|
---|
288 | #define HAVE_STRNCASECMP 1
|
---|
289 | #endif
|
---|
290 |
|
---|
291 | /* Define to 1 if you have the 'strncmpi' function. */
|
---|
292 | /* #undef HAVE_STRNCMPI */
|
---|
293 |
|
---|
294 | /* Define to 1 if you have the 'strndup' function. */
|
---|
295 | /* #undef HAVE_STRNDUP */
|
---|
296 |
|
---|
297 | /* Define to 1 if you have the 'strnicmp' function. */
|
---|
298 | /*#ifdef __MINGW32__ - bird */
|
---|
299 | #define HAVE_STRNICMP 1
|
---|
300 | /* #endif - bird */
|
---|
301 |
|
---|
302 | /* Define to 1 if you have the 'strsignal' function. */
|
---|
303 | /* #undef HAVE_STRSIGNAL */
|
---|
304 |
|
---|
305 | /* Define to 1 if you have the `isatty' function. */
|
---|
306 | #define HAVE_ISATTY 1
|
---|
307 |
|
---|
308 | /* Define to 1 if you have the `ttyname' function. */
|
---|
309 | #define HAVE_TTYNAME 1
|
---|
310 | char *ttyname (int);
|
---|
311 |
|
---|
312 | /* Define to 1 if 'n_un.n_name' is a member of 'struct nlist'. */
|
---|
313 | /* #undef HAVE_STRUCT_NLIST_N_UN_N_NAME */
|
---|
314 |
|
---|
315 | /* Define to 1 if you have the <sys/dir.h> header file, and it defines 'DIR'.
|
---|
316 | */
|
---|
317 | /* #undef HAVE_SYS_DIR_H */
|
---|
318 |
|
---|
319 | /* Define to 1 if you have the <sys/ndir.h> header file, and it defines 'DIR'.
|
---|
320 | */
|
---|
321 | /* #undef HAVE_SYS_NDIR_H */
|
---|
322 |
|
---|
323 | /* Define to 1 if you have the <sys/param.h> header file. */
|
---|
324 | #ifdef __MINGW32__
|
---|
325 | #define HAVE_SYS_PARAM_H 1
|
---|
326 | #endif
|
---|
327 |
|
---|
328 | /* Define to 1 if you have the <sys/resource.h> header file. */
|
---|
329 | /* #undef HAVE_SYS_RESOURCE_H */
|
---|
330 |
|
---|
331 | /* Define to 1 if you have the <sys/stat.h> header file. */
|
---|
332 | #define HAVE_SYS_STAT_H 1
|
---|
333 |
|
---|
334 | /* Define to 1 if you have the <sys/timeb.h> header file. */
|
---|
335 | #define HAVE_SYS_TIMEB_H 1
|
---|
336 |
|
---|
337 | /* Define to 1 if you have the <sys/time.h> header file. */
|
---|
338 | #ifdef __MINGW32__
|
---|
339 | #define HAVE_SYS_TIME_H 1
|
---|
340 | #endif
|
---|
341 |
|
---|
342 | /* Define to 1 if you have the <sys/types.h> header file. */
|
---|
343 | #define HAVE_SYS_TYPES_H 1
|
---|
344 |
|
---|
345 | /* Define to 1 if you have the <sys/wait.h> header file. */
|
---|
346 | /* #undef HAVE_SYS_WAIT_H */
|
---|
347 |
|
---|
348 | /* Define to 1 if you have the \'union wait' type in <sys/wait.h>. */
|
---|
349 | /* #undef HAVE_UNION_WAIT */
|
---|
350 |
|
---|
351 | /* Define to 1 if you have the <unistd.h> header file. */
|
---|
352 | #ifdef __MINGW32__
|
---|
353 | #define HAVE_UNISTD_H 1
|
---|
354 | #endif
|
---|
355 |
|
---|
356 | /* Define to 1 if you have the 'wait3' function. */
|
---|
357 | /* #undef HAVE_WAIT3 */
|
---|
358 |
|
---|
359 | /* Define to 1 if you have the 'waitpid' function. */
|
---|
360 | /* #undef HAVE_WAITPID */
|
---|
361 |
|
---|
362 | /* Build host information. (not used by kmk) */
|
---|
363 | #define MAKE_HOST "Windows32"
|
---|
364 |
|
---|
365 | /* Define to 1 to enable job server support in GNU make. */
|
---|
366 | #define MAKE_JOBSERVER 1
|
---|
367 |
|
---|
368 | /* Define to 1 to enable 'load' support in GNU make. */
|
---|
369 | #define MAKE_LOAD 1
|
---|
370 |
|
---|
371 | /* Define to 1 to enable symbolic link timestamp checking. */
|
---|
372 | /* #undef MAKE_SYMLINKS */
|
---|
373 |
|
---|
374 | /* Define to 1 if your 'struct nlist' has an 'n_un' member. Obsolete, depend
|
---|
375 | on 'HAVE_STRUCT_NLIST_N_UN_N_NAME */
|
---|
376 | /* #undef NLIST_NAME_UNION */
|
---|
377 |
|
---|
378 | /* Define to 1 if struct nlist.n_name is a pointer rather than an array. */
|
---|
379 | /* #undef NLIST_STRUCT */
|
---|
380 |
|
---|
381 | /* Define to 1 if your C compiler doesn't accept -c and -o together. */
|
---|
382 | /* #undef NO_MINUS_C_MINUS_O */
|
---|
383 |
|
---|
384 | /* Name of this package (needed by automake) */
|
---|
385 | #define PACKAGE "make"
|
---|
386 |
|
---|
387 | /* Define to the address where bug reports for this package should be sent. */
|
---|
388 | #define PACKAGE_BUGREPORT "[email protected]"
|
---|
389 |
|
---|
390 | /* Define to the full name of this package. */
|
---|
391 | #define PACKAGE_NAME "kmk"
|
---|
392 |
|
---|
393 | /* Define to the home page for this package. */
|
---|
394 | #define PACKAGE_URL "http://kbuild.org/"
|
---|
395 |
|
---|
396 | /* Define to the version of this package. */
|
---|
397 | #define PACKAGE_VERSION "4.2.1"
|
---|
398 |
|
---|
399 | /* Define to the character that separates directories in PATH. */
|
---|
400 | #define PATH_SEPARATOR_CHAR ';'
|
---|
401 |
|
---|
402 | /* Define as the return type of signal handlers ('int' or 'void'). */
|
---|
403 | #define RETSIGTYPE void
|
---|
404 |
|
---|
405 | /* Define to the name of the SCCS 'get' command. */
|
---|
406 | #define SCCS_GET "echo no sccs get"
|
---|
407 |
|
---|
408 | /* Define this if the SCCS 'get' command understands the '-G<file>' option. */
|
---|
409 | /* #undef SCCS_GET_MINUS_G */
|
---|
410 |
|
---|
411 | /* Define to 1 if the 'setvbuf' function takes the buffering type as its
|
---|
412 | second argument and the buffer pointer as the third, as on System V before
|
---|
413 | release 3. */
|
---|
414 | /* #undef SETVBUF_REVERSED */
|
---|
415 |
|
---|
416 | /* If using the C implementation of alloca, define if you know the
|
---|
417 | direction of stack growth for your system; otherwise it will be
|
---|
418 | automatically deduced at run time.
|
---|
419 | STACK_DIRECTION > 0 => grows toward higher addresses
|
---|
420 | STACK_DIRECTION < 0 => grows toward lower addresses
|
---|
421 | STACK_DIRECTION = 0 => direction of growth unknown */
|
---|
422 | /* #undef STACK_DIRECTION */
|
---|
423 |
|
---|
424 | /* Define to 1 if the 'S_IS*' macros in <sys/stat.h> do not work properly. */
|
---|
425 | /* #undef STAT_MACROS_BROKEN */
|
---|
426 |
|
---|
427 | /* Define to 1 if you have the ANSI C header files. */
|
---|
428 | #define STDC_HEADERS 1
|
---|
429 |
|
---|
430 | /* Define if struct stat contains a nanoseconds field */
|
---|
431 | #define ST_MTIM_NSEC tv_nsec /* bird */
|
---|
432 |
|
---|
433 | /* Define to 1 on System V Release 4. */
|
---|
434 | /* #undef SVR4 */
|
---|
435 |
|
---|
436 | /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
|
---|
437 | #ifdef __MINGW32__
|
---|
438 | #define TIME_WITH_SYS_TIME 1
|
---|
439 | #endif
|
---|
440 |
|
---|
441 | /* Define to 1 for Encore UMAX. */
|
---|
442 | /* #undef UMAX */
|
---|
443 |
|
---|
444 | /* Define to 1 for Encore UMAX 4.3 that has <inq_status/cpustats.h> instead of
|
---|
445 | <sys/cpustats.h>. */
|
---|
446 | /* #undef UMAX4_3 */
|
---|
447 |
|
---|
448 | /* Version number of package */
|
---|
449 | #define VERSION "4.2.1"
|
---|
450 |
|
---|
451 | /* Define if using the dmalloc debugging malloc package */
|
---|
452 | /* #undef WITH_DMALLOC */
|
---|
453 |
|
---|
454 | /* Define to 1 if on AIX 3.
|
---|
455 | System headers sometimes define this.
|
---|
456 | We just want to avoid a redefinition error message. */
|
---|
457 | #ifndef _ALL_SOURCE
|
---|
458 | /* # undef _ALL_SOURCE */
|
---|
459 | #endif
|
---|
460 |
|
---|
461 | /* Number of bits in a file offset, on hosts where this is settable. */
|
---|
462 | /* #undef _FILE_OFFSET_BITS */
|
---|
463 |
|
---|
464 | /* Define for large files, on AIX-style hosts. */
|
---|
465 | /* #undef _LARGE_FILES */
|
---|
466 |
|
---|
467 | /* Define to 1 if on MINIX. */
|
---|
468 | /* #undef _MINIX */
|
---|
469 |
|
---|
470 | /* Define to 2 if the system does not provide POSIX.1 features except with
|
---|
471 | this defined. */
|
---|
472 | /* #undef _POSIX_1_SOURCE */
|
---|
473 |
|
---|
474 | /* Define to 1 if you need to in order for 'stat' and other things to work. */
|
---|
475 | /* #undef _POSIX_SOURCE */
|
---|
476 |
|
---|
477 | /* Define to empty if 'const' does not conform to ANSI C. */
|
---|
478 | /* #undef const */
|
---|
479 |
|
---|
480 | /* Define to 'int' if <sys/types.h> doesn't define. */
|
---|
481 | #define gid_t int
|
---|
482 |
|
---|
483 | /* Define to 'int' if <sys/types.h> does not define. */
|
---|
484 | /* Note (bird)! sub_proc.c needs this to be pointer sized. */
|
---|
485 | #define pid_t intptr_t
|
---|
486 |
|
---|
487 | /* Define to 'int' if <sys/types.h> doesn't define. */
|
---|
488 | #define uid_t int
|
---|
489 |
|
---|
490 | /* Define uintmax_t if not defined in <stdint.h> or <inttypes.h>. */
|
---|
491 | #if !HAVE_STDINT_H && !HAVE_INTTYPES_H
|
---|
492 | # if 0
|
---|
493 | # define uintmax_t unsigned long
|
---|
494 | # else
|
---|
495 | # define uintmax_t unsigned __int64
|
---|
496 | # endif
|
---|
497 | #endif
|
---|
498 |
|
---|
499 | /* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
|
---|
500 | /* #undef HAVE_SYS_WAIT_H */
|
---|
501 |
|
---|
502 | /* Define to the installation directory for locales. */
|
---|
503 | #define LOCALEDIR ""
|
---|
504 |
|
---|
505 | /*
|
---|
506 | * Refer to README.W32 for info on the following settings
|
---|
507 | */
|
---|
508 |
|
---|
509 |
|
---|
510 | /*
|
---|
511 | * If you have a shell that does not grok 'sh -c quoted-command-line'
|
---|
512 | * correctly, you need this setting. Please see below for specific
|
---|
513 | * shell support.
|
---|
514 | */
|
---|
515 | /*#define BATCH_MODE_ONLY_SHELL 1 */
|
---|
516 |
|
---|
517 | /*
|
---|
518 | * Define if you have the Cygnus "Cygwin" GNU Windows32 tool set.
|
---|
519 | * Do NOT define BATCH_MODE_ONLY_SHELL if you define HAVE_CYGWIN_SHELL
|
---|
520 | */
|
---|
521 | /*#define HAVE_CYGWIN_SHELL 1 */
|
---|
522 |
|
---|
523 | /*
|
---|
524 | * Define if you have the MKS tool set or shell. Do NOT define
|
---|
525 | * BATCH_MODE_ONLY_SHELL if you define HAVE_MKS_SHELL
|
---|
526 | */
|
---|
527 | /*#define HAVE_MKS_SHELL 1 */
|
---|
528 |
|
---|
529 | /*
|
---|
530 | * Enforce the mutual exclusivity restriction.
|
---|
531 | */
|
---|
532 | #ifdef HAVE_MKS_SHELL
|
---|
533 | #undef BATCH_MODE_ONLY_SHELL
|
---|
534 | #endif
|
---|
535 |
|
---|
536 | #ifdef HAVE_CYGWIN_SHELL
|
---|
537 | #undef BATCH_MODE_ONLY_SHELL
|
---|
538 | #endif
|
---|
539 |
|
---|
540 | /* bird stat hacks. */
|
---|
541 | #include <io.h>
|
---|
542 | #include <direct.h>
|
---|
543 | #include "nt/ntstat.h"
|
---|
544 |
|
---|
545 | /* bird dirent hack. */
|
---|
546 | #define _DIRENT_H /* see w32/dirent.h */
|
---|
547 | #include "nt/ntdir.h"
|
---|
548 | #define _DIRENT_HAVE_D_NAMLEN 1
|
---|
549 | #define _DIRENT_HAVE_D_TYPE 1
|
---|
550 |
|
---|
551 | /* bird: Not sure if this is necessary any more... */
|
---|
552 | #define BATCH_MODE_ONLY_SHELL
|
---|
553 |
|
---|
554 | #include "inlined_memchr.h"
|
---|
555 |
|
---|
556 | /* bird: Include mscfakes.h to make sure we have all it's tricks applied. */
|
---|
557 | #ifndef ___mscfakes_h
|
---|
558 | # include "kmkbuiltin/mscfakes.h"
|
---|
559 | #endif
|
---|
560 |
|
---|
561 | /*
|
---|
562 | * Map posixfcn.c stuff to non-conflicting names.
|
---|
563 | */
|
---|
564 | #include <stdio.h>
|
---|
565 | #include <io.h>
|
---|
566 |
|
---|
567 | #define tmpfile posixfcn_tmpfile
|
---|
568 | FILE *posixfcn_tmpfile(void);
|
---|
569 |
|
---|
570 | #define isatty posixfcn_isatty
|
---|
571 | int posixfcn_isatty(int fd);
|
---|
572 |
|
---|
573 | #endif /* bird */
|
---|
574 |
|
---|