VirtualBox

source: kBuild/trunk/src/grep/config.win.h

Last change on this file was 3548, checked in by bird, 3 years ago

grep: Use get_crt_codepage(). Don't default to the UTF-8 manifest for older VCC versions as the CRT won't do the right thing.

  • Property svn:eol-style set to native
File size: 78.1 KB
Line 
1/* config.hin. Manually edited */
2#ifndef INCLUDED_CONFIG_WIN_H
3#define INCLUDED_CONFIG_WIN_H
4
5#if 1
6
7/* HACK ALERT! Make inlined CRT functions static to avoid getting duplicate
8 symbols errors for things like _vprintf_l. */
9# define _CRT_STDIO_INLINE static __inline
10
11/* HACK ALERT! Ugly ugly hack for making __local_stdio_printf_options static
12 and not to cause stupid stupid duplicate symbols linker errors. */
13# include <corecrt.h>
14# undef _CRT_INLINE_PURE_SECURITYCRITICAL_ATTRIBUTE
15# define _CRT_INLINE_PURE_SECURITYCRITICAL_ATTRIBUTE static
16
17/* HACK ALERT! wchar.h requires __inline temporarily redefined to static _inline or
18 we'll end up with mbsinit wmemchr, wmemcmp, wmemcpy and friends as duplicates. */
19# include <stdio.h>
20# include <conio.h>
21# include <string.h>
22# include <time.h>
23# include <sys/stat.h>
24# define __inline static _inline
25# include <wchar.h>
26# undef __inline
27
28#endif
29
30/* CPU and C ABI indicator */
31#ifndef __i386__
32#undef __i386__
33#endif
34#ifndef __x86_64_x32__
35#undef __x86_64_x32__
36#endif
37#ifndef __x86_64__
38#undef __x86_64__
39#endif
40#ifndef __alpha__
41#undef __alpha__
42#endif
43#ifndef __arm__
44#undef __arm__
45#endif
46#ifndef __armhf__
47#undef __armhf__
48#endif
49#ifndef __arm64_ilp32__
50#undef __arm64_ilp32__
51#endif
52#ifndef __arm64__
53#undef __arm64__
54#endif
55#ifndef __hppa__
56#undef __hppa__
57#endif
58#ifndef __hppa64__
59#undef __hppa64__
60#endif
61#ifndef __ia64_ilp32__
62#undef __ia64_ilp32__
63#endif
64#ifndef __ia64__
65#undef __ia64__
66#endif
67#ifndef __m68k__
68#undef __m68k__
69#endif
70#ifndef __mips__
71#undef __mips__
72#endif
73#ifndef __mipsn32__
74#undef __mipsn32__
75#endif
76#ifndef __mips64__
77#undef __mips64__
78#endif
79#ifndef __powerpc__
80#undef __powerpc__
81#endif
82#ifndef __powerpc64__
83#undef __powerpc64__
84#endif
85#ifndef __powerpc64_elfv2__
86#undef __powerpc64_elfv2__
87#endif
88#ifndef __riscv32__
89#undef __riscv32__
90#endif
91#ifndef __riscv64__
92#undef __riscv64__
93#endif
94#ifndef __riscv32_ilp32__
95#undef __riscv32_ilp32__
96#endif
97#ifndef __riscv32_ilp32f__
98#undef __riscv32_ilp32f__
99#endif
100#ifndef __riscv32_ilp32d__
101#undef __riscv32_ilp32d__
102#endif
103#ifndef __riscv64_ilp32__
104#undef __riscv64_ilp32__
105#endif
106#ifndef __riscv64_ilp32f__
107#undef __riscv64_ilp32f__
108#endif
109#ifndef __riscv64_ilp32d__
110#undef __riscv64_ilp32d__
111#endif
112#ifndef __riscv64_lp64__
113#undef __riscv64_lp64__
114#endif
115#ifndef __riscv64_lp64f__
116#undef __riscv64_lp64f__
117#endif
118#ifndef __riscv64_lp64d__
119#undef __riscv64_lp64d__
120#endif
121#ifndef __s390__
122#undef __s390__
123#endif
124#ifndef __s390x__
125#undef __s390x__
126#endif
127#ifndef __sh__
128#undef __sh__
129#endif
130#ifndef __sparc__
131#undef __sparc__
132#endif
133#ifndef __sparc64__
134#undef __sparc64__
135#endif
136
137
138/* Define if building universal (internal helper macro) */
139#undef AC_APPLE_UNIVERSAL_BUILD
140
141/* Define to the function xargmatch calls on failures. */
142#undef ARGMATCH_DIE
143
144/* Define to the declaration of the xargmatch failure function. */
145#undef ARGMATCH_DIE_DECL
146
147/* Define to the number of bits in type 'ptrdiff_t'. */
148#undef BITSIZEOF_PTRDIFF_T
149
150/* Define to the number of bits in type 'sig_atomic_t'. */
151#undef BITSIZEOF_SIG_ATOMIC_T
152
153/* Define to the number of bits in type 'size_t'. */
154#undef BITSIZEOF_SIZE_T
155
156/* Define to the number of bits in type 'wchar_t'. */
157#undef BITSIZEOF_WCHAR_T
158
159/* Define to the number of bits in type 'wint_t'. */
160#undef BITSIZEOF_WINT_T
161
162/* Define to 1 if the `closedir' function returns void instead of int. */
163#undef CLOSEDIR_VOID
164
165/* Define to 1 if using 'alloca.c'. */
166#undef C_ALLOCA
167
168/* Define as the bit index in the word where to find bit 0 of the exponent of
169 'double'. */
170#undef DBL_EXPBIT0_BIT
171
172/* Define as the word index where to find the exponent of 'double'. */
173#undef DBL_EXPBIT0_WORD
174
175/* the name of the file descriptor member of DIR */
176#undef DIR_FD_MEMBER_NAME
177
178#ifdef DIR_FD_MEMBER_NAME
179# define DIR_TO_FD(Dir_p) ((Dir_p)->DIR_FD_MEMBER_NAME)
180#else
181# define DIR_TO_FD(Dir_p) -1
182#endif
183
184
185/* Define to 1 if // is a file system root distinct from /. */
186#undef DOUBLE_SLASH_IS_DISTINCT_ROOT
187
188/* Define if struct dirent has a member d_ino that actually works. */
189#undef D_INO_IN_DIRENT
190
191/* Define to 1 if translation of program messages to the user's native
192 language is requested. */
193#undef ENABLE_NLS
194
195/* Define this to 1 if F_DUPFD behavior does not match POSIX */
196#undef FCNTL_DUPFD_BUGGY
197
198/* Define to nothing if C supports flexible array members, and to 1 if it does
199 not. That way, with a declaration like 'struct s { int n; short
200 d[FLEXIBLE_ARRAY_MEMBER]; };', the struct hack can be used with pre-C99
201 compilers. Use 'FLEXSIZEOF (struct s, d, N * sizeof (short))' to calculate
202 the size in bytes of such a struct containing an N-element array. */
203#define FLEXIBLE_ARRAY_MEMBER 1
204
205/* Define to 1 if fopen() fails to recognize a trailing slash. */
206#undef FOPEN_TRAILING_SLASH_BUG
207
208/* Define to 1 if nl_langinfo (YESEXPR) returns a non-empty string. */
209#undef FUNC_NL_LANGINFO_YESEXPR_WORKS
210
211/* Define this to 'void' or 'struct timezone' to match the system's
212 declaration of the second argument to gettimeofday. */
213#undef GETTIMEOFDAY_TIMEZONE
214
215/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
216 whether the gnulib module close-stream shall be considered present. */
217#undef GNULIB_CLOSE_STREAM
218
219/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
220 whether the gnulib module fcntl-safer shall be considered present. */
221#undef GNULIB_FCNTL_SAFER
222
223/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
224 whether the gnulib module fdopendir shall be considered present. */
225#undef GNULIB_FDOPENDIR
226
227/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
228 whether the gnulib module fd-safer-flag shall be considered present. */
229#undef GNULIB_FD_SAFER_FLAG
230
231/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
232 whether the gnulib module fopen-gnu shall be considered present. */
233#undef GNULIB_FOPEN_GNU
234
235/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
236 whether the gnulib module fscanf shall be considered present. */
237#undef GNULIB_FSCANF
238
239/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
240 whether the gnulib module isblank shall be considered present. */
241#undef GNULIB_ISBLANK
242
243/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
244 whether the gnulib module lock shall be considered present. */
245#undef GNULIB_LOCK
246
247/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
248 whether the gnulib module msvc-nothrow shall be considered present. */
249#undef GNULIB_MSVC_NOTHROW
250
251/* Define to 1 to disable use of VLAs */
252#undef GNULIB_NO_VLA
253
254/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
255 whether the gnulib module openat shall be considered present. */
256#define GNULIB_OPENAT 1
257
258/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
259 whether the gnulib module openat-safer shall be considered present. */
260#define GNULIB_OPENAT_SAFER 1
261
262/* enable some gnulib portability checks */
263#undef GNULIB_PORTCHECK
264
265/* Enable compile-time and run-time bounds-checking, and some warnings,
266 without upsetting glibc 2.15+. */
267 #if (defined GNULIB_PORTCHECK && !defined _FORTIFY_SOURCE \
268 && defined __OPTIMIZE__ && __OPTIMIZE__)
269 # define _FORTIFY_SOURCE 2
270 #endif
271
272
273/* Define to 1 if printf and friends should be labeled with attribute
274 "__gnu_printf__" instead of "__printf__" */
275#undef GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU
276
277/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
278 whether the gnulib module reallocarray shall be considered present. */
279#undef GNULIB_REALLOCARRAY
280
281/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
282 whether the gnulib module scanf shall be considered present. */
283#undef GNULIB_SCANF
284
285/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
286 whether the gnulib module snprintf shall be considered present. */
287#undef GNULIB_SNPRINTF
288
289/* Define to 1 if you want the FILE stream functions getc, putc, etc. to use
290 unlocked I/O if available, throughout the package. Unlocked I/O can improve
291 performance, sometimes dramatically. But unlocked I/O is safe only in
292 single-threaded programs, as well as in multithreaded programs for which
293 you can guarantee that every FILE stream, including stdin, stdout, stderr,
294 is used only in a single thread. */
295#undef GNULIB_STDIO_SINGLE_THREAD
296
297/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
298 whether the gnulib module strerror shall be considered present. */
299#undef GNULIB_STRERROR
300
301/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
302 whether the gnulib module strerror_r-posix shall be considered present. */
303#define GNULIB_STRERROR_R_POSIX 0
304
305/* Define to 1 when the gnulib module accept should be tested. */
306#undef GNULIB_TEST_ACCEPT
307
308/* Define to 1 when the gnulib module bind should be tested. */
309#undef GNULIB_TEST_BIND
310
311/* Define to 1 when the gnulib module btowc should be tested. */
312#undef GNULIB_TEST_BTOWC
313
314/* Define to 1 when the gnulib module calloc-posix should be tested. */
315#undef GNULIB_TEST_CALLOC_POSIX
316
317/* Define to 1 when the gnulib module chdir should be tested. */
318#undef GNULIB_TEST_CHDIR
319
320/* Define to 1 when the gnulib module cloexec should be tested. */
321#undef GNULIB_TEST_CLOEXEC
322
323/* Define to 1 when the gnulib module close should be tested. */
324#undef GNULIB_TEST_CLOSE
325
326/* Define to 1 when the gnulib module closedir should be tested. */
327#undef GNULIB_TEST_CLOSEDIR
328
329/* Define to 1 when the gnulib module connect should be tested. */
330#undef GNULIB_TEST_CONNECT
331
332/* Define to 1 when the gnulib module dirfd should be tested. */
333#undef GNULIB_TEST_DIRFD
334
335/* Define to 1 when the gnulib module dup should be tested. */
336#undef GNULIB_TEST_DUP
337
338/* Define to 1 when the gnulib module dup2 should be tested. */
339#undef GNULIB_TEST_DUP2
340
341/* Define to 1 when the gnulib module environ should be tested. */
342#undef GNULIB_TEST_ENVIRON
343
344/* Define to 1 when the gnulib module fchdir should be tested. */
345#undef GNULIB_TEST_FCHDIR
346
347/* Define to 1 when the gnulib module fcntl should be tested. */
348#undef GNULIB_TEST_FCNTL
349
350/* Define to 1 when the gnulib module fdopen should be tested. */
351#undef GNULIB_TEST_FDOPEN
352
353/* Define to 1 when the gnulib module fdopendir should be tested. */
354#undef GNULIB_TEST_FDOPENDIR
355
356/* Define to 1 when the gnulib module fgetc should be tested. */
357#undef GNULIB_TEST_FGETC
358
359/* Define to 1 when the gnulib module fgets should be tested. */
360#undef GNULIB_TEST_FGETS
361
362/* Define to 1 when the gnulib module fnmatch should be tested. */
363#undef GNULIB_TEST_FNMATCH
364
365/* Define to 1 when the gnulib module fopen should be tested. */
366#undef GNULIB_TEST_FOPEN
367
368/* Define to 1 when the gnulib module fprintf should be tested. */
369#undef GNULIB_TEST_FPRINTF
370
371/* Define to 1 when the gnulib module fputc should be tested. */
372#undef GNULIB_TEST_FPUTC
373
374/* Define to 1 when the gnulib module fputs should be tested. */
375#undef GNULIB_TEST_FPUTS
376
377/* Define to 1 when the gnulib module fread should be tested. */
378#undef GNULIB_TEST_FREAD
379
380/* Define to 1 when the gnulib module free-posix should be tested. */
381#undef GNULIB_TEST_FREE_POSIX
382
383/* Define to 1 when the gnulib module fscanf should be tested. */
384#undef GNULIB_TEST_FSCANF
385
386/* Define to 1 when the gnulib module fstat should be tested. */
387#undef GNULIB_TEST_FSTAT
388
389/* Define to 1 when the gnulib module fstatat should be tested. */
390#undef GNULIB_TEST_FSTATAT
391
392/* Define to 1 when the gnulib module ftruncate should be tested. */
393#undef GNULIB_TEST_FTRUNCATE
394
395/* Define to 1 when the gnulib module fwrite should be tested. */
396#undef GNULIB_TEST_FWRITE
397
398/* Define to 1 when the gnulib module getc should be tested. */
399#undef GNULIB_TEST_GETC
400
401/* Define to 1 when the gnulib module getchar should be tested. */
402#undef GNULIB_TEST_GETCHAR
403
404/* Define to 1 when the gnulib module getcwd should be tested. */
405#undef GNULIB_TEST_GETCWD
406
407/* Define to 1 when the gnulib module getdtablesize should be tested. */
408#undef GNULIB_TEST_GETDTABLESIZE
409
410/* Define to 1 when the gnulib module getopt-posix should be tested. */
411#undef GNULIB_TEST_GETOPT_POSIX
412
413/* Define to 1 when the gnulib module getpagesize should be tested. */
414#undef GNULIB_TEST_GETPAGESIZE
415
416/* Define to 1 when the gnulib module gettimeofday should be tested. */
417#undef GNULIB_TEST_GETTIMEOFDAY
418
419/* Define to 1 when the gnulib module ioctl should be tested. */
420#undef GNULIB_TEST_IOCTL
421
422/* Define to 1 when the gnulib module isatty should be tested. */
423#undef GNULIB_TEST_ISATTY
424
425/* Define to 1 when the gnulib module iswblank should be tested. */
426#undef GNULIB_TEST_ISWBLANK
427
428/* Define to 1 when the gnulib module iswctype should be tested. */
429#undef GNULIB_TEST_ISWCTYPE
430
431/* Define to 1 when the gnulib module iswdigit should be tested. */
432#undef GNULIB_TEST_ISWDIGIT
433
434/* Define to 1 when the gnulib module iswxdigit should be tested. */
435#undef GNULIB_TEST_ISWXDIGIT
436
437/* Define to 1 when the gnulib module listen should be tested. */
438#undef GNULIB_TEST_LISTEN
439
440/* Define to 1 when the gnulib module localeconv should be tested. */
441#undef GNULIB_TEST_LOCALECONV
442
443/* Define to 1 when the gnulib module localename should be tested. */
444#undef GNULIB_TEST_LOCALENAME
445
446/* Define to 1 when the gnulib module lseek should be tested. */
447#undef GNULIB_TEST_LSEEK
448
449/* Define to 1 when the gnulib module lstat should be tested. */
450#undef GNULIB_TEST_LSTAT
451
452/* Define to 1 when the gnulib module malloc-posix should be tested. */
453#undef GNULIB_TEST_MALLOC_POSIX
454
455/* Define to 1 when the gnulib module mbrlen should be tested. */
456#undef GNULIB_TEST_MBRLEN
457
458/* Define to 1 when the gnulib module mbrtowc should be tested. */
459#undef GNULIB_TEST_MBRTOWC
460
461/* Define to 1 when the gnulib module mbscasecmp should be tested. */
462#undef GNULIB_TEST_MBSCASECMP
463
464/* Define to 1 when the gnulib module mbsinit should be tested. */
465#undef GNULIB_TEST_MBSINIT
466
467/* Define to 1 when the gnulib module mbslen should be tested. */
468#undef GNULIB_TEST_MBSLEN
469
470/* Define to 1 when the gnulib module mbsrtowcs should be tested. */
471#undef GNULIB_TEST_MBSRTOWCS
472
473/* Define to 1 when the gnulib module mbsstr should be tested. */
474#undef GNULIB_TEST_MBSSTR
475
476/* Define to 1 when the gnulib module mbtowc should be tested. */
477#undef GNULIB_TEST_MBTOWC
478
479/* Define to 1 when the gnulib module memchr should be tested. */
480#undef GNULIB_TEST_MEMCHR
481
482/* Define to 1 when the gnulib module mempcpy should be tested. */
483#undef GNULIB_TEST_MEMPCPY
484
485/* Define to 1 when the gnulib module memrchr should be tested. */
486#undef GNULIB_TEST_MEMRCHR
487
488/* Define to 1 when the gnulib module nanosleep should be tested. */
489#undef GNULIB_TEST_NANOSLEEP
490
491/* Define to 1 when the gnulib module nl_langinfo should be tested. */
492#undef GNULIB_TEST_NL_LANGINFO
493
494/* Define to 1 when the gnulib module open should be tested. */
495#undef GNULIB_TEST_OPEN
496
497/* Define to 1 when the gnulib module openat should be tested. */
498#undef GNULIB_TEST_OPENAT
499
500/* Define to 1 when the gnulib module opendir should be tested. */
501#undef GNULIB_TEST_OPENDIR
502
503/* Define to 1 when the gnulib module perror should be tested. */
504#undef GNULIB_TEST_PERROR
505
506/* Define to 1 when the gnulib module pipe should be tested. */
507#undef GNULIB_TEST_PIPE
508
509/* Define to 1 when the gnulib module printf should be tested. */
510#undef GNULIB_TEST_PRINTF
511
512/* Define to 1 when the gnulib module pthread_sigmask should be tested. */
513#undef GNULIB_TEST_PTHREAD_SIGMASK
514
515/* Define to 1 when the gnulib module pthread-thread should be tested. */
516#undef GNULIB_TEST_PTHREAD_THREAD
517
518/* Define to 1 when the gnulib module putc should be tested. */
519#undef GNULIB_TEST_PUTC
520
521/* Define to 1 when the gnulib module putchar should be tested. */
522#undef GNULIB_TEST_PUTCHAR
523
524/* Define to 1 when the gnulib module putenv should be tested. */
525#undef GNULIB_TEST_PUTENV
526
527/* Define to 1 when the gnulib module puts should be tested. */
528#undef GNULIB_TEST_PUTS
529
530/* Define to 1 when the gnulib module raise should be tested. */
531#undef GNULIB_TEST_RAISE
532
533/* Define to 1 when the gnulib module rawmemchr should be tested. */
534#undef GNULIB_TEST_RAWMEMCHR
535
536/* Define to 1 when the gnulib module read should be tested. */
537#undef GNULIB_TEST_READ
538
539/* Define to 1 when the gnulib module readdir should be tested. */
540#undef GNULIB_TEST_READDIR
541
542/* Define to 1 when the gnulib module reallocarray should be tested. */
543#undef GNULIB_TEST_REALLOCARRAY
544
545/* Define to 1 when the gnulib module realloc-posix should be tested. */
546#undef GNULIB_TEST_REALLOC_POSIX
547
548/* Define to 1 when the gnulib module scanf should be tested. */
549#undef GNULIB_TEST_SCANF
550
551/* Define to 1 when the gnulib module select should be tested. */
552#undef GNULIB_TEST_SELECT
553
554/* Define to 1 when the gnulib module setenv should be tested. */
555#undef GNULIB_TEST_SETENV
556
557/* Define to 1 when the gnulib module setlocale should be tested. */
558#undef GNULIB_TEST_SETLOCALE
559
560/* Define to 1 when the gnulib module setlocale_null should be tested. */
561#undef GNULIB_TEST_SETLOCALE_NULL
562
563/* Define to 1 when the gnulib module setsockopt should be tested. */
564#undef GNULIB_TEST_SETSOCKOPT
565
566/* Define to 1 when the gnulib module sigaction should be tested. */
567#undef GNULIB_TEST_SIGACTION
568
569/* Define to 1 when the gnulib module sigprocmask should be tested. */
570#undef GNULIB_TEST_SIGPROCMASK
571
572/* Define to 1 when the gnulib module sleep should be tested. */
573#undef GNULIB_TEST_SLEEP
574
575/* Define to 1 when the gnulib module snprintf should be tested. */
576#undef GNULIB_TEST_SNPRINTF
577
578/* Define to 1 when the gnulib module socket should be tested. */
579#undef GNULIB_TEST_SOCKET
580
581/* Define to 1 when the gnulib module stat should be tested. */
582#undef GNULIB_TEST_STAT
583
584/* Define to 1 when the gnulib module stpcpy should be tested. */
585#undef GNULIB_TEST_STPCPY
586
587/* Define to 1 when the gnulib module strdup should be tested. */
588#undef GNULIB_TEST_STRDUP
589
590/* Define to 1 when the gnulib module strerror should be tested. */
591#undef GNULIB_TEST_STRERROR
592
593/* Define to 1 when the gnulib module strerror_r should be tested. */
594#undef GNULIB_TEST_STRERROR_R
595
596/* Define to 1 when the gnulib module strnlen should be tested. */
597#undef GNULIB_TEST_STRNLEN
598
599/* Define to 1 when the gnulib module strstr should be tested. */
600#undef GNULIB_TEST_STRSTR
601
602/* Define to 1 when the gnulib module strtoll should be tested. */
603#undef GNULIB_TEST_STRTOLL
604
605/* Define to 1 when the gnulib module strtoull should be tested. */
606#undef GNULIB_TEST_STRTOULL
607
608/* Define to 1 when the gnulib module symlink should be tested. */
609#undef GNULIB_TEST_SYMLINK
610
611/* Define to 1 when the gnulib module unsetenv should be tested. */
612#undef GNULIB_TEST_UNSETENV
613
614/* Define to 1 when the gnulib module vfprintf should be tested. */
615#undef GNULIB_TEST_VFPRINTF
616
617/* Define to 1 when the gnulib module vprintf should be tested. */
618#undef GNULIB_TEST_VPRINTF
619
620/* Define to 1 when the gnulib module wcrtomb should be tested. */
621#undef GNULIB_TEST_WCRTOMB
622
623/* Define to 1 when the gnulib module wctob should be tested. */
624#undef GNULIB_TEST_WCTOB
625
626/* Define to 1 when the gnulib module wctomb should be tested. */
627#undef GNULIB_TEST_WCTOMB
628
629/* Define to 1 when the gnulib module wcwidth should be tested. */
630#undef GNULIB_TEST_WCWIDTH
631
632/* Define to 1 when the gnulib module wmemchr should be tested. */
633#undef GNULIB_TEST_WMEMCHR
634
635/* Define to 1 when the gnulib module wmempcpy should be tested. */
636#undef GNULIB_TEST_WMEMPCPY
637
638/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
639 whether the gnulib module unistr/u8-mbtoucr shall be considered present. */
640#undef GNULIB_UNISTR_U8_MBTOUCR
641
642/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
643 whether the gnulib module unistr/u8-uctomb shall be considered present. */
644#undef GNULIB_UNISTR_U8_UCTOMB
645
646/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
647 whether the gnulib module xalloc shall be considered present. */
648#define GNULIB_XALLOC 1
649
650/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
651 whether the gnulib module xalloc-die shall be considered present. */
652#define GNULIB_XALLOC_DIE 1
653
654/* We are building grep */
655#define GREP
656
657/* Define to 1 if you have 'alloca' after including <alloca.h>, a header that
658 may be supplied by this distribution. */
659#undef HAVE_ALLOCA
660
661/* Define to 1 if <alloca.h> works. */
662#undef HAVE_ALLOCA_H
663
664/* Define to 1 if you have the <arpa/inet.h> header file. */
665#undef HAVE_ARPA_INET_H
666
667/* Define to 1 if you have the <bp-sym.h> header file. */
668#undef HAVE_BP_SYM_H
669
670/* Define to 1 if you have the `btowc' function. */
671#undef HAVE_BTOWC
672
673/* Define to 1 if nanosleep mishandles large arguments. */
674#undef HAVE_BUG_BIG_NANOSLEEP
675
676/* Define to 1 if you have the `catgets' function. */
677#undef HAVE_CATGETS
678
679/* Define to 1 if you have the Mac OS X function
680 CFLocaleCopyPreferredLanguages in the CoreFoundation framework. */
681#undef HAVE_CFLOCALECOPYPREFERREDLANGUAGES
682
683/* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in
684 the CoreFoundation framework. */
685#undef HAVE_CFPREFERENCESCOPYAPPVALUE
686
687/* Define to 1 if you have the `closedir' function. */
688#define HAVE_CLOSEDIR 1
689
690/* Define to 1 if you have the <crtdefs.h> header file. */
691#undef HAVE_CRTDEFS_H
692
693/* Define if the GNU dcgettext() function is already present or preinstalled.
694 */
695#undef HAVE_DCGETTEXT
696
697/* Define to 1 if you have the declaration of `alarm', and to 0 if you don't.
698 */
699#undef HAVE_DECL_ALARM
700
701/* Define to 1 if you have the declaration of `clearerr_unlocked', and to 0 if
702 you don't. */
703#undef HAVE_DECL_CLEARERR_UNLOCKED
704
705/* Define to 1 if you have the declaration of `dirfd', and to 0 if you don't.
706 */
707#undef HAVE_DECL_DIRFD
708
709/* Define to 1 if you have the declaration of `ecvt', and to 0 if you don't.
710 */
711#undef HAVE_DECL_ECVT
712
713/* Define to 1 if you have the declaration of `execvpe', and to 0 if you
714 don't. */
715#undef HAVE_DECL_EXECVPE
716
717/* Define to 1 if you have the declaration of `fchdir', and to 0 if you don't.
718 */
719#define HAVE_DECL_FCHDIR 0
720
721/* Define to 1 if you have the declaration of `fcloseall', and to 0 if you
722 don't. */
723#undef HAVE_DECL_FCLOSEALL
724
725/* Define to 1 if you have the declaration of `fcvt', and to 0 if you don't.
726 */
727#undef HAVE_DECL_FCVT
728
729/* Define to 1 if you have the declaration of `fdopendir', and to 0 if you
730 don't. */
731#undef HAVE_DECL_FDOPENDIR
732
733/* Define to 1 if you have the declaration of `feof_unlocked', and to 0 if you
734 don't. */
735#undef HAVE_DECL_FEOF_UNLOCKED
736
737/* Define to 1 if you have the declaration of `ferror_unlocked', and to 0 if
738 you don't. */
739#undef HAVE_DECL_FERROR_UNLOCKED
740
741/* Define to 1 if you have the declaration of `fflush_unlocked', and to 0 if
742 you don't. */
743#undef HAVE_DECL_FFLUSH_UNLOCKED
744
745/* Define to 1 if you have the declaration of `fgets_unlocked', and to 0 if
746 you don't. */
747#undef HAVE_DECL_FGETS_UNLOCKED
748
749/* Define to 1 if you have the declaration of `fputc_unlocked', and to 0 if
750 you don't. */
751#undef HAVE_DECL_FPUTC_UNLOCKED
752
753/* Define to 1 if you have the declaration of `fputs_unlocked', and to 0 if
754 you don't. */
755#undef HAVE_DECL_FPUTS_UNLOCKED
756
757/* Define to 1 if you have the declaration of `fread_unlocked', and to 0 if
758 you don't. */
759#undef HAVE_DECL_FREAD_UNLOCKED
760
761/* Define to 1 if you have the declaration of `fwrite_unlocked', and to 0 if
762 you don't. */
763#undef HAVE_DECL_FWRITE_UNLOCKED
764
765/* Define to 1 if you have the declaration of `gcvt', and to 0 if you don't.
766 */
767#undef HAVE_DECL_GCVT
768
769/* Define to 1 if you have the declaration of `getchar_unlocked', and to 0 if
770 you don't. */
771#define HAVE_DECL_GETCHAR_UNLOCKED 0
772
773/* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you
774 don't. */
775#define HAVE_DECL_GETC_UNLOCKED 0
776
777/* Define to 1 if you have the declaration of `getdtablesize', and to 0 if you
778 don't. */
779#undef HAVE_DECL_GETDTABLESIZE
780
781/* Define to 1 if you have the declaration of `inet_pton', and to 0 if you
782 don't. */
783#undef HAVE_DECL_INET_PTON
784
785/* Define to 1 if you have the declaration of `isblank', and to 0 if you
786 don't. */
787#define HAVE_DECL_ISBLANK 0
788
789/* Define to 1 if you have the declaration of `iswblank', and to 0 if you
790 don't. */
791#define HAVE_DECL_ISWBLANK 1
792
793/* Define to 1 if you have the declaration of `mbrlen', and to 0 if you don't.
794 */
795#define HAVE_DECL_MBRLEN 1
796
797/* Define to 1 if you have the declaration of `mbrtowc', and to 0 if you
798 don't. */
799#define HAVE_DECL_MBRTOWC 1
800
801/* Define to 1 if you have the declaration of `mbsinit', and to 0 if you
802 don't. */
803#define HAVE_DECL_MBSINIT 0
804
805/* Define to 1 if you have the declaration of `mbsrtowcs', and to 0 if you
806 don't. */
807#define HAVE_DECL_MBSRTOWCS 0
808
809/* Define to 1 if you have the declaration of `memrchr', and to 0 if you
810 don't. */
811#define HAVE_DECL_MEMRCHR 0
812
813/* Define to 1 if you have the declaration of `program_invocation_name', and
814 to 0 if you don't. */
815#define HAVE_DECL_PROGRAM_INVOCATION_NAME 0
816
817/* Define to 1 if you have the declaration of `program_invocation_short_name',
818 and to 0 if you don't. */
819#define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME 0
820
821/* Define to 1 if you have the declaration of `putchar_unlocked', and to 0 if
822 you don't. */
823#define HAVE_DECL_PUTCHAR_UNLOCKED 0
824
825/* Define to 1 if you have the declaration of `putc_unlocked', and to 0 if you
826 don't. */
827#define HAVE_DECL_PUTC_UNLOCKED 0
828
829/* Define to 1 if you have the declaration of `setenv', and to 0 if you don't.
830 */
831#define HAVE_DECL_SETENV 0
832
833/* Define to 1 if you have the declaration of `sleep', and to 0 if you don't.
834 */
835#define HAVE_DECL_SLEEP 0
836
837/* Define to 1 if you have the declaration of `snprintf', and to 0 if you
838 don't. */
839#define HAVE_DECL_SNPRINTF 1
840
841/* Define to 1 if you have the declaration of `strdup', and to 0 if you don't.
842 */
843#define HAVE_DECL_STRDUP 1
844
845/* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
846 don't. */
847#define HAVE_DECL_STRERROR_R 1
848
849/* Define to 1 if you have the declaration of `strnlen', and to 0 if you
850 don't. */
851#define HAVE_DECL_STRNLEN 1
852
853/* Define to 1 if you have the declaration of `strtoimax', and to 0 if you
854 don't. */
855#define HAVE_DECL_STRTOIMAX 1
856
857/* Define to 1 if you have the declaration of `strtoll', and to 0 if you
858 don't. */
859#define HAVE_DECL_STRTOLL 1
860
861/* Define to 1 if you have the declaration of `strtoull', and to 0 if you
862 don't. */
863#define HAVE_DECL_STRTOULL 1
864
865/* Define to 1 if you have the declaration of `strtoumax', and to 0 if you
866 don't. */
867#define HAVE_DECL_STRTOUMAX 1
868
869/* Define to 1 if you have the declaration of `towlower', and to 0 if you
870 don't. */
871#define HAVE_DECL_TOWLOWER 1
872
873/* Define to 1 if you have the declaration of `unsetenv', and to 0 if you
874 don't. */
875#define HAVE_DECL_UNSETENV 0
876
877/* Define to 1 if you have the declaration of `wcrtomb', and to 0 if you
878 don't. */
879#define HAVE_DECL_WCRTOMB 0
880
881/* Define to 1 if you have the declaration of `wcsdup', and to 0 if you don't.
882 */
883#define HAVE_DECL_WCSDUP 1
884
885/* Define to 1 if you have the declaration of `wctob', and to 0 if you don't.
886 */
887#define HAVE_DECL_WCTOB 1
888
889/* Define to 1 if you have the declaration of `wcwidth', and to 0 if you
890 don't. */
891#define HAVE_DECL_WCWIDTH 0
892
893/* Define to 1 if you have the declaration of `_putenv', and to 0 if you
894 don't. */
895#define HAVE_DECL__PUTENV 1
896
897/* Define to 1 if you have the declaration of `_snprintf', and to 0 if you
898 don't. */
899#undef HAVE_DECL__SNPRINTF
900
901/* Define to 1 if you have the declaration of `__argv', and to 0 if you don't.
902 */
903#define HAVE_DECL___ARGV 1
904
905/* Define to 1 if you have the declaration of `__fpending', and to 0 if you
906 don't. */
907#define HAVE_DECL___FPENDING 0
908
909/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
910 */
911#undef HAVE_DIRENT_H
912
913/* Define to 1 if you have the `dirfd' function. */
914#undef HAVE_DIRFD
915
916/* Define to 1 if you have the `duplocale' function. */
917#undef HAVE_DUPLOCALE
918
919/* Define if you have the declaration of environ. */
920#undef HAVE_ENVIRON_DECL
921
922/* Define if the locale_t type contains insufficient information, as on
923 OpenBSD. */
924#undef HAVE_FAKE_LOCALES
925
926/* Define to 1 if you have the `fchdir' function. */
927#undef HAVE_FCHDIR
928
929/* Define to 1 if you have the `fcntl' function. */
930#undef HAVE_FCNTL
931
932/* Define to 1 if you have the `fdopendir' function. */
933#undef HAVE_FDOPENDIR
934
935/* Define to 1 if you have the <features.h> header file. */
936#undef HAVE_FEATURES_H
937
938/* Define to 1 if you have the `fnmatch' function. */
939#undef HAVE_FNMATCH
940
941/* Define to 1 if you have the <fnmatch.h> header file. */
942#undef HAVE_FNMATCH_H
943
944/* Define to 1 if you have the `freelocale' function. */
945#undef HAVE_FREELOCALE
946
947/* Define if the 'free' function is guaranteed to preserve errno. */
948#undef HAVE_FREE_POSIX
949
950/* Define to 1 if you have the `fstatat' function. */
951#undef HAVE_FSTATAT
952
953/* Define to 1 if you have the `fstatfs' function. */
954#undef HAVE_FSTATFS
955
956/* Define to 1 if you have the `ftruncate' function. */
957#undef HAVE_FTRUNCATE
958
959/* Define to 1 if you have the `getdtablesize' function. */
960#undef HAVE_GETDTABLESIZE
961
962/* Define to 1 if you have the `getexecname' function. */
963#undef HAVE_GETEXECNAME
964
965/* Define to 1 if you have the `getlocalename_l' function. */
966#undef HAVE_GETLOCALENAME_L
967
968/* Define to 1 if you have the <getopt.h> header file. */
969#undef HAVE_GETOPT_H
970
971/* Define to 1 if you have the `getopt_long_only' function. */
972#undef HAVE_GETOPT_LONG_ONLY
973
974/* Define to 1 if you have the `getprogname' function. */
975#define HAVE_GETPROGNAME 1
976const char *getprogname(void);
977
978/* Define to 1 if you have the `getrlimit' function. */
979#undef HAVE_GETRLIMIT
980
981/* Define if the GNU gettext() function is already present or preinstalled. */
982#undef HAVE_GETTEXT
983
984/* Define to 1 if you have the `gettimeofday' function. */
985#undef HAVE_GETTIMEOFDAY
986
987/* Define if the uselocale exists, may be safely called, and returns
988 sufficient information. */
989#undef HAVE_GOOD_USELOCALE
990
991/* Define if you have the iconv() function and it works. */
992#undef HAVE_ICONV
993
994/* Define to 1 if you have the <iconv.h> header file. */
995#undef HAVE_ICONV_H
996
997/* Define to 1 if you have the `inet_pton' function. */
998#undef HAVE_INET_PTON
999
1000/* Define to 1 if the compiler supports one of the keywords 'inline',
1001 '__inline__', '__inline' and effectively inlines functions marked as such.
1002 */
1003#undef HAVE_INLINE
1004
1005/* Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>. */
1006#undef HAVE_INTMAX_T
1007
1008/* Define to 1 if you have the <inttypes.h> header file. */
1009#undef HAVE_INTTYPES_H
1010
1011/* Define if <inttypes.h> exists, doesn't clash with <sys/types.h>, and
1012 declares uintmax_t. */
1013#undef HAVE_INTTYPES_H_WITH_UINTMAX
1014
1015/* Define to 1 if you have the `ioctl' function. */
1016#undef HAVE_IOCTL
1017
1018/* Define to 1 if <sys/socket.h> defines AF_INET. */
1019#undef HAVE_IPV4
1020
1021/* Define to 1 if <sys/socket.h> defines AF_INET6. */
1022#undef HAVE_IPV6
1023
1024/* Define to 1 if you have the `isascii' function. */
1025#undef HAVE_ISASCII
1026
1027/* Define to 1 if you have the `isblank' function. */
1028#undef HAVE_ISBLANK
1029
1030/* Define to 1 if you have the `iswblank' function. */
1031#undef HAVE_ISWBLANK
1032
1033/* Define to 1 if you have the `iswcntrl' function. */
1034#undef HAVE_ISWCNTRL
1035
1036/* Define to 1 if you have the `iswctype' function. */
1037#undef HAVE_ISWCTYPE
1038
1039/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
1040#undef HAVE_LANGINFO_CODESET
1041
1042/* Define to 1 if you have the <langinfo.h> header file. */
1043#undef HAVE_LANGINFO_H
1044
1045/* Define if your <locale.h> file defines LC_MESSAGES. */
1046#undef HAVE_LC_MESSAGES
1047
1048/* Define to 1 if you have the <libintl.h> header file. */
1049#undef HAVE_LIBINTL_H
1050
1051/* Define to 1 if you have the Perl Compatible Regular Expressions library
1052 (-lpcre). */
1053#undef HAVE_LIBPCRE
1054
1055/* Define if you have the libsigsegv library. */
1056#undef HAVE_LIBSIGSEGV
1057
1058/* Define to 1 if you have the <limits.h> header file. */
1059#undef HAVE_LIMITS_H
1060
1061/* Define to 1 if the system has the type 'long long int'. */
1062#undef HAVE_LONG_LONG_INT
1063
1064/* Define to 1 if you have the `lstat' function. */
1065#undef HAVE_LSTAT
1066
1067/* Define to 1 if you have the <malloc.h> header file. */
1068#undef HAVE_MALLOC_H
1069
1070/* Define if malloc, realloc, and calloc set errno on allocation failure. */
1071#undef HAVE_MALLOC_POSIX
1072
1073/* Define to 1 if mmap()'s MAP_ANONYMOUS flag is available after including
1074 config.h and <sys/mman.h>. */
1075#undef HAVE_MAP_ANONYMOUS
1076
1077/* Define to 1 if you have the `mbrlen' function. */
1078#undef HAVE_MBRLEN
1079
1080/* Define to 1 if you have the `mbrtowc' function. */
1081#undef HAVE_MBRTOWC
1082
1083/* Define to 1 if you have the `mbsinit' function. */
1084#undef HAVE_MBSINIT
1085
1086/* Define to 1 if you have the `mbslen' function. */
1087#undef HAVE_MBSLEN
1088
1089/* Define to 1 if you have the `mbsrtowcs' function. */
1090#undef HAVE_MBSRTOWCS
1091
1092/* Define to 1 if <wchar.h> declares mbstate_t. */
1093#undef HAVE_MBSTATE_T
1094
1095/* Define to 1 if you have the `mbtowc' function. */
1096#undef HAVE_MBTOWC
1097
1098/* Define to 1 if you have the `mempcpy' function. */
1099#define HAVE_MEMPCPY 1
1100
1101#include <string.h>
1102static _inline void *mempcpy(void *pvDst, const void *pvSrc, size_t cb)
1103{
1104 return (char *)memcpy(pvDst, pvSrc, cb) + cb;
1105}
1106
1107/* Define to 1 if you have the `memrchr' function. */
1108#undef HAVE_MEMRCHR
1109void *memrchr(const void *, int, size_t);
1110
1111/* Define to 1 if you have the <minix/config.h> header file. */
1112#undef HAVE_MINIX_CONFIG_H
1113
1114/* Define to 1 if <limits.h> defines the MIN and MAX macros. */
1115#undef HAVE_MINMAX_IN_LIMITS_H
1116
1117/* Define to 1 if <sys/param.h> defines the MIN and MAX macros. */
1118#undef HAVE_MINMAX_IN_SYS_PARAM_H
1119
1120/* Define to 1 if you have the `mprotect' function. */
1121#undef HAVE_MPROTECT
1122
1123/* Define to 1 on MSVC platforms that have the "invalid parameter handler"
1124 concept. */
1125#undef HAVE_MSVC_INVALID_PARAMETER_HANDLER
1126
1127/* Define if the locale_t type does not contain the name of each locale
1128 category. */
1129#undef HAVE_NAMELESS_LOCALES
1130
1131/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
1132#undef HAVE_NDIR_H
1133
1134/* Define to 1 if you have the <netdb.h> header file. */
1135#undef HAVE_NETDB_H
1136
1137/* Define to 1 if you have the <netinet/in.h> header file. */
1138#undef HAVE_NETINET_IN_H
1139
1140/* Define to 1 if you have the `newlocale' function. */
1141#undef HAVE_NEWLOCALE
1142
1143/* Define to 1 if you have the `nl_langinfo' function. */
1144#undef HAVE_NL_LANGINFO
1145
1146/* Define to 1 if the system has obstacks that work with any size object. */
1147#undef HAVE_OBSTACK
1148
1149/* Define to 1 if you have the `openat' function. */
1150#define HAVE_OPENAT 1
1151
1152/* Define to 1 if you have the `opendir' function. */
1153#define HAVE_OPENDIR 1
1154
1155/* Define to 1 if you have the <OS.h> header file. */
1156#undef HAVE_OS_H
1157
1158/* Define to 1 if you have the `pipe' function. */
1159#undef HAVE_PIPE
1160
1161/* Define if you have the <pthread.h> header and the POSIX threads API. */
1162#undef HAVE_PTHREAD_API
1163
1164/* Define to 1 if you have the `pthread_atfork' function. */
1165#undef HAVE_PTHREAD_ATFORK
1166
1167/* Define to 1 if you have the <pthread.h> header file. */
1168#undef HAVE_PTHREAD_H
1169
1170/* Define if the <pthread.h> defines PTHREAD_MUTEX_RECURSIVE. */
1171#undef HAVE_PTHREAD_MUTEX_RECURSIVE
1172
1173/* Define if the POSIX multithreading library has read/write locks. */
1174#undef HAVE_PTHREAD_RWLOCK
1175
1176/* Define if the 'pthread_rwlock_rdlock' function prefers a writer to a
1177 reader. */
1178#undef HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER
1179
1180/* Define to 1 if the pthread_sigmask function can be used (despite bugs). */
1181#undef HAVE_PTHREAD_SIGMASK
1182
1183/* Define to 1 if the system has the type `pthread_spinlock_t'. */
1184#undef HAVE_PTHREAD_SPINLOCK_T
1185
1186/* Define to 1 if the system has the type `pthread_t'. */
1187#undef HAVE_PTHREAD_T
1188
1189/* Define to 1 if you have the `raise' function. */
1190#undef HAVE_RAISE
1191
1192/* Define to 1 if you have the `rawmemchr' function. */
1193#define HAVE_RAWMEMCHR 1
1194
1195
1196#include <string.h>
1197static _inline void *rawmemchr(const void *pv, int ch)
1198{
1199 return memchr(pv, ch, ~(size_t)0 / 4);
1200}
1201
1202/* Define to 1 if you have the `readdir' function. */
1203#define HAVE_READDIR 1
1204
1205/* Define to 1 if you have the `reallocarray' function. */
1206#undef HAVE_REALLOCARRAY
1207
1208/* Define to 1 if the system has the type `sa_family_t'. */
1209#undef HAVE_SA_FAMILY_T
1210
1211/* Define to 1 if you have the <sched.h> header file. */
1212#undef HAVE_SCHED_H
1213
1214/* Define to 1 if you have the <sdkddkver.h> header file. */
1215#undef HAVE_SDKDDKVER_H
1216
1217/* Define to 1 if you have the <search.h> header file. */
1218#undef HAVE_SEARCH_H
1219
1220/* Define to 1 if you have the `setdtablesize' function. */
1221#undef HAVE_SETDTABLESIZE
1222
1223/* Define to 1 if you have the `setenv' function. */
1224#undef HAVE_SETENV
1225
1226/* Define to 1 if you have the `setlocale' function. */
1227#define HAVE_SETLOCALE 1
1228
1229/* Define to 1 if you have the `setrlimit' function. */
1230#undef HAVE_SETRLIMIT
1231
1232/* Define to 1 if you have the `shutdown' function. */
1233#undef HAVE_SHUTDOWN
1234
1235/* Define to 1 if you have the `sigaction' function. */
1236#undef HAVE_SIGACTION
1237
1238/* Define to 1 if you have the `sigaltstack' function. */
1239#undef HAVE_SIGALTSTACK
1240
1241/* Define to 1 if the system has the type `siginfo_t'. */
1242#undef HAVE_SIGINFO_T
1243
1244/* Define to 1 if you have the `siginterrupt' function. */
1245#undef HAVE_SIGINTERRUPT
1246
1247/* Define to 1 if 'sig_atomic_t' is a signed integer type. */
1248#undef HAVE_SIGNED_SIG_ATOMIC_T
1249
1250/* Define to 1 if 'wchar_t' is a signed integer type. */
1251#undef HAVE_SIGNED_WCHAR_T
1252
1253/* Define to 1 if 'wint_t' is a signed integer type. */
1254#undef HAVE_SIGNED_WINT_T
1255
1256/* Define to 1 if the system has the type `sigset_t'. */
1257#undef HAVE_SIGSET_T
1258
1259/* Define to 1 if you have the `sleep' function. */
1260#undef HAVE_SLEEP
1261
1262/* Define to 1 if you have the `snprintf' function. */
1263#undef HAVE_SNPRINTF
1264
1265/* Define if the return value of the snprintf function is the number of of
1266 bytes (excluding the terminating NUL) that would have been produced if the
1267 buffer had been large enough. */
1268#undef HAVE_SNPRINTF_RETVAL_C99
1269
1270/* Define if the string produced by the snprintf function is always NUL
1271 terminated. */
1272#undef HAVE_SNPRINTF_TRUNCATION_C99
1273
1274/* Define if the locale_t type is as on Solaris 11.4. */
1275#undef HAVE_SOLARIS114_LOCALES
1276
1277/* Define to 1 if you have the <stdint.h> header file. */
1278#undef HAVE_STDINT_H
1279
1280/* Define if <stdint.h> exists, doesn't clash with <sys/types.h>, and declares
1281 uintmax_t. */
1282#undef HAVE_STDINT_H_WITH_UINTMAX
1283
1284/* Define to 1 if you have the <stdio_ext.h> header file. */
1285#undef HAVE_STDIO_EXT_H
1286
1287/* Define to 1 if you have the <stdio.h> header file. */
1288#undef HAVE_STDIO_H
1289
1290/* Define to 1 if you have the <stdlib.h> header file. */
1291#undef HAVE_STDLIB_H
1292
1293/* Define to 1 if you have the `stpcpy' function. */
1294#undef HAVE_STPCPY
1295
1296/* Define to 1 if you have the `strerror_r' function. */
1297#define HAVE_STRERROR_R 1
1298#include <string.h>
1299static _inline int strerror_r(int iErr, char *pszDst, size_t cbDst)
1300{
1301 return strerror_s(pszDst, cbDst, iErr);
1302}
1303
1304/* Define to 1 if you have the <strings.h> header file. */
1305#undef HAVE_STRINGS_H
1306
1307/* Define to 1 if you have the <string.h> header file. */
1308#undef HAVE_STRING_H
1309
1310/* Define to 1 if you have the `strnlen' function. */
1311#undef HAVE_STRNLEN
1312
1313/* Define to 1 if you have the `strtoimax' function. */
1314#undef HAVE_STRTOIMAX
1315
1316/* Define to 1 if you have the `strtoll' function. */
1317#undef HAVE_STRTOLL
1318
1319/* Define to 1 if you have the `strtoull' function. */
1320#undef HAVE_STRTOULL
1321
1322/* Define to 1 if you have the `strtoumax' function. */
1323#undef HAVE_STRTOUMAX
1324
1325/* Define if there is a member named d_type in the struct describing directory
1326 headers. */
1327#undef HAVE_STRUCT_DIRENT_D_TYPE
1328
1329/* Define to 1 if `decimal_point' is a member of `struct lconv'. */
1330#undef HAVE_STRUCT_LCONV_DECIMAL_POINT
1331
1332/* Define to 1 if `sa_sigaction' is a member of `struct sigaction'. */
1333#undef HAVE_STRUCT_SIGACTION_SA_SIGACTION
1334
1335/* Define to 1 if the system has the type `struct sockaddr_storage'. */
1336#undef HAVE_STRUCT_SOCKADDR_STORAGE
1337
1338/* Define to 1 if `ss_family' is a member of `struct sockaddr_storage'. */
1339#undef HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY
1340
1341/* Define to 1 if `f_type' is a member of `struct statfs'. */
1342#undef HAVE_STRUCT_STATFS_F_TYPE
1343
1344/* Define to 1 if `st_atimensec' is a member of `struct stat'. */
1345#undef HAVE_STRUCT_STAT_ST_ATIMENSEC
1346
1347/* Define to 1 if `st_atimespec.tv_nsec' is a member of `struct stat'. */
1348#undef HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC
1349
1350/* Define to 1 if `st_atim.st__tim.tv_nsec' is a member of `struct stat'. */
1351#undef HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC
1352
1353/* Define to 1 if `st_atim.tv_nsec' is a member of `struct stat'. */
1354#undef HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC
1355
1356/* Define to 1 if `st_birthtimensec' is a member of `struct stat'. */
1357#undef HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC
1358
1359/* Define to 1 if `st_birthtimespec.tv_nsec' is a member of `struct stat'. */
1360#undef HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC
1361
1362/* Define to 1 if `st_birthtim.tv_nsec' is a member of `struct stat'. */
1363#undef HAVE_STRUCT_STAT_ST_BIRTHTIM_TV_NSEC
1364
1365/* Define to 1 if you have the `symlink' function. */
1366#undef HAVE_SYMLINK
1367
1368/* Define to 1 if you have the <sys/bitypes.h> header file. */
1369#undef HAVE_SYS_BITYPES_H
1370
1371/* Define to 1 if you have the <sys/cdefs.h> header file. */
1372#undef HAVE_SYS_CDEFS_H
1373
1374/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
1375 */
1376#undef HAVE_SYS_DIR_H
1377
1378/* Define to 1 if you have the <sys/inttypes.h> header file. */
1379#undef HAVE_SYS_INTTYPES_H
1380
1381/* Define to 1 if you have the <sys/ioctl.h> header file. */
1382#undef HAVE_SYS_IOCTL_H
1383
1384/* Define to 1 if you have the <sys/mman.h> header file. */
1385#undef HAVE_SYS_MMAN_H
1386
1387/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
1388 */
1389#undef HAVE_SYS_NDIR_H
1390
1391/* Define to 1 if you have the <sys/param.h> header file. */
1392#undef HAVE_SYS_PARAM_H
1393
1394/* Define to 1 if you have the <sys/select.h> header file. */
1395#undef HAVE_SYS_SELECT_H
1396
1397/* Define to 1 if you have the <sys/single_threaded.h> header file. */
1398#undef HAVE_SYS_SINGLE_THREADED_H
1399
1400/* Define to 1 if you have the <sys/socket.h> header file. */
1401#undef HAVE_SYS_SOCKET_H
1402
1403/* Define to 1 if you have the <sys/stat.h> header file. */
1404#undef HAVE_SYS_STAT_H
1405
1406/* Define to 1 if you have the <sys/time.h> header file. */
1407#undef HAVE_SYS_TIME_H
1408
1409/* Define to 1 if you have the <sys/types.h> header file. */
1410#undef HAVE_SYS_TYPES_H
1411
1412/* Define to 1 if you have the <sys/uio.h> header file. */
1413#undef HAVE_SYS_UIO_H
1414
1415/* Define to 1 if you have the <sys/vfs.h> header file. */
1416#undef HAVE_SYS_VFS_H
1417
1418/* Define to 1 if you have the <sys/wait.h> header file. */
1419#undef HAVE_SYS_WAIT_H
1420
1421/* Define to 1 if you have the `thrd_create' function. */
1422#undef HAVE_THRD_CREATE
1423
1424/* Define to 1 if you have the <threads.h> header file. */
1425#undef HAVE_THREADS_H
1426
1427/* Define to 1 if you have the `towlower' function. */
1428#undef HAVE_TOWLOWER
1429
1430/* Define to 1 if you have the `tsearch' function. */
1431#undef HAVE_TSEARCH
1432
1433/* Define to 1 if you have the <unistd.h> header file. */
1434#undef HAVE_UNISTD_H
1435
1436/* Define to 1 if you have the `unsetenv' function. */
1437#undef HAVE_UNSETENV
1438
1439/* Define to 1 if the system has the type 'unsigned long long int'. */
1440#undef HAVE_UNSIGNED_LONG_LONG_INT
1441
1442/* Define to 1 if you have the `uselocale' function. */
1443#undef HAVE_USELOCALE
1444
1445/* Define if you have a global __progname variable */
1446#undef HAVE_VAR___PROGNAME
1447
1448/* Define to 1 if you have the `vasnprintf' function. */
1449#undef HAVE_VASNPRINTF
1450
1451/* Define to 1 or 0, depending whether the compiler supports simple visibility
1452 declarations. */
1453#undef HAVE_VISIBILITY
1454
1455/* Define to 1 if you have the <wchar.h> header file. */
1456#undef HAVE_WCHAR_H
1457
1458/* Define if you have the 'wchar_t' type. */
1459#undef HAVE_WCHAR_T
1460
1461/* Define to 1 if you have the `wcrtomb' function. */
1462#undef HAVE_WCRTOMB
1463
1464/* Define to 1 if you have the `wcslen' function. */
1465#undef HAVE_WCSLEN
1466
1467/* Define to 1 if you have the `wcsnlen' function. */
1468#undef HAVE_WCSNLEN
1469
1470/* Define to 1 if you have the `wctob' function. */
1471#undef HAVE_WCTOB
1472
1473/* Define to 1 if you have the <wctype.h> header file. */
1474#undef HAVE_WCTYPE_H
1475
1476/* Define to 1 if you have the `wcwidth' function. */
1477#undef HAVE_WCWIDTH
1478
1479/* Define to 1 if the compiler and linker support weak declarations of
1480 symbols. */
1481#undef HAVE_WEAK_SYMBOLS
1482
1483/* Define to 1 if you have the <winsock2.h> header file. */
1484#undef HAVE_WINSOCK2_H
1485
1486/* Define if you have the 'wint_t' type. */
1487#undef HAVE_WINT_T
1488
1489/* Define to 1 if you have the `wmempcpy' function. */
1490#undef HAVE_WMEMPCPY
1491
1492/* Define to 1 if fstatat (..., 0) works. For example, it does not work in AIX
1493 7.1. */
1494#undef HAVE_WORKING_FSTATAT_ZERO_FLAG
1495
1496/* Define to 1 if O_NOATIME works. */
1497#undef HAVE_WORKING_O_NOATIME
1498
1499/* Define to 1 if O_NOFOLLOW works. */
1500#undef HAVE_WORKING_O_NOFOLLOW
1501
1502/* Define if you have the sigaltstack() function and it works. */
1503#undef HAVE_WORKING_SIGALTSTACK
1504
1505/* Define if the uselocale function exists and may safely be called. */
1506#undef HAVE_WORKING_USELOCALE
1507
1508/* Define to 1 if you have the <ws2tcpip.h> header file. */
1509#undef HAVE_WS2TCPIP_H
1510
1511/* Define to 1 if you have the <xlocale.h> header file. */
1512#undef HAVE_XLOCALE_H
1513
1514/* Define to 1 if the system has the type `_Bool'. */
1515#undef HAVE__BOOL
1516
1517/* Define to 1 if you have the `_chsize' function. */
1518#undef HAVE__CHSIZE
1519
1520/* Define to 1 if you have the `_set_invalid_parameter_handler' function. */
1521#undef HAVE__SET_INVALID_PARAMETER_HANDLER
1522
1523/* Define to 1 if the compiler supports __builtin_expect,
1524 and to 2 if <builtins.h> does. */
1525#undef HAVE___BUILTIN_EXPECT
1526#ifndef HAVE___BUILTIN_EXPECT
1527# define __builtin_expect(e, c) (e)
1528#elif HAVE___BUILTIN_EXPECT == 2
1529# include <builtins.h>
1530#endif
1531
1532
1533/* Define to 1 if the system has the type `__fsword_t'. */
1534#undef HAVE___FSWORD_T
1535
1536/* Define to 1 if the compiler supports the keyword '__inline'. */
1537#undef HAVE___INLINE
1538
1539/* Define to 1 if you have the `__xpg_strerror_r' function. */
1540#undef HAVE___XPG_STRERROR_R
1541
1542/* Define as const if the declaration of iconv() needs const. */
1543#undef ICONV_CONST
1544
1545/* Define to a symbolic name denoting the flavor of iconv_open()
1546 implementation. */
1547#undef ICONV_FLAVOR
1548
1549/* Define if localename.c overrides newlocale(), duplocale(), freelocale(). */
1550#undef LOCALENAME_ENHANCE_LOCALE_FUNCS
1551
1552/* Define to 1 if lseek does not detect pipes. */
1553#undef LSEEK_PIPE_BROKEN
1554
1555/* Define to 1 if 'lstat' dereferences a symlink specified with a trailing
1556 slash. */
1557#undef LSTAT_FOLLOWS_SLASHED_SYMLINK
1558
1559/* If malloc(0) is != NULL, define this to 1. Otherwise define this to 0. */
1560#undef MALLOC_0_IS_NONNULL
1561
1562/* Define to a substitute value for mmap()'s MAP_ANONYMOUS flag. */
1563#undef MAP_ANONYMOUS
1564
1565/* Define if the mbrtowc function does not return (size_t) -2 for empty input.
1566 */
1567#undef MBRTOWC_EMPTY_INPUT_BUG
1568
1569/* Define if the mbrtowc function may signal encoding errors in the C locale.
1570 */
1571#undef MBRTOWC_IN_C_LOCALE_MAYBE_EILSEQ
1572
1573/* Define if the mbrtowc function has the NULL pwc argument bug. */
1574#undef MBRTOWC_NULL_ARG1_BUG
1575
1576/* Define if the mbrtowc function has the NULL string argument bug. */
1577#undef MBRTOWC_NULL_ARG2_BUG
1578
1579/* Define if the mbrtowc function does not return 0 for a NUL character. */
1580#undef MBRTOWC_NUL_RETVAL_BUG
1581
1582/* Define if the mbrtowc function returns a wrong return value. */
1583#undef MBRTOWC_RETVAL_BUG
1584
1585/* Define if the mbrtowc function stores a wide character when reporting
1586 incomplete input. */
1587#undef MBRTOWC_STORES_INCOMPLETE_BUG
1588
1589/* Use GNU style printf and scanf. */
1590#ifndef __USE_MINGW_ANSI_STDIO
1591# undef __USE_MINGW_ANSI_STDIO
1592#endif
1593
1594
1595/* Define to 1 on musl libc. */
1596#undef MUSL_LIBC
1597
1598/* Define to 1 if assertions should be disabled. */
1599#undef NDEBUG
1600
1601/* Define to 1 to enable general improvements of setlocale. */
1602#undef NEED_SETLOCALE_IMPROVED
1603
1604/* Define to 1 to enable a multithread-safety fix of setlocale. */
1605#undef NEED_SETLOCALE_MTSAFE
1606
1607/* Define to 1 if nl_langinfo is multithread-safe. */
1608#undef NL_LANGINFO_MTSAFE
1609
1610/* Define to 1 if open() fails to recognize a trailing slash. */
1611#undef OPEN_TRAILING_SLASH_BUG
1612
1613/* Name of package */
1614#define PACKAGE "kmk_grep"
1615
1616/* Define to the address where bug reports for this package should be sent. */
1617#define PACKAGE_BUGREPORT "[email protected]"
1618
1619/* Define to the full name of this package. */
1620#define PACKAGE_NAME "kmk_grep"
1621
1622/* String identifying the packager of this software */
1623#undef PACKAGE_PACKAGER
1624
1625/* Packager info for bug reports (URL/e-mail/...) */
1626#undef PACKAGE_PACKAGER_BUG_REPORTS
1627
1628/* Packager-specific version information */
1629#undef PACKAGE_PACKAGER_VERSION
1630
1631/* Define to the full name and version of this package. */
1632#undef PACKAGE_STRING
1633
1634/* Define to the one symbol short name of this package. */
1635#undef PACKAGE_TARNAME
1636
1637/* Define to the home page for this package. */
1638#undef PACKAGE_URL
1639
1640/* Define to the version of this package. */
1641#define PACKAGE_VERSION "3.7"
1642
1643/* Define to the type that is the result of default argument promotions of
1644 type mode_t. */
1645#define PROMOTED_MODE_T uintptr_t
1646
1647/* Define if pthread_create is an inline function. */
1648#undef PTHREAD_CREATE_IS_INLINE
1649
1650/* Define if the pthread_in_use() detection is hard. */
1651#undef PTHREAD_IN_USE_DETECTION_HARD
1652
1653/* Define to 1 if pthread_sigmask(), when it fails, returns -1 and sets errno.
1654 */
1655#undef PTHREAD_SIGMASK_FAILS_WITH_ERRNO
1656
1657/* Define to 1 if pthread_sigmask may return 0 and have no effect. */
1658#undef PTHREAD_SIGMASK_INEFFECTIVE
1659
1660/* Define to 1 if pthread_sigmask() unblocks signals incorrectly. */
1661#undef PTHREAD_SIGMASK_UNBLOCK_BUG
1662
1663/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
1664 'ptrdiff_t'. */
1665#undef PTRDIFF_T_SUFFIX
1666
1667/* Define to 1 if gnulib's dirfd() replacement is used. */
1668#undef REPLACE_DIRFD
1669
1670/* Define to 1 if gnulib's fchdir() replacement is used. */
1671#define REPLACE_FCHDIR 1
1672
1673/* Define to 1 if stat needs help when passed a file name with a trailing
1674 slash */
1675#undef REPLACE_FUNC_STAT_FILE
1676
1677/* Define if nl_langinfo exists but is overridden by gnulib. */
1678#undef REPLACE_NL_LANGINFO
1679
1680/* Define to 1 if open() should work around the inability to open a directory.
1681 */
1682#undef REPLACE_OPEN_DIRECTORY
1683
1684/* Define to 1 if strerror(0) does not return a message implying success. */
1685#undef REPLACE_STRERROR_0
1686
1687/* Define if vasnprintf exists but is overridden by gnulib. */
1688#undef REPLACE_VASNPRINTF
1689
1690/* Define to 1 if setlocale (LC_ALL, NULL) is multithread-safe. */
1691#undef SETLOCALE_NULL_ALL_MTSAFE
1692
1693/* Define to 1 if setlocale (category, NULL) is multithread-safe. */
1694#undef SETLOCALE_NULL_ONE_MTSAFE
1695
1696/* Define if sigaltstack() interprets the stack_t.ss_sp field incorrectly, as
1697 the highest address of the alternate stack range rather than as the lowest
1698 address. */
1699#undef SIGALTSTACK_SS_REVERSED
1700
1701/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
1702 'sig_atomic_t'. */
1703#undef SIG_ATOMIC_T_SUFFIX
1704
1705/* Define as the maximum value of type 'size_t', if the system doesn't define
1706 it. */
1707#ifndef SIZE_MAX
1708# undef SIZE_MAX
1709#endif
1710
1711/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
1712 'size_t'. */
1713#undef SIZE_T_SUFFIX
1714
1715/* Define on Solaris 11 and its derivates. */
1716#undef SOLARIS11
1717
1718/* Define as the direction of stack growth for your system. STACK_DIRECTION >
1719 0 => grows toward higher addresses STACK_DIRECTION < 0 => grows toward
1720 lower addresses STACK_DIRECTION = 0 => spaghetti stack. */
1721#undef STACK_DIRECTION
1722
1723/* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
1724#undef STAT_MACROS_BROKEN
1725
1726/* Define to 1 if all of the C90 standard headers exist (not just the ones
1727 required in a freestanding environment). This macro is provided for
1728 backward compatibility; new code need not use it. */
1729#undef STDC_HEADERS
1730
1731/* Define to 1 if strerror_r returns char *. */
1732#undef STRERROR_R_CHAR_P
1733
1734/* Define to 1 if the type of the st_atim member of a struct stat is struct
1735 timespec. */
1736#undef TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC
1737
1738/* Define if the combination of the ISO C and POSIX multithreading APIs can be
1739 used. */
1740#undef USE_ISOC_AND_POSIX_THREADS
1741
1742/* Define if the ISO C multithreading library can be used. */
1743#undef USE_ISOC_THREADS
1744
1745/* Define if the POSIX multithreading library can be used. */
1746#undef USE_POSIX_THREADS
1747
1748/* Define if references to the POSIX multithreading library are satisfied by
1749 libc. */
1750#undef USE_POSIX_THREADS_FROM_LIBC
1751
1752/* Define if references to the POSIX multithreading library should be made
1753 weak. */
1754#undef USE_POSIX_THREADS_WEAK
1755
1756/* Enable extensions on AIX 3, Interix. */
1757#ifndef _ALL_SOURCE
1758# undef _ALL_SOURCE
1759#endif
1760/* Enable general extensions on macOS. */
1761#ifndef _DARWIN_C_SOURCE
1762# undef _DARWIN_C_SOURCE
1763#endif
1764/* Enable general extensions on Solaris. */
1765#ifndef __EXTENSIONS__
1766# undef __EXTENSIONS__
1767#endif
1768/* Enable GNU extensions on systems that have them. */
1769#ifndef _GNU_SOURCE
1770# define _GNU_SOURCE
1771#endif
1772/* Enable X/Open compliant socket functions that do not require linking
1773 with -lxnet on HP-UX 11.11. */
1774#ifndef _HPUX_ALT_XOPEN_SOCKET_API
1775# undef _HPUX_ALT_XOPEN_SOCKET_API
1776#endif
1777/* Identify the host operating system as Minix.
1778 This macro does not affect the system headers' behavior.
1779 A future release of Autoconf may stop defining this macro. */
1780#ifndef _MINIX
1781# undef _MINIX
1782#endif
1783/* Enable general extensions on NetBSD.
1784 Enable NetBSD compatibility extensions on Minix. */
1785#ifndef _NETBSD_SOURCE
1786# undef _NETBSD_SOURCE
1787#endif
1788/* Enable OpenBSD compatibility extensions on NetBSD.
1789 Oddly enough, this does nothing on OpenBSD. */
1790#ifndef _OPENBSD_SOURCE
1791# undef _OPENBSD_SOURCE
1792#endif
1793/* Define to 1 if needed for POSIX-compatible behavior. */
1794#ifndef _POSIX_SOURCE
1795# undef _POSIX_SOURCE
1796#endif
1797/* Define to 2 if needed for POSIX-compatible behavior. */
1798#ifndef _POSIX_1_SOURCE
1799# undef _POSIX_1_SOURCE
1800#endif
1801/* Enable POSIX-compatible threading on Solaris. */
1802#ifndef _POSIX_PTHREAD_SEMANTICS
1803# undef _POSIX_PTHREAD_SEMANTICS
1804#endif
1805/* Enable extensions specified by ISO/IEC TS 18661-5:2014. */
1806#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__
1807# undef __STDC_WANT_IEC_60559_ATTRIBS_EXT__
1808#endif
1809/* Enable extensions specified by ISO/IEC TS 18661-1:2014. */
1810#ifndef __STDC_WANT_IEC_60559_BFP_EXT__
1811# undef __STDC_WANT_IEC_60559_BFP_EXT__
1812#endif
1813/* Enable extensions specified by ISO/IEC TS 18661-2:2015. */
1814#ifndef __STDC_WANT_IEC_60559_DFP_EXT__
1815# undef __STDC_WANT_IEC_60559_DFP_EXT__
1816#endif
1817/* Enable extensions specified by ISO/IEC TS 18661-4:2015. */
1818#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__
1819# undef __STDC_WANT_IEC_60559_FUNCS_EXT__
1820#endif
1821/* Enable extensions specified by ISO/IEC TS 18661-3:2015. */
1822#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__
1823# undef __STDC_WANT_IEC_60559_TYPES_EXT__
1824#endif
1825/* Enable extensions specified by ISO/IEC TR 24731-2:2010. */
1826#ifndef __STDC_WANT_LIB_EXT2__
1827# undef __STDC_WANT_LIB_EXT2__
1828#endif
1829/* Enable extensions specified by ISO/IEC 24747:2009. */
1830#ifndef __STDC_WANT_MATH_SPEC_FUNCS__
1831# undef __STDC_WANT_MATH_SPEC_FUNCS__
1832#endif
1833/* Enable extensions on HP NonStop. */
1834#ifndef _TANDEM_SOURCE
1835# undef _TANDEM_SOURCE
1836#endif
1837/* Enable X/Open extensions. Define to 500 only if necessary
1838 to make mbstate_t available. */
1839#ifndef _XOPEN_SOURCE
1840# undef _XOPEN_SOURCE
1841#endif
1842
1843
1844/* An alias of GNULIB_STDIO_SINGLE_THREAD. */
1845#undef USE_UNLOCKED_IO
1846
1847/* Define if the native Windows multithreading API can be used. */
1848#undef USE_WINDOWS_THREADS
1849
1850/* Version number of package */
1851#define VERSION PACKAGE_VERSION
1852
1853/* Define to 1 if unsetenv returns void instead of int. */
1854#undef VOID_UNSETENV
1855
1856/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
1857 'wchar_t'. */
1858#undef WCHAR_T_SUFFIX
1859
1860/* Define if the wcrtomb function does not work in the C locale. */
1861#undef WCRTOMB_C_LOCALE_BUG
1862
1863/* Define if the wcrtomb function has an incorrect return value. */
1864#undef WCRTOMB_RETVAL_BUG
1865
1866/* Define if WSAStartup is needed. */
1867#undef WINDOWS_SOCKETS
1868
1869/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
1870 'wint_t'. */
1871#undef WINT_T_SUFFIX
1872
1873/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
1874 significant byte first (like Motorola and SPARC, unlike Intel). */
1875#if defined AC_APPLE_UNIVERSAL_BUILD
1876# if defined __BIG_ENDIAN__
1877# define WORDS_BIGENDIAN 1
1878# endif
1879#else
1880# ifndef WORDS_BIGENDIAN
1881# undef WORDS_BIGENDIAN
1882# endif
1883#endif
1884
1885/* Number of bits in a file offset, on hosts where this is settable. */
1886#undef _FILE_OFFSET_BITS
1887
1888/* True if the compiler says it groks GNU C version MAJOR.MINOR. */
1889#if defined __GNUC__ && defined __GNUC_MINOR__
1890# define _GL_GNUC_PREREQ(major, minor) \
1891 ((major) < __GNUC__ + ((minor) <= __GNUC_MINOR__))
1892#else
1893# define _GL_GNUC_PREREQ(major, minor) 0
1894#endif
1895
1896
1897/* Define to enable the declarations of ISO C 11 types and functions. */
1898#undef _ISOC11_SOURCE
1899
1900/* Define for large files, on AIX-style hosts. */
1901#undef _LARGE_FILES
1902
1903/* Define to 1 on Solaris. */
1904#undef _LCONV_C99
1905
1906/* The _Noreturn keyword of C11. */
1907#ifndef _Noreturn
1908# if (defined __cplusplus \
1909 && ((201103 <= __cplusplus && !(__GNUC__ == 4 && __GNUC_MINOR__ == 7)) \
1910 || (defined _MSC_VER && 1900 <= _MSC_VER)) \
1911 && 0)
1912 /* [[noreturn]] is not practically usable, because with it the syntax
1913 extern _Noreturn void func (...);
1914 would not be valid; such a declaration would only be valid with 'extern'
1915 and '_Noreturn' swapped, or without the 'extern' keyword. However, some
1916 AIX system header files and several gnulib header files use precisely
1917 this syntax with 'extern'. */
1918# define _Noreturn [[noreturn]]
1919# elif ((!defined __cplusplus || defined __clang__) \
1920 && (201112 <= (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) \
1921 || (!defined __STRICT_ANSI__ \
1922 && (_GL_GNUC_PREREQ (4, 7) \
1923 || (defined __apple_build_version__ \
1924 ? 6000000 <= __apple_build_version__ \
1925 : 3 < __clang_major__ + (5 <= __clang_minor__))))))
1926 /* _Noreturn works as-is. */
1927# elif _GL_GNUC_PREREQ (2, 8) || defined __clang__ || 0x5110 <= __SUNPRO_C
1928# define _Noreturn __attribute__ ((__noreturn__))
1929# elif 1200 <= (defined _MSC_VER ? _MSC_VER : 0)
1930# define _Noreturn __declspec (noreturn)
1931# else
1932# define _Noreturn
1933# endif
1934#endif
1935
1936
1937/* Define to 1 in order to get the POSIX compatible declarations of socket
1938 functions. */
1939#undef _POSIX_PII_SOCKET
1940
1941/* Define if you want <regex.h> to include <limits.h>, so that it consistently
1942 overrides <limits.h>'s RE_DUP_MAX. */
1943#undef _REGEX_INCLUDE_LIMITS_H
1944
1945/* Define if you want regoff_t to be at least as wide POSIX requires. */
1946#undef _REGEX_LARGE_OFFSETS
1947
1948/* Number of bits in a timestamp, on hosts where this is settable. */
1949#undef _TIME_BITS
1950
1951/* For standard stat data types on VMS. */
1952#undef _USE_STD_STAT
1953
1954/* Define to rpl_ if the getopt replacement functions and variables should be
1955 used. */
1956#undef __GETOPT_PREFIX
1957
1958/* For 64-bit time_t on 32-bit mingw. */
1959#undef __MINGW_USE_VC2005_COMPAT
1960
1961/* Define to 1 if the system <stdint.h> predates C++11. */
1962#undef __STDC_CONSTANT_MACROS
1963
1964/* Define to 1 if the system <stdint.h> predates C++11. */
1965#undef __STDC_LIMIT_MACROS
1966
1967/* The _GL_ASYNC_SAFE marker should be attached to functions that are
1968 signal handlers (for signals other than SIGABRT, SIGPIPE) or can be
1969 invoked from such signal handlers. Such functions have some restrictions:
1970 * All functions that it calls should be marked _GL_ASYNC_SAFE as well,
1971 or should be listed as async-signal-safe in POSIX
1972 <https://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_04>
1973 section 2.4.3. Note that malloc(), sprintf(), and fwrite(), in
1974 particular, are NOT async-signal-safe.
1975 * All memory locations (variables and struct fields) that these functions
1976 access must be marked 'volatile'. This holds for both read and write
1977 accesses. Otherwise the compiler might optimize away stores to and
1978 reads from such locations that occur in the program, depending on its
1979 data flow analysis. For example, when the program contains a loop
1980 that is intended to inspect a variable set from within a signal handler
1981 while (!signal_occurred)
1982 ;
1983 the compiler is allowed to transform this into an endless loop if the
1984 variable 'signal_occurred' is not declared 'volatile'.
1985 Additionally, recall that:
1986 * A signal handler should not modify errno (except if it is a handler
1987 for a fatal signal and ends by raising the same signal again, thus
1988 provoking the termination of the process). If it invokes a function
1989 that may clobber errno, it needs to save and restore the value of
1990 errno. */
1991#define _GL_ASYNC_SAFE
1992
1993
1994/* Attributes. */
1995#if (defined __has_attribute \
1996 && (!defined __clang_minor__ \
1997 || 3 < __clang_major__ + (5 <= __clang_minor__)))
1998# define _GL_HAS_ATTRIBUTE(attr) __has_attribute (__##attr##__)
1999#else
2000# define _GL_HAS_ATTRIBUTE(attr) _GL_ATTR_##attr
2001# define _GL_ATTR_alloc_size _GL_GNUC_PREREQ (4, 3)
2002# define _GL_ATTR_always_inline _GL_GNUC_PREREQ (3, 2)
2003# define _GL_ATTR_artificial _GL_GNUC_PREREQ (4, 3)
2004# define _GL_ATTR_cold _GL_GNUC_PREREQ (4, 3)
2005# define _GL_ATTR_const _GL_GNUC_PREREQ (2, 95)
2006# define _GL_ATTR_deprecated _GL_GNUC_PREREQ (3, 1)
2007# define _GL_ATTR_diagnose_if 0
2008# define _GL_ATTR_error _GL_GNUC_PREREQ (4, 3)
2009# define _GL_ATTR_externally_visible _GL_GNUC_PREREQ (4, 1)
2010# define _GL_ATTR_fallthrough _GL_GNUC_PREREQ (7, 0)
2011# define _GL_ATTR_format _GL_GNUC_PREREQ (2, 7)
2012# define _GL_ATTR_leaf _GL_GNUC_PREREQ (4, 6)
2013# define _GL_ATTR_malloc _GL_GNUC_PREREQ (3, 0)
2014# ifdef _ICC
2015# define _GL_ATTR_may_alias 0
2016# else
2017# define _GL_ATTR_may_alias _GL_GNUC_PREREQ (3, 3)
2018# endif
2019# define _GL_ATTR_noinline _GL_GNUC_PREREQ (3, 1)
2020# define _GL_ATTR_nonnull _GL_GNUC_PREREQ (3, 3)
2021# define _GL_ATTR_nonstring _GL_GNUC_PREREQ (8, 0)
2022# define _GL_ATTR_nothrow _GL_GNUC_PREREQ (3, 3)
2023# define _GL_ATTR_packed _GL_GNUC_PREREQ (2, 7)
2024# define _GL_ATTR_pure _GL_GNUC_PREREQ (2, 96)
2025# define _GL_ATTR_returns_nonnull _GL_GNUC_PREREQ (4, 9)
2026# define _GL_ATTR_sentinel _GL_GNUC_PREREQ (4, 0)
2027# define _GL_ATTR_unused _GL_GNUC_PREREQ (2, 7)
2028# define _GL_ATTR_warn_unused_result _GL_GNUC_PREREQ (3, 4)
2029#endif
2030
2031#ifdef __has_c_attribute
2032# define _GL_HAS_C_ATTRIBUTE(attr) __has_c_attribute (__##attr##__)
2033#else
2034# define _GL_HAS_C_ATTRIBUTE(attr) 0
2035#endif
2036
2037
2038#if _GL_HAS_ATTRIBUTE (alloc_size)
2039# define _GL_ATTRIBUTE_ALLOC_SIZE(args) __attribute__ ((__alloc_size__ args))
2040#else
2041# define _GL_ATTRIBUTE_ALLOC_SIZE(args)
2042#endif
2043
2044#if _GL_HAS_ATTRIBUTE (always_inline)
2045# define _GL_ATTRIBUTE_ALWAYS_INLINE __attribute__ ((__always_inline__))
2046#else
2047# define _GL_ATTRIBUTE_ALWAYS_INLINE
2048#endif
2049
2050#if _GL_HAS_ATTRIBUTE (artificial)
2051# define _GL_ATTRIBUTE_ARTIFICIAL __attribute__ ((__artificial__))
2052#else
2053# define _GL_ATTRIBUTE_ARTIFICIAL
2054#endif
2055
2056/* Avoid __attribute__ ((cold)) on MinGW; see thread starting at
2057 <https://lists.gnu.org/r/emacs-devel/2019-04/msg01152.html>.
2058 Also, Oracle Studio 12.6 requires 'cold' not '__cold__'. */
2059#if _GL_HAS_ATTRIBUTE (cold) && !defined __MINGW32__
2060# ifndef __SUNPRO_C
2061# define _GL_ATTRIBUTE_COLD __attribute__ ((__cold__))
2062# else
2063# define _GL_ATTRIBUTE_COLD __attribute__ ((cold))
2064# endif
2065#else
2066# define _GL_ATTRIBUTE_COLD
2067#endif
2068
2069#if _GL_HAS_ATTRIBUTE (const)
2070# define _GL_ATTRIBUTE_CONST __attribute__ ((__const__))
2071#else
2072# define _GL_ATTRIBUTE_CONST
2073#endif
2074
2075/* _GL_ATTRIBUTE_DEALLOC (F, I) is for functions returning pointers
2076 that can be freed by passing them as the Ith argument to the
2077 function F. _GL_ATTRIBUTE_DEALLOC_FREE is for functions that
2078 return pointers that can be freed via 'free'; it can be used
2079 only after including stdlib.h. These macros cannot be used on
2080 inline functions. */
2081#if _GL_GNUC_PREREQ (11, 0)
2082# define _GL_ATTRIBUTE_DEALLOC(f, i) __attribute__ ((__malloc__ (f, i)))
2083#else
2084# define _GL_ATTRIBUTE_DEALLOC(f, i)
2085#endif
2086#define _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_DEALLOC (free, 1)
2087
2088#if _GL_HAS_C_ATTRIBUTE (deprecated)
2089# define _GL_ATTRIBUTE_DEPRECATED [[__deprecated__]]
2090#elif _GL_HAS_ATTRIBUTE (deprecated)
2091# define _GL_ATTRIBUTE_DEPRECATED __attribute__ ((__deprecated__))
2092#else
2093# define _GL_ATTRIBUTE_DEPRECATED
2094#endif
2095
2096#if _GL_HAS_ATTRIBUTE (error)
2097# define _GL_ATTRIBUTE_ERROR(msg) __attribute__ ((__error__ (msg)))
2098# define _GL_ATTRIBUTE_WARNING(msg) __attribute__ ((__warning__ (msg)))
2099#elif _GL_HAS_ATTRIBUTE (diagnose_if)
2100# define _GL_ATTRIBUTE_ERROR(msg) __attribute__ ((__diagnose_if__ (1, msg, "error")))
2101# define _GL_ATTRIBUTE_WARNING(msg) __attribute__ ((__diagnose_if__ (1, msg, "warning")))
2102#else
2103# define _GL_ATTRIBUTE_ERROR(msg)
2104# define _GL_ATTRIBUTE_WARNING(msg)
2105#endif
2106
2107#if _GL_HAS_ATTRIBUTE (externally_visible)
2108# define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE __attribute__ ((externally_visible))
2109#else
2110# define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE
2111#endif
2112
2113/* FALLTHROUGH is special, because it always expands to something. */
2114#if _GL_HAS_C_ATTRIBUTE (fallthrough)
2115# define _GL_ATTRIBUTE_FALLTHROUGH [[__fallthrough__]]
2116#elif _GL_HAS_ATTRIBUTE (fallthrough)
2117# define _GL_ATTRIBUTE_FALLTHROUGH __attribute__ ((__fallthrough__))
2118#else
2119# define _GL_ATTRIBUTE_FALLTHROUGH ((void) 0)
2120#endif
2121
2122#if _GL_HAS_ATTRIBUTE (format)
2123# define _GL_ATTRIBUTE_FORMAT(spec) __attribute__ ((__format__ spec))
2124#else
2125# define _GL_ATTRIBUTE_FORMAT(spec)
2126#endif
2127
2128#if _GL_HAS_ATTRIBUTE (leaf)
2129# define _GL_ATTRIBUTE_LEAF __attribute__ ((__leaf__))
2130#else
2131# define _GL_ATTRIBUTE_LEAF
2132#endif
2133
2134#if _GL_HAS_ATTRIBUTE (malloc)
2135# define _GL_ATTRIBUTE_MALLOC __attribute__ ((__malloc__))
2136#else
2137# define _GL_ATTRIBUTE_MALLOC
2138#endif
2139
2140/* Oracle Studio 12.6 mishandles may_alias despite __has_attribute OK. */
2141#if _GL_HAS_ATTRIBUTE (may_alias) && !defined __SUNPRO_C
2142# define _GL_ATTRIBUTE_MAY_ALIAS __attribute__ ((__may_alias__))
2143#else
2144# define _GL_ATTRIBUTE_MAY_ALIAS
2145#endif
2146
2147#if _GL_HAS_C_ATTRIBUTE (maybe_unused)
2148# define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]]
2149#else
2150# define _GL_ATTRIBUTE_MAYBE_UNUSED _GL_ATTRIBUTE_UNUSED
2151#endif
2152/* Earlier spellings of this macro. */
2153#define _UNUSED_PARAMETER_ _GL_ATTRIBUTE_MAYBE_UNUSED
2154
2155#if _GL_HAS_C_ATTRIBUTE (nodiscard)
2156# define _GL_ATTRIBUTE_NODISCARD [[__nodiscard__]]
2157#elif _GL_HAS_ATTRIBUTE (warn_unused_result)
2158# define _GL_ATTRIBUTE_NODISCARD __attribute__ ((__warn_unused_result__))
2159#else
2160# define _GL_ATTRIBUTE_NODISCARD
2161#endif
2162
2163#if _GL_HAS_ATTRIBUTE (noinline)
2164# define _GL_ATTRIBUTE_NOINLINE __attribute__ ((__noinline__))
2165#else
2166# define _GL_ATTRIBUTE_NOINLINE
2167#endif
2168
2169#if _GL_HAS_ATTRIBUTE (nonnull)
2170# define _GL_ATTRIBUTE_NONNULL(args) __attribute__ ((__nonnull__ args))
2171#else
2172# define _GL_ATTRIBUTE_NONNULL(args)
2173#endif
2174
2175#if _GL_HAS_ATTRIBUTE (nonstring)
2176# define _GL_ATTRIBUTE_NONSTRING __attribute__ ((__nonstring__))
2177#else
2178# define _GL_ATTRIBUTE_NONSTRING
2179#endif
2180
2181/* There is no _GL_ATTRIBUTE_NORETURN; use _Noreturn instead. */
2182
2183#if _GL_HAS_ATTRIBUTE (nothrow) && !defined __cplusplus
2184# define _GL_ATTRIBUTE_NOTHROW __attribute__ ((__nothrow__))
2185#else
2186# define _GL_ATTRIBUTE_NOTHROW
2187#endif
2188
2189#if _GL_HAS_ATTRIBUTE (packed)
2190# define _GL_ATTRIBUTE_PACKED __attribute__ ((__packed__))
2191#else
2192# define _GL_ATTRIBUTE_PACKED
2193#endif
2194
2195#if _GL_HAS_ATTRIBUTE (pure)
2196# define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__))
2197#else
2198# define _GL_ATTRIBUTE_PURE
2199#endif
2200
2201#if _GL_HAS_ATTRIBUTE (returns_nonnull)
2202# define _GL_ATTRIBUTE_RETURNS_NONNULL __attribute__ ((__returns_nonnull__))
2203#else
2204# define _GL_ATTRIBUTE_RETURNS_NONNULL
2205#endif
2206
2207#if _GL_HAS_ATTRIBUTE (sentinel)
2208# define _GL_ATTRIBUTE_SENTINEL(pos) __attribute__ ((__sentinel__ pos))
2209#else
2210# define _GL_ATTRIBUTE_SENTINEL(pos)
2211#endif
2212
2213#if _GL_HAS_ATTRIBUTE (unused)
2214# define _GL_ATTRIBUTE_UNUSED __attribute__ ((__unused__))
2215#else
2216# define _GL_ATTRIBUTE_UNUSED
2217#endif
2218/* Earlier spellings of this macro. */
2219#define _GL_UNUSED _GL_ATTRIBUTE_UNUSED
2220
2221
2222/* To support C++ as well as C, use _GL_UNUSED_LABEL with trailing ';'. */
2223#if !defined __cplusplus || _GL_GNUC_PREREQ (4, 5)
2224# define _GL_UNUSED_LABEL _GL_ATTRIBUTE_UNUSED
2225#else
2226# define _GL_UNUSED_LABEL
2227#endif
2228
2229
2230/* Define to empty if `const' does not conform to ANSI C. */
2231#undef const
2232
2233/* Please see the Gnulib manual for how to use these macros.
2234
2235 Suppress extern inline with HP-UX cc, as it appears to be broken; see
2236 <https://lists.gnu.org/r/bug-texinfo/2013-02/msg00030.html>.
2237
2238 Suppress extern inline with Sun C in standards-conformance mode, as it
2239 mishandles inline functions that call each other. E.g., for 'inline void f
2240 (void) { } inline void g (void) { f (); }', c99 incorrectly complains
2241 'reference to static identifier "f" in extern inline function'.
2242 This bug was observed with Sun C 5.12 SunOS_i386 2011/11/16.
2243
2244 Suppress extern inline (with or without __attribute__ ((__gnu_inline__)))
2245 on configurations that mistakenly use 'static inline' to implement
2246 functions or macros in standard C headers like <ctype.h>. For example,
2247 if isdigit is mistakenly implemented via a static inline function,
2248 a program containing an extern inline function that calls isdigit
2249 may not work since the C standard prohibits extern inline functions
2250 from calling static functions (ISO C 99 section 6.7.4.(3).
2251 This bug is known to occur on:
2252
2253 OS X 10.8 and earlier; see:
2254 https://lists.gnu.org/r/bug-gnulib/2012-12/msg00023.html
2255
2256 DragonFly; see
2257 http://muscles.dragonflybsd.org/bulk/clang-master-potential/20141111_102002/logs/ah-tty-0.3.12.log
2258
2259 FreeBSD; see:
2260 https://lists.gnu.org/r/bug-gnulib/2014-07/msg00104.html
2261
2262 OS X 10.9 has a macro __header_inline indicating the bug is fixed for C and
2263 for clang but remains for g++; see <https://trac.macports.org/ticket/41033>.
2264 Assume DragonFly and FreeBSD will be similar.
2265
2266 GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99
2267 inline semantics, unless -fgnu89-inline is used. It defines a macro
2268 __GNUC_STDC_INLINE__ to indicate this situation or a macro
2269 __GNUC_GNU_INLINE__ to indicate the opposite situation.
2270 GCC 4.2 with -std=c99 or -std=gnu99 implements the GNU C inline
2271 semantics but warns, unless -fgnu89-inline is used:
2272 warning: C99 inline functions are not supported; using GNU89
2273 warning: to disable this warning use -fgnu89-inline or the gnu_inline function attribute
2274 It defines a macro __GNUC_GNU_INLINE__ to indicate this situation.
2275 */
2276#if (((defined __APPLE__ && defined __MACH__) \
2277 || defined __DragonFly__ || defined __FreeBSD__) \
2278 && (defined __header_inline \
2279 ? (defined __cplusplus && defined __GNUC_STDC_INLINE__ \
2280 && ! defined __clang__) \
2281 : ((! defined _DONT_USE_CTYPE_INLINE_ \
2282 && (defined __GNUC__ || defined __cplusplus)) \
2283 || (defined _FORTIFY_SOURCE && 0 < _FORTIFY_SOURCE \
2284 && defined __GNUC__ && ! defined __cplusplus))))
2285# define _GL_EXTERN_INLINE_STDHEADER_BUG
2286#endif
2287#if ((__GNUC__ \
2288 ? defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ \
2289 : (199901L <= __STDC_VERSION__ \
2290 && !defined __HP_cc \
2291 && !defined __PGI \
2292 && !(defined __SUNPRO_C && __STDC__))) \
2293 && !defined _GL_EXTERN_INLINE_STDHEADER_BUG)
2294# define _GL_INLINE inline
2295# define _GL_EXTERN_INLINE extern inline
2296# define _GL_EXTERN_INLINE_IN_USE
2297#elif (2 < __GNUC__ + (7 <= __GNUC_MINOR__) && !defined __STRICT_ANSI__ \
2298 && !defined _GL_EXTERN_INLINE_STDHEADER_BUG)
2299# if defined __GNUC_GNU_INLINE__ && __GNUC_GNU_INLINE__
2300 /* __gnu_inline__ suppresses a GCC 4.2 diagnostic. */
2301# define _GL_INLINE extern inline __attribute__ ((__gnu_inline__))
2302# else
2303# define _GL_INLINE extern inline
2304# endif
2305# define _GL_EXTERN_INLINE extern
2306# define _GL_EXTERN_INLINE_IN_USE
2307#else
2308# define _GL_INLINE static _GL_UNUSED
2309# define _GL_EXTERN_INLINE static _GL_UNUSED
2310#endif
2311
2312/* In GCC 4.6 (inclusive) to 5.1 (exclusive),
2313 suppress bogus "no previous prototype for 'FOO'"
2314 and "no previous declaration for 'FOO'" diagnostics,
2315 when FOO is an inline function in the header; see
2316 <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54113> and
2317 <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63877>. */
2318#if __GNUC__ == 4 && 6 <= __GNUC_MINOR__
2319# if defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__
2320# define _GL_INLINE_HEADER_CONST_PRAGMA
2321# else
2322# define _GL_INLINE_HEADER_CONST_PRAGMA \
2323 _Pragma ("GCC diagnostic ignored \"-Wsuggest-attribute=const\"")
2324# endif
2325# define _GL_INLINE_HEADER_BEGIN \
2326 _Pragma ("GCC diagnostic push") \
2327 _Pragma ("GCC diagnostic ignored \"-Wmissing-prototypes\"") \
2328 _Pragma ("GCC diagnostic ignored \"-Wmissing-declarations\"") \
2329 _GL_INLINE_HEADER_CONST_PRAGMA
2330# define _GL_INLINE_HEADER_END \
2331 _Pragma ("GCC diagnostic pop")
2332#else
2333# define _GL_INLINE_HEADER_BEGIN
2334# define _GL_INLINE_HEADER_END
2335#endif
2336
2337/* Define to the overridden function name */
2338#undef fts_children
2339
2340/* Define to the overridden function name */
2341#undef fts_close
2342
2343/* Define to the overridden function name */
2344#undef fts_cross_check
2345
2346/* Define to the overridden function name */
2347#undef fts_open
2348
2349/* Define to the overridden function name */
2350#undef fts_read
2351
2352/* Define to the overridden function name */
2353#undef fts_set
2354
2355/* Define to `int' if <sys/types.h> doesn't define. */
2356#undef gid_t
2357
2358/* A replacement for va_copy, if needed. */
2359#define gl_va_copy(a,b) ((a) = (b))
2360
2361/* Define to `__inline__' or `__inline' if that's what the C compiler
2362 calls it, or to nothing if 'inline' is not supported under any name. */
2363#ifndef __cplusplus
2364#undef inline
2365#endif
2366
2367/* Define to long or long long if <stdint.h> and <inttypes.h> don't define. */
2368#undef intmax_t
2369
2370/* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports
2371 the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of
2372 earlier versions), but does not display it by setting __GNUC_STDC_INLINE__.
2373 __APPLE__ && __MACH__ test for Mac OS X.
2374 __APPLE_CC__ tests for the Apple compiler and its version.
2375 __STDC_VERSION__ tests for the C99 mode. */
2376#if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__
2377# define __GNUC_STDC_INLINE__ 1
2378#endif
2379
2380/* Define to 1 if the compiler is checking for lint. */
2381#undef lint
2382
2383/* Define to a type if <wchar.h> does not define. */
2384#undef mbstate_t
2385
2386/* _GL_CMP (n1, n2) performs a three-valued comparison on n1 vs. n2, where
2387 n1 and n2 are expressions without side effects, that evaluate to real
2388 numbers (excluding NaN).
2389 It returns
2390 1 if n1 > n2
2391 0 if n1 == n2
2392 -1 if n1 < n2
2393 The naïve code (n1 > n2 ? 1 : n1 < n2 ? -1 : 0) produces a conditional
2394 jump with nearly all GCC versions up to GCC 10.
2395 This variant (n1 < n2 ? -1 : n1 > n2) produces a conditional with many
2396 GCC versions up to GCC 9.
2397 The better code (n1 > n2) - (n1 < n2) from Hacker's Delight § 2-9
2398 avoids conditional jumps in all GCC versions >= 3.4. */
2399#define _GL_CMP(n1, n2) (((n1) > (n2)) - ((n1) < (n2)))
2400
2401
2402/* Define to `int' if <sys/types.h> does not define. */
2403#undef mode_t
2404
2405/* Define to the type of st_nlink in struct stat, or a supertype. */
2406#undef nlink_t
2407
2408/* Define to `long int' if <sys/types.h> does not define. */
2409#undef off_t
2410
2411/* Define as a signed integer type capable of holding a process identifier. */
2412#undef pid_t
2413
2414/* Define as the type of the result of subtracting two pointers, if the system
2415 doesn't define it. */
2416#undef ptrdiff_t
2417
2418/* Define to rpl_re_comp if the replacement should be used. */
2419#undef re_comp
2420
2421/* Define to rpl_re_compile_fastmap if the replacement should be used. */
2422#undef re_compile_fastmap
2423
2424/* Define to rpl_re_compile_pattern if the replacement should be used. */
2425#undef re_compile_pattern
2426
2427/* Define to rpl_re_exec if the replacement should be used. */
2428#undef re_exec
2429
2430/* Define to rpl_re_match if the replacement should be used. */
2431#undef re_match
2432
2433/* Define to rpl_re_match_2 if the replacement should be used. */
2434#undef re_match_2
2435
2436/* Define to rpl_re_search if the replacement should be used. */
2437#undef re_search
2438
2439/* Define to rpl_re_search_2 if the replacement should be used. */
2440#undef re_search_2
2441
2442/* Define to rpl_re_set_registers if the replacement should be used. */
2443#undef re_set_registers
2444
2445/* Define to rpl_re_set_syntax if the replacement should be used. */
2446#undef re_set_syntax
2447
2448/* Define to rpl_re_syntax_options if the replacement should be used. */
2449#undef re_syntax_options
2450
2451/* Define to rpl_regcomp if the replacement should be used. */
2452#undef regcomp
2453
2454/* Define to rpl_regerror if the replacement should be used. */
2455#undef regerror
2456
2457/* Define to rpl_regexec if the replacement should be used. */
2458#undef regexec
2459
2460/* Define to rpl_regfree if the replacement should be used. */
2461#undef regfree
2462
2463/* Define to the equivalent of the C99 'restrict' keyword, or to
2464 nothing if this is not supported. Do not define if restrict is
2465 supported only directly. */
2466#define restrict
2467/* Work around a bug in older versions of Sun C++, which did not
2468 #define __restrict__ or support _Restrict or __restrict__
2469 even though the corresponding Sun C compiler ended up with
2470 "#define restrict _Restrict" or "#define restrict __restrict__"
2471 in the previous line. This workaround can be removed once
2472 we assume Oracle Developer Studio 12.5 (2016) or later. */
2473#if defined __SUNPRO_CC && !defined __RESTRICT && !defined __restrict__
2474# define _Restrict
2475# define __restrict__
2476#endif
2477
2478/* Define to `unsigned int' if <sys/types.h> does not define. */
2479#undef size_t
2480
2481/* type to use in place of socklen_t if not defined */
2482#undef socklen_t
2483
2484/* Define as a signed type of the same size as size_t. */
2485#define ssize_t ptrdiff_t
2486
2487/* Define to 'struct sigaltstack' if that's the type of the argument to
2488 sigaltstack */
2489#undef stack_t
2490
2491/* Define to `int' if <sys/types.h> doesn't define. */
2492#undef uid_t
2493
2494
2495 /* This definition is a duplicate of the one in unitypes.h.
2496 It is here so that we can cope with an older version of unitypes.h
2497 that does not contain this definition and that is pre-installed among
2498 the public header files. */
2499 # if defined __restrict \
2500 || 2 < __GNUC__ + (95 <= __GNUC_MINOR__) \
2501 || __clang_major__ >= 3
2502 # define _UC_RESTRICT __restrict
2503 # elif 199901L <= __STDC_VERSION__ || defined restrict
2504 # define _UC_RESTRICT restrict
2505 # else
2506 # define _UC_RESTRICT
2507 # endif
2508
2509
2510/* Define as a macro for copying va_list variables. */
2511#undef va_copy
2512
2513typedef unsigned mode_t;
2514
2515/* Include windows.h here before DATADIR is defined, as it conflicts with objidl.h. */
2516#include <windows.h>
2517
2518/* Hack! */
2519#include <arg-nonnull.h>
2520
2521/* More hacks */
2522#define _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD(a, b)
2523
2524/* S_ISXXX macros: */
2525#include <sys/stat.h>
2526#include <nt/ntstat.h>
2527#ifndef S_ISCHR
2528# define S_ISCHR(x) 0
2529#endif
2530#ifndef S_ISBLK
2531# define S_ISBLK(x) 0
2532#endif
2533#ifndef S_ISSOCK
2534# define S_ISSOCK(x) 0
2535#endif
2536#ifndef S_ISFIFO
2537# define S_ISFIFO(x) 0
2538#endif
2539#ifndef S_TYPEISSHM
2540# define S_TYPEISSHM(x) 0
2541#endif
2542#ifndef S_TYPEISTMO
2543# define S_TYPEISTMO(x) 0
2544#endif
2545
2546/* Missing these: */
2547#define STDIN_FILENO 0
2548#define STDOUT_FILENO 1
2549#define STDERR_FILENO 2
2550
2551/* Missing open flags.*/
2552#include <nt/ntopenat.h>
2553#ifndef O_NOCTTY
2554# define O_NOCTTY 0
2555#endif
2556#ifndef O_NOFOLLOW
2557# define O_NOFOLLOW 0
2558#endif
2559#ifndef O_NOLINK
2560# define O_NOLINK 0
2561#endif
2562#ifndef O_NOLINKS
2563# define O_NOLINKS 0
2564#endif
2565#ifndef O_NOTRANS
2566# define O_NOTRANS 0
2567#endif
2568#ifndef O_NONBLOCK
2569# define O_NONBLOCK 0
2570#endif
2571#ifndef O_SEARCH
2572# define O_SEARCH 0
2573#endif
2574#ifndef O_CLOEXEC
2575# define O_CLOEXEC _O_NOINHERIT
2576#endif
2577
2578/* Some prototypes of gnulib functions put here to avoid needing to mess with
2579 stdlib.in.h, string.in.h and wchar.in.h since MSC has no include_next facility. */
2580extern void *reallocarray(void *, size_t, size_t);
2581extern int mbscasecmp(const char *, const char *);
2582extern wchar_t *wmempcpy(wchar_t *, const wchar_t *, size_t);
2583extern int wcwidth(wchar_t);
2584
2585#define strerror gl_strerror
2586
2587/* Override initialize_main to do wildcard expansion. */
2588#define initialize_main w32_initialize_main
2589void w32_initialize_main(int *pcArgs, char ***ppapszArgs);
2590
2591#include "get_codepage.h"
2592
2593#endif /* !INCLUDED_CONFIG_WIN_H */
2594
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette