Debian Codegraph @

lib/config.hin

raw
1 /* lib/config.hin. Generated from configure.ac by autoheader. */
2
3 /* CPU and C ABI indicator */
4 #ifndef __i386__
5 #undef __i386__
6 #endif
7 #ifndef __x86_64_x32__
8 #undef __x86_64_x32__
9 #endif
10 #ifndef __x86_64__
11 #undef __x86_64__
12 #endif
13 #ifndef __alpha__
14 #undef __alpha__
15 #endif
16 #ifndef __arm__
17 #undef __arm__
18 #endif
19 #ifndef __armhf__
20 #undef __armhf__
21 #endif
22 #ifndef __arm64_ilp32__
23 #undef __arm64_ilp32__
24 #endif
25 #ifndef __arm64__
26 #undef __arm64__
27 #endif
28 #ifndef __hppa__
29 #undef __hppa__
30 #endif
31 #ifndef __hppa64__
32 #undef __hppa64__
33 #endif
34 #ifndef __ia64_ilp32__
35 #undef __ia64_ilp32__
36 #endif
37 #ifndef __ia64__
38 #undef __ia64__
39 #endif
40 #ifndef __loongarch32__
41 #undef __loongarch32__
42 #endif
43 #ifndef __loongarch64__
44 #undef __loongarch64__
45 #endif
46 #ifndef __m68k__
47 #undef __m68k__
48 #endif
49 #ifndef __mips__
50 #undef __mips__
51 #endif
52 #ifndef __mipsn32__
53 #undef __mipsn32__
54 #endif
55 #ifndef __mips64__
56 #undef __mips64__
57 #endif
58 #ifndef __powerpc__
59 #undef __powerpc__
60 #endif
61 #ifndef __powerpc64__
62 #undef __powerpc64__
63 #endif
64 #ifndef __powerpc64_elfv2__
65 #undef __powerpc64_elfv2__
66 #endif
67 #ifndef __riscv32__
68 #undef __riscv32__
69 #endif
70 #ifndef __riscv64__
71 #undef __riscv64__
72 #endif
73 #ifndef __riscv32_ilp32__
74 #undef __riscv32_ilp32__
75 #endif
76 #ifndef __riscv32_ilp32f__
77 #undef __riscv32_ilp32f__
78 #endif
79 #ifndef __riscv32_ilp32d__
80 #undef __riscv32_ilp32d__
81 #endif
82 #ifndef __riscv64_ilp32__
83 #undef __riscv64_ilp32__
84 #endif
85 #ifndef __riscv64_ilp32f__
86 #undef __riscv64_ilp32f__
87 #endif
88 #ifndef __riscv64_ilp32d__
89 #undef __riscv64_ilp32d__
90 #endif
91 #ifndef __riscv64_lp64__
92 #undef __riscv64_lp64__
93 #endif
94 #ifndef __riscv64_lp64f__
95 #undef __riscv64_lp64f__
96 #endif
97 #ifndef __riscv64_lp64d__
98 #undef __riscv64_lp64d__
99 #endif
100 #ifndef __s390__
101 #undef __s390__
102 #endif
103 #ifndef __s390x__
104 #undef __s390x__
105 #endif
106 #ifndef __sh__
107 #undef __sh__
108 #endif
109 #ifndef __sparc__
110 #undef __sparc__
111 #endif
112 #ifndef __sparc64__
113 #undef __sparc64__
114 #endif
115
116
117 /* Witness that <config.h> has been included. */
118 #define _GL_CONFIG_H_INCLUDED 1
119
120
121 /* Define if building universal (internal helper macro) */
122 #undef AC_APPLE_UNIVERSAL_BUILD
123
124 /* Define if no multithread safety and no multithreading is desired. */
125 #undef AVOID_ANY_THREADS
126
127 /* Define to the number of bits in type 'ptrdiff_t'. */
128 #undef BITSIZEOF_PTRDIFF_T
129
130 /* Define to the number of bits in type 'sig_atomic_t'. */
131 #undef BITSIZEOF_SIG_ATOMIC_T
132
133 /* Define to the number of bits in type 'size_t'. */
134 #undef BITSIZEOF_SIZE_T
135
136 /* Define to the number of bits in type 'wchar_t'. */
137 #undef BITSIZEOF_WCHAR_T
138
139 /* Define to the number of bits in type 'wint_t'. */
140 #undef BITSIZEOF_WINT_T
141
142 /* Define if the c32rtomb function has an incorrect return value. */
143 #undef C32RTOMB_RETVAL_BUG
144
145 /* Define to 1 if using 'alloca.c'. */
146 #undef C_ALLOCA
147
148 /* Define as the bit index in the word where to find bit 0 of the exponent of
149 'double'. */
150 #undef DBL_EXPBIT0_BIT
151
152 /* Define as the word index where to find the exponent of 'double'. */
153 #undef DBL_EXPBIT0_WORD
154
155 /* Define as the bit index in the word where to find the sign of 'double'. */
156 #undef DBL_SIGNBIT_BIT
157
158 /* Define as the word index where to find the sign of 'double'. */
159 #undef DBL_SIGNBIT_WORD
160
161 /* Name of editor program, unless overridden. */
162 #undef DEFAULT_EDITOR_PROGRAM
163
164 /* the name of the file descriptor member of DIR */
165 #undef DIR_FD_MEMBER_NAME
166
167 #ifdef DIR_FD_MEMBER_NAME
168 # define DIR_TO_FD(Dir_p) ((Dir_p)->DIR_FD_MEMBER_NAME)
169 #else
170 # define DIR_TO_FD(Dir_p) -1
171 #endif
172
173
174 /* Define to 1 if // is a file system root distinct from /. */
175 #undef DOUBLE_SLASH_IS_DISTINCT_ROOT
176
177 /* Define to 1 if translation of program messages to the user's native
178 language is requested. */
179 #undef ENABLE_NLS
180
181 /* Define this to 1 if F_DUPFD behavior does not match POSIX */
182 #undef FCNTL_DUPFD_BUGGY
183
184 /* Define to nothing if C supports flexible array members, and to 1 if it does
185 not. That way, with a declaration like 'struct s { int n; short
186 d[FLEXIBLE_ARRAY_MEMBER]; };', the struct hack can be used with pre-C99
187 compilers. Use 'FLEXSIZEOF (struct s, d, N * sizeof (short))' to calculate
188 the size in bytes of such a struct containing an N-element array. */
189 #undef FLEXIBLE_ARRAY_MEMBER
190
191 /* Define as the bit index in the word where to find bit 0 of the exponent of
192 'float'. */
193 #undef FLT_EXPBIT0_BIT
194
195 /* Define as the word index where to find the exponent of 'float'. */
196 #undef FLT_EXPBIT0_WORD
197
198 /* Define as the bit index in the word where to find the sign of 'float'. */
199 #undef FLT_SIGNBIT_BIT
200
201 /* Define as the word index where to find the sign of 'float'. */
202 #undef FLT_SIGNBIT_WORD
203
204 /* Define to 1 if fopen() fails to recognize a trailing slash. */
205 #undef FOPEN_TRAILING_SLASH_BUG
206
207 /* Enable compile-time and run-time bounds-checking, and some warnings,
208 without upsetting glibc 2.15+. */
209 #if !defined _FORTIFY_SOURCE && defined __OPTIMIZE__ && __OPTIMIZE__ \
210 && !defined __MINGW32__
211 # define _FORTIFY_SOURCE 2
212 #endif
213
214
215 /* Define to 1 if fflush is known to work on stdin as per POSIX.1-2008 or
216 later, 0 if fflush is known to not work, -1 if unknown. */
217 #undef FUNC_FFLUSH_STDIN
218
219 /* Define to 1 if mkdir mistakenly creates a directory given with a trailing
220 dot component. */
221 #undef FUNC_MKDIR_DOT_BUG
222
223 /* Define to 1 if nl_langinfo (YESEXPR) returns a non-empty string. */
224 #undef FUNC_NL_LANGINFO_YESEXPR_WORKS
225
226 /* Define this to 'void' or 'struct timezone' to match the system's
227 declaration of the second argument to gettimeofday. */
228 #undef GETTIMEOFDAY_TIMEZONE
229
230 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
231 whether the gnulib module accept shall be considered present. */
232 #undef GNULIB_ACCEPT
233
234 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
235 whether the gnulib module bind shall be considered present. */
236 #undef GNULIB_BIND
237
238 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
239 whether the gnulib module close shall be considered present. */
240 #undef GNULIB_CLOSE
241
242 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
243 whether the gnulib module connect shall be considered present. */
244 #undef GNULIB_CONNECT
245
246 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
247 whether the gnulib module dirname shall be considered present. */
248 #undef GNULIB_DIRNAME
249
250 /* 'exclude' code is called only from 1 thread. */
251 #undef GNULIB_EXCLUDE_SINGLE_THREAD
252
253 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
254 whether the gnulib module fdopendir shall be considered present. */
255 #undef GNULIB_FDOPENDIR
256
257 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
258 whether the gnulib module filenamecat shall be considered present. */
259 #undef GNULIB_FILENAMECAT
260
261 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
262 whether the gnulib module fnmatch-gnu shall be considered present. */
263 #undef GNULIB_FNMATCH_GNU
264
265 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
266 whether the gnulib module fopen-gnu shall be considered present. */
267 #undef GNULIB_FOPEN_GNU
268
269 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
270 whether the gnulib module fscanf shall be considered present. */
271 #undef GNULIB_FSCANF
272
273 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
274 whether the gnulib module fstat shall be considered present. */
275 #undef GNULIB_FSTAT
276
277 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
278 whether the gnulib module fstatat shall be considered present. */
279 #undef GNULIB_FSTATAT
280
281 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
282 whether the gnulib module ioctl shall be considered present. */
283 #undef GNULIB_IOCTL
284
285 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
286 whether the gnulib module isblank shall be considered present. */
287 #undef GNULIB_ISBLANK
288
289 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
290 whether the gnulib module listen shall be considered present. */
291 #undef GNULIB_LISTEN
292
293 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
294 whether the gnulib module localeconv shall be considered present. */
295 #undef GNULIB_LOCALECONV
296
297 /* Define to the directory where to find the localizations of the translation
298 domain 'gnulib', as a C string. */
299 #undef GNULIB_LOCALEDIR
300
301 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
302 whether the gnulib module lock shall be considered present. */
303 #undef GNULIB_LOCK
304
305 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
306 whether the gnulib module lstat shall be considered present. */
307 #undef GNULIB_LSTAT
308
309 /* Do not worry about rare encodings like CP864, EBCDIC, Johab, and Shift JIS
310 that glibc does not support. */
311 #undef GNULIB_MBRTOC32_REGULAR
312
313 /* 'mbrtowc', 'mbrtoc32', 'regex' code is called only from 1 thread. */
314 #undef GNULIB_MBRTOWC_SINGLE_THREAD
315
316 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
317 whether the gnulib module mcel-prefer shall be considered present. */
318 #undef GNULIB_MCEL_PREFER
319
320 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
321 whether the gnulib module msvc-nothrow shall be considered present. */
322 #undef GNULIB_MSVC_NOTHROW
323
324 /* Define to 1 to disable use of VLAs */
325 #undef GNULIB_NO_VLA
326
327 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
328 whether the gnulib module openat shall be considered present. */
329 #undef GNULIB_OPENAT
330
331 /* enable some gnulib portability checks */
332 #undef GNULIB_PORTCHECK
333
334 /* Define to 1 if printf and friends should be labeled with attribute
335 "__gnu_printf__" instead of "__printf__" */
336 #undef GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU
337
338 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
339 whether the gnulib module reallocarray shall be considered present. */
340 #undef GNULIB_REALLOCARRAY
341
342 /* 'regex' code is called only from 1 thread. */
343 #undef GNULIB_REGEX_SINGLE_THREAD
344
345 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
346 whether the gnulib module scanf shall be considered present. */
347 #undef GNULIB_SCANF
348
349 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
350 whether the gnulib module select shall be considered present. */
351 #undef GNULIB_SELECT
352
353 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
354 whether the gnulib module setsockopt shall be considered present. */
355 #undef GNULIB_SETSOCKOPT
356
357 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
358 whether the gnulib module snprintf shall be considered present. */
359 #undef GNULIB_SNPRINTF
360
361 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
362 whether the gnulib module socket shall be considered present. */
363 #undef GNULIB_SOCKET
364
365 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
366 whether the gnulib module stat shall be considered present. */
367 #undef GNULIB_STAT
368
369 /* Define to 1 if you want the FILE stream functions getc, putc, etc. to use
370 unlocked I/O if available, throughout the package. Unlocked I/O can improve
371 performance, sometimes dramatically. But unlocked I/O is safe only in
372 single-threaded programs, as well as in multithreaded programs for which
373 you can guarantee that every FILE stream, including stdin, stdout, stderr,
374 is used only in a single thread. */
375 #undef GNULIB_STDIO_SINGLE_THREAD
376
377 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
378 whether the gnulib module strerror shall be considered present. */
379 #undef GNULIB_STRERROR
380
381 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
382 whether the gnulib module strerror_r-posix shall be considered present. */
383 #undef GNULIB_STRERROR_R_POSIX
384
385 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
386 whether the gnulib module tempname shall be considered present. */
387 #undef GNULIB_TEMPNAME
388
389 /* Define to 1 when the gnulib module accept should be tested. */
390 #undef GNULIB_TEST_ACCEPT
391
392 /* Define to 1 when the gnulib module atoll should be tested. */
393 #undef GNULIB_TEST_ATOLL
394
395 /* Define to 1 when the gnulib module bind should be tested. */
396 #undef GNULIB_TEST_BIND
397
398 /* Define to 1 when the gnulib module btoc32 should be tested. */
399 #undef GNULIB_TEST_BTOC32
400
401 /* Define to 1 when the gnulib module btowc should be tested. */
402 #undef GNULIB_TEST_BTOWC
403
404 /* Define to 1 when the gnulib module c32isalnum should be tested. */
405 #undef GNULIB_TEST_C32ISALNUM
406
407 /* Define to 1 when the gnulib module c32isalpha should be tested. */
408 #undef GNULIB_TEST_C32ISALPHA
409
410 /* Define to 1 when the gnulib module c32isblank should be tested. */
411 #undef GNULIB_TEST_C32ISBLANK
412
413 /* Define to 1 when the gnulib module c32iscntrl should be tested. */
414 #undef GNULIB_TEST_C32ISCNTRL
415
416 /* Define to 1 when the gnulib module c32isdigit should be tested. */
417 #undef GNULIB_TEST_C32ISDIGIT
418
419 /* Define to 1 when the gnulib module c32isgraph should be tested. */
420 #undef GNULIB_TEST_C32ISGRAPH
421
422 /* Define to 1 when the gnulib module c32islower should be tested. */
423 #undef GNULIB_TEST_C32ISLOWER
424
425 /* Define to 1 when the gnulib module c32isprint should be tested. */
426 #undef GNULIB_TEST_C32ISPRINT
427
428 /* Define to 1 when the gnulib module c32ispunct should be tested. */
429 #undef GNULIB_TEST_C32ISPUNCT
430
431 /* Define to 1 when the gnulib module c32isspace should be tested. */
432 #undef GNULIB_TEST_C32ISSPACE
433
434 /* Define to 1 when the gnulib module c32isupper should be tested. */
435 #undef GNULIB_TEST_C32ISUPPER
436
437 /* Define to 1 when the gnulib module c32isxdigit should be tested. */
438 #undef GNULIB_TEST_C32ISXDIGIT
439
440 /* Define to 1 when the gnulib module c32rtomb should be tested. */
441 #undef GNULIB_TEST_C32RTOMB
442
443 /* Define to 1 when the gnulib module c32tob should be tested. */
444 #undef GNULIB_TEST_C32TOB
445
446 /* Define to 1 when the gnulib module c32tolower should be tested. */
447 #undef GNULIB_TEST_C32TOLOWER
448
449 /* Define to 1 when the gnulib module c32width should be tested. */
450 #undef GNULIB_TEST_C32WIDTH
451
452 /* Define to 1 when the gnulib module c32_apply_type_test should be tested. */
453 #undef GNULIB_TEST_C32_APPLY_TYPE_TEST
454
455 /* Define to 1 when the gnulib module c32_get_type_test should be tested. */
456 #undef GNULIB_TEST_C32_GET_TYPE_TEST
457
458 /* Define to 1 when the gnulib module calloc-gnu should be tested. */
459 #undef GNULIB_TEST_CALLOC_GNU
460
461 /* Define to 1 when the gnulib module calloc-posix should be tested. */
462 #undef GNULIB_TEST_CALLOC_POSIX
463
464 /* Define to 1 when the gnulib module chdir should be tested. */
465 #undef GNULIB_TEST_CHDIR
466
467 /* Define to 1 when the gnulib module cloexec should be tested. */
468 #undef GNULIB_TEST_CLOEXEC
469
470 /* Define to 1 when the gnulib module close should be tested. */
471 #undef GNULIB_TEST_CLOSE
472
473 /* Define to 1 when the gnulib module closedir should be tested. */
474 #undef GNULIB_TEST_CLOSEDIR
475
476 /* Define to 1 when the gnulib module connect should be tested. */
477 #undef GNULIB_TEST_CONNECT
478
479 /* Define to 1 when the gnulib module dirfd should be tested. */
480 #undef GNULIB_TEST_DIRFD
481
482 /* Define to 1 when the gnulib module dup should be tested. */
483 #undef GNULIB_TEST_DUP
484
485 /* Define to 1 when the gnulib module dup2 should be tested. */
486 #undef GNULIB_TEST_DUP2
487
488 /* Define to 1 when the gnulib module environ should be tested. */
489 #undef GNULIB_TEST_ENVIRON
490
491 /* Define to 1 when the gnulib module fchdir should be tested. */
492 #undef GNULIB_TEST_FCHDIR
493
494 /* Define to 1 when the gnulib module fcntl should be tested. */
495 #undef GNULIB_TEST_FCNTL
496
497 /* Define to 1 when the gnulib module fdopen should be tested. */
498 #undef GNULIB_TEST_FDOPEN
499
500 /* Define to 1 when the gnulib module fdopendir should be tested. */
501 #undef GNULIB_TEST_FDOPENDIR
502
503 /* Define to 1 when the gnulib module fgetc should be tested. */
504 #undef GNULIB_TEST_FGETC
505
506 /* Define to 1 when the gnulib module fgets should be tested. */
507 #undef GNULIB_TEST_FGETS
508
509 /* Define to 1 when the gnulib module fnmatch should be tested. */
510 #undef GNULIB_TEST_FNMATCH
511
512 /* Define to 1 when the gnulib module fopen should be tested. */
513 #undef GNULIB_TEST_FOPEN
514
515 /* Define to 1 when the gnulib module fopen-gnu should be tested. */
516 #undef GNULIB_TEST_FOPEN_GNU
517
518 /* Define to 1 when the gnulib module fprintf should be tested. */
519 #undef GNULIB_TEST_FPRINTF
520
521 /* Define to 1 when the gnulib module fputc should be tested. */
522 #undef GNULIB_TEST_FPUTC
523
524 /* Define to 1 when the gnulib module fputs should be tested. */
525 #undef GNULIB_TEST_FPUTS
526
527 /* Define to 1 when the gnulib module fread should be tested. */
528 #undef GNULIB_TEST_FREAD
529
530 /* Define to 1 when the gnulib module free-posix should be tested. */
531 #undef GNULIB_TEST_FREE_POSIX
532
533 /* Define to 1 when the gnulib module freopen should be tested. */
534 #undef GNULIB_TEST_FREOPEN
535
536 /* Define to 1 when the gnulib module fscanf should be tested. */
537 #undef GNULIB_TEST_FSCANF
538
539 /* Define to 1 when the gnulib module fstat should be tested. */
540 #undef GNULIB_TEST_FSTAT
541
542 /* Define to 1 when the gnulib module fstatat should be tested. */
543 #undef GNULIB_TEST_FSTATAT
544
545 /* Define to 1 when the gnulib module ftruncate should be tested. */
546 #undef GNULIB_TEST_FTRUNCATE
547
548 /* Define to 1 when the gnulib module fwrite should be tested. */
549 #undef GNULIB_TEST_FWRITE
550
551 /* Define to 1 when the gnulib module getc should be tested. */
552 #undef GNULIB_TEST_GETC
553
554 /* Define to 1 when the gnulib module getchar should be tested. */
555 #undef GNULIB_TEST_GETCHAR
556
557 /* Define to 1 when the gnulib module getcwd should be tested. */
558 #undef GNULIB_TEST_GETCWD
559
560 /* Define to 1 when the gnulib module getdtablesize should be tested. */
561 #undef GNULIB_TEST_GETDTABLESIZE
562
563 /* Define to 1 when the gnulib module getopt-posix should be tested. */
564 #undef GNULIB_TEST_GETOPT_POSIX
565
566 /* Define to 1 when the gnulib module getpagesize should be tested. */
567 #undef GNULIB_TEST_GETPAGESIZE
568
569 /* Define to 1 when the gnulib module getprogname should be tested. */
570 #undef GNULIB_TEST_GETPROGNAME
571
572 /* Define to 1 when the gnulib module getrandom should be tested. */
573 #undef GNULIB_TEST_GETRANDOM
574
575 /* Define to 1 when the gnulib module gettimeofday should be tested. */
576 #undef GNULIB_TEST_GETTIMEOFDAY
577
578 /* Define to 1 when the gnulib module ioctl should be tested. */
579 #undef GNULIB_TEST_IOCTL
580
581 /* Define to 1 when the gnulib module iswblank should be tested. */
582 #undef GNULIB_TEST_ISWBLANK
583
584 /* Define to 1 when the gnulib module iswctype should be tested. */
585 #undef GNULIB_TEST_ISWCTYPE
586
587 /* Define to 1 when the gnulib module iswdigit should be tested. */
588 #undef GNULIB_TEST_ISWDIGIT
589
590 /* Define to 1 when the gnulib module iswpunct should be tested. */
591 #undef GNULIB_TEST_ISWPUNCT
592
593 /* Define to 1 when the gnulib module iswxdigit should be tested. */
594 #undef GNULIB_TEST_ISWXDIGIT
595
596 /* Define to 1 when the gnulib module listen should be tested. */
597 #undef GNULIB_TEST_LISTEN
598
599 /* Define to 1 when the gnulib module localeconv should be tested. */
600 #undef GNULIB_TEST_LOCALECONV
601
602 /* Define to 1 when the gnulib module lstat should be tested. */
603 #undef GNULIB_TEST_LSTAT
604
605 /* Define to 1 when the gnulib module malloc-gnu should be tested. */
606 #undef GNULIB_TEST_MALLOC_GNU
607
608 /* Define to 1 when the gnulib module malloc-posix should be tested. */
609 #undef GNULIB_TEST_MALLOC_POSIX
610
611 /* Define to 1 when the gnulib module mbrtoc32 should be tested. */
612 #undef GNULIB_TEST_MBRTOC32
613
614 /* Define to 1 when the gnulib module mbrtowc should be tested. */
615 #undef GNULIB_TEST_MBRTOWC
616
617 /* Define to 1 when the gnulib module mbscasecmp should be tested. */
618 #undef GNULIB_TEST_MBSCASECMP
619
620 /* Define to 1 when the gnulib module mbsinit should be tested. */
621 #undef GNULIB_TEST_MBSINIT
622
623 /* Define to 1 when the gnulib module mbsrtoc32s should be tested. */
624 #undef GNULIB_TEST_MBSRTOC32S
625
626 /* Define to 1 when the gnulib module mbsrtowcs should be tested. */
627 #undef GNULIB_TEST_MBSRTOWCS
628
629 /* Define to 1 when the gnulib module mbszero should be tested. */
630 #undef GNULIB_TEST_MBSZERO
631
632 /* Define to 1 when the gnulib module mbtowc should be tested. */
633 #undef GNULIB_TEST_MBTOWC
634
635 /* Define to 1 when the gnulib module memchr should be tested. */
636 #undef GNULIB_TEST_MEMCHR
637
638 /* Define to 1 when the gnulib module mempcpy should be tested. */
639 #undef GNULIB_TEST_MEMPCPY
640
641 /* Define to 1 when the gnulib module memrchr should be tested. */
642 #undef GNULIB_TEST_MEMRCHR
643
644 /* Define to 1 when the gnulib module mkdir should be tested. */
645 #undef GNULIB_TEST_MKDIR
646
647 /* Define to 1 when the gnulib module mkstemp should be tested. */
648 #undef GNULIB_TEST_MKSTEMP
649
650 /* Define to 1 when the gnulib module mktime should be tested. */
651 #undef GNULIB_TEST_MKTIME
652
653 /* Define to 1 when the gnulib module nanosleep should be tested. */
654 #undef GNULIB_TEST_NANOSLEEP
655
656 /* Define to 1 when the gnulib module nl_langinfo should be tested. */
657 #undef GNULIB_TEST_NL_LANGINFO
658
659 /* Define to 1 when the gnulib module open should be tested. */
660 #undef GNULIB_TEST_OPEN
661
662 /* Define to 1 when the gnulib module openat should be tested. */
663 #undef GNULIB_TEST_OPENAT
664
665 /* Define to 1 when the gnulib module opendir should be tested. */
666 #undef GNULIB_TEST_OPENDIR
667
668 /* Define to 1 when the gnulib module pclose should be tested. */
669 #undef GNULIB_TEST_PCLOSE
670
671 /* Define to 1 when the gnulib module perror should be tested. */
672 #undef GNULIB_TEST_PERROR
673
674 /* Define to 1 when the gnulib module pipe should be tested. */
675 #undef GNULIB_TEST_PIPE
676
677 /* Define to 1 when the gnulib module popen should be tested. */
678 #undef GNULIB_TEST_POPEN
679
680 /* Define to 1 when the gnulib module printf should be tested. */
681 #undef GNULIB_TEST_PRINTF
682
683 /* Define to 1 when the gnulib module pselect should be tested. */
684 #undef GNULIB_TEST_PSELECT
685
686 /* Define to 1 when the gnulib module pthread-cond should be tested. */
687 #undef GNULIB_TEST_PTHREAD_COND
688
689 /* Define to 1 when the gnulib module pthread-mutex should be tested. */
690 #undef GNULIB_TEST_PTHREAD_MUTEX
691
692 /* Define to 1 when the gnulib module pthread_mutex_timedlock should be
693 tested. */
694 #undef GNULIB_TEST_PTHREAD_MUTEX_TIMEDLOCK
695
696 /* Define to 1 when the gnulib module pthread-once should be tested. */
697 #undef GNULIB_TEST_PTHREAD_ONCE
698
699 /* Define to 1 when the gnulib module pthread-rwlock should be tested. */
700 #undef GNULIB_TEST_PTHREAD_RWLOCK
701
702 /* Define to 1 when the gnulib module pthread_sigmask should be tested. */
703 #undef GNULIB_TEST_PTHREAD_SIGMASK
704
705 /* Define to 1 when the gnulib module pthread-thread should be tested. */
706 #undef GNULIB_TEST_PTHREAD_THREAD
707
708 /* Define to 1 when the gnulib module putc should be tested. */
709 #undef GNULIB_TEST_PUTC
710
711 /* Define to 1 when the gnulib module putchar should be tested. */
712 #undef GNULIB_TEST_PUTCHAR
713
714 /* Define to 1 when the gnulib module putenv should be tested. */
715 #undef GNULIB_TEST_PUTENV
716
717 /* Define to 1 when the gnulib module puts should be tested. */
718 #undef GNULIB_TEST_PUTS
719
720 /* Define to 1 when the gnulib module raise should be tested. */
721 #undef GNULIB_TEST_RAISE
722
723 /* Define to 1 when the gnulib module random should be tested. */
724 #undef GNULIB_TEST_RANDOM
725
726 /* Define to 1 when the gnulib module random_r should be tested. */
727 #undef GNULIB_TEST_RANDOM_R
728
729 /* Define to 1 when the gnulib module rawmemchr should be tested. */
730 #undef GNULIB_TEST_RAWMEMCHR
731
732 /* Define to 1 when the gnulib module readdir should be tested. */
733 #undef GNULIB_TEST_READDIR
734
735 /* Define to 1 when the gnulib module readlink should be tested. */
736 #undef GNULIB_TEST_READLINK
737
738 /* Define to 1 when the gnulib module readlinkat should be tested. */
739 #undef GNULIB_TEST_READLINKAT
740
741 /* Define to 1 when the gnulib module reallocarray should be tested. */
742 #undef GNULIB_TEST_REALLOCARRAY
743
744 /* Define to 1 when the gnulib module realloc-posix should be tested. */
745 #undef GNULIB_TEST_REALLOC_POSIX
746
747 /* Define to 1 when the gnulib module rmdir should be tested. */
748 #undef GNULIB_TEST_RMDIR
749
750 /* Define to 1 when the gnulib module scanf should be tested. */
751 #undef GNULIB_TEST_SCANF
752
753 /* Define to 1 when the gnulib module sched_yield should be tested. */
754 #undef GNULIB_TEST_SCHED_YIELD
755
756 /* Define to 1 when the gnulib module select should be tested. */
757 #undef GNULIB_TEST_SELECT
758
759 /* Define to 1 when the gnulib module setenv should be tested. */
760 #undef GNULIB_TEST_SETENV
761
762 /* Define to 1 when the gnulib module setlocale_null should be tested. */
763 #undef GNULIB_TEST_SETLOCALE_NULL
764
765 /* Define to 1 when the gnulib module setsockopt should be tested. */
766 #undef GNULIB_TEST_SETSOCKOPT
767
768 /* Define to 1 when the gnulib module sigaction should be tested. */
769 #undef GNULIB_TEST_SIGACTION
770
771 /* Define to 1 when the gnulib module signbit should be tested. */
772 #undef GNULIB_TEST_SIGNBIT
773
774 /* Define to 1 when the gnulib module sigprocmask should be tested. */
775 #undef GNULIB_TEST_SIGPROCMASK
776
777 /* Define to 1 when the gnulib module sleep should be tested. */
778 #undef GNULIB_TEST_SLEEP
779
780 /* Define to 1 when the gnulib module snprintf should be tested. */
781 #undef GNULIB_TEST_SNPRINTF
782
783 /* Define to 1 when the gnulib module socket should be tested. */
784 #undef GNULIB_TEST_SOCKET
785
786 /* Define to 1 when the gnulib module stat should be tested. */
787 #undef GNULIB_TEST_STAT
788
789 /* Define to 1 when the gnulib module stpcpy should be tested. */
790 #undef GNULIB_TEST_STPCPY
791
792 /* Define to 1 when the gnulib module strdup should be tested. */
793 #undef GNULIB_TEST_STRDUP
794
795 /* Define to 1 when the gnulib module strerror should be tested. */
796 #undef GNULIB_TEST_STRERROR
797
798 /* Define to 1 when the gnulib module strerror_r should be tested. */
799 #undef GNULIB_TEST_STRERROR_R
800
801 /* Define to 1 when the gnulib module strnlen should be tested. */
802 #undef GNULIB_TEST_STRNLEN
803
804 /* Define to 1 when the gnulib module strptime should be tested. */
805 #undef GNULIB_TEST_STRPTIME
806
807 /* Define to 1 when the gnulib module strtoll should be tested. */
808 #undef GNULIB_TEST_STRTOLL
809
810 /* Define to 1 when the gnulib module str_startswith should be tested. */
811 #undef GNULIB_TEST_STR_STARTSWITH
812
813 /* Define to 1 when the gnulib module symlink should be tested. */
814 #undef GNULIB_TEST_SYMLINK
815
816 /* Define to 1 when the gnulib module symlinkat should be tested. */
817 #undef GNULIB_TEST_SYMLINKAT
818
819 /* Define to 1 when the gnulib module time should be tested. */
820 #undef GNULIB_TEST_TIME
821
822 /* Define to 1 when the gnulib module timegm should be tested. */
823 #undef GNULIB_TEST_TIMEGM
824
825 /* Define to 1 when the gnulib module timespec_get should be tested. */
826 #undef GNULIB_TEST_TIMESPEC_GET
827
828 /* Define to 1 when the gnulib module time_r should be tested. */
829 #undef GNULIB_TEST_TIME_R
830
831 /* Define to 1 when the gnulib module time_rz should be tested. */
832 #undef GNULIB_TEST_TIME_RZ
833
834 /* Define to 1 when the gnulib module tzset should be tested. */
835 #undef GNULIB_TEST_TZSET
836
837 /* Define to 1 when the gnulib module unlink should be tested. */
838 #undef GNULIB_TEST_UNLINK
839
840 /* Define to 1 when the gnulib module unlinkat should be tested. */
841 #undef GNULIB_TEST_UNLINKAT
842
843 /* Define to 1 when the gnulib module unsetenv should be tested. */
844 #undef GNULIB_TEST_UNSETENV
845
846 /* Define to 1 when the gnulib module vfprintf should be tested. */
847 #undef GNULIB_TEST_VFPRINTF
848
849 /* Define to 1 when the gnulib module vprintf should be tested. */
850 #undef GNULIB_TEST_VPRINTF
851
852 /* Define to 1 when the gnulib module vsnzprintf should be tested. */
853 #undef GNULIB_TEST_VSNZPRINTF
854
855 /* Define to 1 when the gnulib module wcrtomb should be tested. */
856 #undef GNULIB_TEST_WCRTOMB
857
858 /* Define to 1 when the gnulib module wctob should be tested. */
859 #undef GNULIB_TEST_WCTOB
860
861 /* Define to 1 when the gnulib module wctomb should be tested. */
862 #undef GNULIB_TEST_WCTOMB
863
864 /* Define to 1 when the gnulib module wctype should be tested. */
865 #undef GNULIB_TEST_WCTYPE
866
867 /* Define to 1 when the gnulib module wcwidth should be tested. */
868 #undef GNULIB_TEST_WCWIDTH
869
870 /* Define to 1 when the gnulib module wmemchr should be tested. */
871 #undef GNULIB_TEST_WMEMCHR
872
873 /* Define to 1 when the gnulib module wmempcpy should be tested. */
874 #undef GNULIB_TEST_WMEMPCPY
875
876 /* Locale-sensitive functions are called only after locale is set. */
877 #undef GNULIB_WCHAR_SINGLE_LOCALE
878
879 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
880 whether the gnulib module xalloc shall be considered present. */
881 #undef GNULIB_XALLOC
882
883 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
884 whether the gnulib module xalloc-die shall be considered present. */
885 #undef GNULIB_XALLOC_DIE
886
887 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
888 whether the gnulib module xstdopen shall be considered present. */
889 #undef GNULIB_XSTDOPEN
890
891 /* Define to 1 if you have the <afunix.h> header file. */
892 #undef HAVE_AFUNIX_H
893
894 /* Define to 1 if you have 'alloca' after including <alloca.h>, a header that
895 may be supplied by this distribution. */
896 #undef HAVE_ALLOCA
897
898 /* Define to 1 if <alloca.h> works. */
899 #undef HAVE_ALLOCA_H
900
901 /* Define to 1 if you have the <arpa/inet.h> header file. */
902 #undef HAVE_ARPA_INET_H
903
904 /* Define to 1 if you have the 'atoll' function. */
905 #undef HAVE_ATOLL
906
907 /* Define to 1 if you have the <bcrypt.h> header file. */
908 #undef HAVE_BCRYPT_H
909
910 /* Define to 1 if you have the <bp-sym.h> header file. */
911 #undef HAVE_BP_SYM_H
912
913 /* Define to 1 if you have the 'btowc' function. */
914 #undef HAVE_BTOWC
915
916 /* Define to 1 if nanosleep mishandles large arguments. */
917 #undef HAVE_BUG_BIG_NANOSLEEP
918
919 /* Define to 1 if you have the `catgets' function. */
920 #undef HAVE_CATGETS
921
922 /* Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the
923 CoreFoundation framework. */
924 #undef HAVE_CFLOCALECOPYCURRENT
925
926 /* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in
927 the CoreFoundation framework. */
928 #undef HAVE_CFPREFERENCESCOPYAPPVALUE
929
930 /* Define to 1 if you have the 'clock_getres' function. */
931 #undef HAVE_CLOCK_GETRES
932
933 /* Define to 1 if you have the 'clock_gettime' function. */
934 #undef HAVE_CLOCK_GETTIME
935
936 /* Define to 1 if you have the 'clock_settime' function. */
937 #undef HAVE_CLOCK_SETTIME
938
939 /* Define to 1 if you have the 'closedir' function. */
940 #undef HAVE_CLOSEDIR
941
942 /* Define if the copysignf function is declared in <math.h> and available in
943 libc. */
944 #undef HAVE_COPYSIGNF_IN_LIBC
945
946 /* Define if the copysignl function is declared in <math.h> and available in
947 libc. */
948 #undef HAVE_COPYSIGNL_IN_LIBC
949
950 /* Define if the copysign function is declared in <math.h> and available in
951 libc. */
952 #undef HAVE_COPYSIGN_IN_LIBC
953
954 /* Define to 1 if you have the <crtdefs.h> header file. */
955 #undef HAVE_CRTDEFS_H
956
957 /* Define to 1 if the alignas and alignof keywords work. */
958 #undef HAVE_C_ALIGNASOF
959
960 /* Define to 1 if bool, true and false work as per C2023. */
961 #undef HAVE_C_BOOL
962
963 /* Define to 1 if C nullptr is known to work. */
964 #undef HAVE_C_NULLPTR
965
966 /* Define to 1 if the static_assert keyword works. */
967 #undef HAVE_C_STATIC_ASSERT
968
969 /* Define to 1 if C supports variable-length arrays. */
970 #undef HAVE_C_VARARRAYS
971
972 /* Define if the GNU dcgettext() function is already present or preinstalled.
973 */
974 #undef HAVE_DCGETTEXT
975
976 /* Define to 1 if you have the declaration of 'alarm', and to 0 if you don't.
977 */
978 #undef HAVE_DECL_ALARM
979
980 /* Define to 1 if you have the declaration of 'clearerr_unlocked', and to 0 if
981 you don't. */
982 #undef HAVE_DECL_CLEARERR_UNLOCKED
983
984 /* Define to 1 if you have the declaration of 'copysign', and to 0 if you
985 don't. */
986 #undef HAVE_DECL_COPYSIGN
987
988 /* Define to 1 if you have the declaration of 'copysignf', and to 0 if you
989 don't. */
990 #undef HAVE_DECL_COPYSIGNF
991
992 /* Define to 1 if you have the declaration of 'copysignl', and to 0 if you
993 don't. */
994 #undef HAVE_DECL_COPYSIGNL
995
996 /* Define to 1 if you have the declaration of 'dirfd', and to 0 if you don't.
997 */
998 #undef HAVE_DECL_DIRFD
999
1000 /* Define to 1 if you have the declaration of 'ecvt', and to 0 if you don't.
1001 */
1002 #undef HAVE_DECL_ECVT
1003
1004 /* Define to 1 if you have the declaration of 'execvpe', and to 0 if you
1005 don't. */
1006 #undef HAVE_DECL_EXECVPE
1007
1008 /* Define to 1 if you have the declaration of 'fchdir', and to 0 if you don't.
1009 */
1010 #undef HAVE_DECL_FCHDIR
1011
1012 /* Define to 1 if you have the declaration of 'fcloseall', and to 0 if you
1013 don't. */
1014 #undef HAVE_DECL_FCLOSEALL
1015
1016 /* Define to 1 if you have the declaration of 'fcvt', and to 0 if you don't.
1017 */
1018 #undef HAVE_DECL_FCVT
1019
1020 /* Define to 1 if you have the declaration of 'fdopendir', and to 0 if you
1021 don't. */
1022 #undef HAVE_DECL_FDOPENDIR
1023
1024 /* Define to 1 if you have the declaration of 'feof_unlocked', and to 0 if you
1025 don't. */
1026 #undef HAVE_DECL_FEOF_UNLOCKED
1027
1028 /* Define to 1 if you have the declaration of 'ferror_unlocked', and to 0 if
1029 you don't. */
1030 #undef HAVE_DECL_FERROR_UNLOCKED
1031
1032 /* Define to 1 if you have the declaration of 'fflush_unlocked', and to 0 if
1033 you don't. */
1034 #undef HAVE_DECL_FFLUSH_UNLOCKED
1035
1036 /* Define to 1 if you have the declaration of 'fgets_unlocked', and to 0 if
1037 you don't. */
1038 #undef HAVE_DECL_FGETS_UNLOCKED
1039
1040 /* Define to 1 if you have the declaration of 'fputc_unlocked', and to 0 if
1041 you don't. */
1042 #undef HAVE_DECL_FPUTC_UNLOCKED
1043
1044 /* Define to 1 if you have the declaration of 'fputs_unlocked', and to 0 if
1045 you don't. */
1046 #undef HAVE_DECL_FPUTS_UNLOCKED
1047
1048 /* Define to 1 if you have the declaration of 'fread_unlocked', and to 0 if
1049 you don't. */
1050 #undef HAVE_DECL_FREAD_UNLOCKED
1051
1052 /* Define to 1 if you have the declaration of 'fwrite_unlocked', and to 0 if
1053 you don't. */
1054 #undef HAVE_DECL_FWRITE_UNLOCKED
1055
1056 /* Define to 1 if you have the declaration of 'gcvt', and to 0 if you don't.
1057 */
1058 #undef HAVE_DECL_GCVT
1059
1060 /* Define to 1 if you have the declaration of 'getchar_unlocked', and to 0 if
1061 you don't. */
1062 #undef HAVE_DECL_GETCHAR_UNLOCKED
1063
1064 /* Define to 1 if you have the declaration of 'getc_unlocked', and to 0 if you
1065 don't. */
1066 #undef HAVE_DECL_GETC_UNLOCKED
1067
1068 /* Define to 1 if you have the declaration of 'getdtablesize', and to 0 if you
1069 don't. */
1070 #undef HAVE_DECL_GETDTABLESIZE
1071
1072 /* Define to 1 if you have the declaration of 'getw', and to 0 if you don't.
1073 */
1074 #undef HAVE_DECL_GETW
1075
1076 /* Define to 1 if you have the declaration of 'inet_pton', and to 0 if you
1077 don't. */
1078 #undef HAVE_DECL_INET_PTON
1079
1080 /* Define to 1 if you have the declaration of 'initstate', and to 0 if you
1081 don't. */
1082 #undef HAVE_DECL_INITSTATE
1083
1084 /* Define to 1 if you have the declaration of 'isblank', and to 0 if you
1085 don't. */
1086 #undef HAVE_DECL_ISBLANK
1087
1088 /* Define to 1 if you have the declaration of 'iswblank', and to 0 if you
1089 don't. */
1090 #undef HAVE_DECL_ISWBLANK
1091
1092 /* Define to 1 if you have the declaration of 'localtime_r', and to 0 if you
1093 don't. */
1094 #undef HAVE_DECL_LOCALTIME_R
1095
1096 /* Define to 1 if you have the declaration of 'mbrtowc', and to 0 if you
1097 don't. */
1098 #undef HAVE_DECL_MBRTOWC
1099
1100 /* Define to 1 if you have the declaration of 'mbsinit', and to 0 if you
1101 don't. */
1102 #undef HAVE_DECL_MBSINIT
1103
1104 /* Define to 1 if you have the declaration of 'mbsrtowcs', and to 0 if you
1105 don't. */
1106 #undef HAVE_DECL_MBSRTOWCS
1107
1108 /* Define to 1 if you have the declaration of 'memrchr', and to 0 if you
1109 don't. */
1110 #undef HAVE_DECL_MEMRCHR
1111
1112 /* Define to 1 if you have the declaration of 'program_invocation_name', and
1113 to 0 if you don't. */
1114 #undef HAVE_DECL_PROGRAM_INVOCATION_NAME
1115
1116 /* Define to 1 if you have the declaration of 'program_invocation_short_name',
1117 and to 0 if you don't. */
1118 #undef HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME
1119
1120 /* Define to 1 if you have the declaration of 'putchar_unlocked', and to 0 if
1121 you don't. */
1122 #undef HAVE_DECL_PUTCHAR_UNLOCKED
1123
1124 /* Define to 1 if you have the declaration of 'putc_unlocked', and to 0 if you
1125 don't. */
1126 #undef HAVE_DECL_PUTC_UNLOCKED
1127
1128 /* Define to 1 if you have the declaration of 'putw', and to 0 if you don't.
1129 */
1130 #undef HAVE_DECL_PUTW
1131
1132 /* Define to 1 if you have the declaration of 'setenv', and to 0 if you don't.
1133 */
1134 #undef HAVE_DECL_SETENV
1135
1136 /* Define to 1 if you have the declaration of 'setstate', and to 0 if you
1137 don't. */
1138 #undef HAVE_DECL_SETSTATE
1139
1140 /* Define to 1 if you have the declaration of 'sleep', and to 0 if you don't.
1141 */
1142 #undef HAVE_DECL_SLEEP
1143
1144 /* Define to 1 if you have the declaration of 'snprintf', and to 0 if you
1145 don't. */
1146 #undef HAVE_DECL_SNPRINTF
1147
1148 /* Define to 1 if you have the declaration of 'strdup', and to 0 if you don't.
1149 */
1150 #undef HAVE_DECL_STRDUP
1151
1152 /* Define to 1 if you have the declaration of 'strerror_r', and to 0 if you
1153 don't. */
1154 #undef HAVE_DECL_STRERROR_R
1155
1156 /* Define to 1 if you have the declaration of 'strncasecmp', and to 0 if you
1157 don't. */
1158 #undef HAVE_DECL_STRNCASECMP
1159
1160 /* Define to 1 if you have the declaration of 'strnlen', and to 0 if you
1161 don't. */
1162 #undef HAVE_DECL_STRNLEN
1163
1164 /* Define to 1 if you have the declaration of 'strtoimax', and to 0 if you
1165 don't. */
1166 #undef HAVE_DECL_STRTOIMAX
1167
1168 /* Define to 1 if you have the declaration of 'strtoll', and to 0 if you
1169 don't. */
1170 #undef HAVE_DECL_STRTOLL
1171
1172 /* Define to 1 if you have the declaration of 'towlower', and to 0 if you
1173 don't. */
1174 #undef HAVE_DECL_TOWLOWER
1175
1176 /* Define to 1 if you have the declaration of 'unsetenv', and to 0 if you
1177 don't. */
1178 #undef HAVE_DECL_UNSETENV
1179
1180 /* Define to 1 if you have the declaration of 'wcrtomb', and to 0 if you
1181 don't. */
1182 #undef HAVE_DECL_WCRTOMB
1183
1184 /* Define to 1 if you have the declaration of 'wcsdup', and to 0 if you don't.
1185 */
1186 #undef HAVE_DECL_WCSDUP
1187
1188 /* Define to 1 if you have the declaration of 'wctob', and to 0 if you don't.
1189 */
1190 #undef HAVE_DECL_WCTOB
1191
1192 /* Define to 1 if you have the declaration of 'wcwidth', and to 0 if you
1193 don't. */
1194 #undef HAVE_DECL_WCWIDTH
1195
1196 /* Define to 1 if you have the declaration of '_putenv', and to 0 if you
1197 don't. */
1198 #undef HAVE_DECL__PUTENV
1199
1200 /* Define to 1 if you have the declaration of '_snprintf', and to 0 if you
1201 don't. */
1202 #undef HAVE_DECL__SNPRINTF
1203
1204 /* Define to 1 if you have the declaration of '__argv', and to 0 if you don't.
1205 */
1206 #undef HAVE_DECL___ARGV
1207
1208 /* Define to 1 if you have the <dirent.h> header file, and it defines 'DIR'.
1209 */
1210 #undef HAVE_DIRENT_H
1211
1212 /* Define to 1 if you have the 'dirfd' function. */
1213 #undef HAVE_DIRFD
1214
1215 /* Define to 1 if you have the `duplocale' function. */
1216 #undef HAVE_DUPLOCALE
1217
1218 /* Define if you have the declaration of environ. */
1219 #undef HAVE_ENVIRON_DECL
1220
1221 /* Define to 1 if you have the `error' function. */
1222 #undef HAVE_ERROR
1223
1224 /* Define to 1 if you have the <error.h> header file. */
1225 #undef HAVE_ERROR_H
1226
1227 /* Define to 1 if you have the 'fchdir' function. */
1228 #undef HAVE_FCHDIR
1229
1230 /* Define to 1 if you have the 'fcntl' function. */
1231 #undef HAVE_FCNTL
1232
1233 /* Define to 1 if you have the 'fdopendir' function. */
1234 #undef HAVE_FDOPENDIR
1235
1236 /* Define to 1 if you have the <features.h> header file. */
1237 #undef HAVE_FEATURES_H
1238
1239 /* Define to 1 if you have the 'fnmatch' function. */
1240 #undef HAVE_FNMATCH
1241
1242 /* Define to 1 if you have the <fnmatch.h> header file. */
1243 #undef HAVE_FNMATCH_H
1244
1245 /* Define to 1 if you have the 'fork' function. */
1246 #undef HAVE_FORK
1247
1248 /* Define if the 'free' function is guaranteed to preserve errno. */
1249 #undef HAVE_FREE_POSIX
1250
1251 /* Define to 1 if you have the 'fstatat' function. */
1252 #undef HAVE_FSTATAT
1253
1254 /* Define to 1 if you have the `ftruncate' function. */
1255 #undef HAVE_FTRUNCATE
1256
1257 /* Define to 1 if you have the 'getdtablesize' function. */
1258 #undef HAVE_GETDTABLESIZE
1259
1260 /* Define to 1 if you have the 'getexecname' function. */
1261 #undef HAVE_GETEXECNAME
1262
1263 /* Define to 1 if you have the <getopt.h> header file. */
1264 #undef HAVE_GETOPT_H
1265
1266 /* Define to 1 if you have the 'getopt_long_only' function. */
1267 #undef HAVE_GETOPT_LONG_ONLY
1268
1269 /* Define to 1 if you have the 'getppriv' function. */
1270 #undef HAVE_GETPPRIV
1271
1272 /* Define to 1 if you have the `getprogname' function. */
1273 #undef HAVE_GETPROGNAME
1274
1275 /* Define to 1 if you have the `getrandom' function. */
1276 #undef HAVE_GETRANDOM
1277
1278 /* Define to 1 if you have the 'getrlimit' function. */
1279 #undef HAVE_GETRLIMIT
1280
1281 /* Define if the GNU gettext() function is already present or preinstalled. */
1282 #undef HAVE_GETTEXT
1283
1284 /* Define to 1 if you have the 'gettimeofday' function. */
1285 #undef HAVE_GETTIMEOFDAY
1286
1287 /* Define if you have the iconv() function and it works. */
1288 #undef HAVE_ICONV
1289
1290 /* Define to 1 if you have the 'inet_pton' function. */
1291 #undef HAVE_INET_PTON
1292
1293 /* Define to 1 if you have the `initstate' function. */
1294 #undef HAVE_INITSTATE
1295
1296 /* Define to 1 if the compiler supports one of the keywords 'inline',
1297 '__inline__', '__inline' and effectively inlines functions marked as such.
1298 */
1299 #undef HAVE_INLINE
1300
1301 /* Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>. */
1302 #undef HAVE_INTMAX_T
1303
1304 /* Define to 1 if you have the <inttypes.h> header file. */
1305 #undef HAVE_INTTYPES_H
1306
1307 /* Define if <inttypes.h> exists, doesn't clash with <sys/types.h>, and
1308 declares uintmax_t. */
1309 #undef HAVE_INTTYPES_H_WITH_UINTMAX
1310
1311 /* Define to 1 if you have the 'ioctl' function. */
1312 #undef HAVE_IOCTL
1313
1314 /* Define to 1 if <sys/socket.h> defines AF_INET. */
1315 #undef HAVE_IPV4
1316
1317 /* Define to 1 if <sys/socket.h> defines AF_INET6. */
1318 #undef HAVE_IPV6
1319
1320 /* Define to 1 if you have the 'isblank' function. */
1321 #undef HAVE_ISBLANK
1322
1323 /* Define if the isnan(double) function is available in libc. */
1324 #undef HAVE_ISNAND_IN_LIBC
1325
1326 /* Define if the isnan(float) function is available in libc. */
1327 #undef HAVE_ISNANF_IN_LIBC
1328
1329 /* Define if the isnan(long double) function is available in libc. */
1330 #undef HAVE_ISNANL_IN_LIBC
1331
1332 /* Define to 1 if you have the `iswblank' function. */
1333 #undef HAVE_ISWBLANK
1334
1335 /* Define to 1 if you have the 'iswcntrl' function. */
1336 #undef HAVE_ISWCNTRL
1337
1338 /* Define to 1 if you have the 'iswctype' function. */
1339 #undef HAVE_ISWCTYPE
1340
1341 /* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
1342 #undef HAVE_LANGINFO_CODESET
1343
1344 /* Define to 1 if you have the <langinfo.h> header file. */
1345 #undef HAVE_LANGINFO_H
1346
1347 /* Define if your <locale.h> file defines LC_MESSAGES. */
1348 #undef HAVE_LC_MESSAGES
1349
1350 /* Define to 1 if you have the <libintl.h> header file. */
1351 #undef HAVE_LIBINTL_H
1352
1353 /* Define if you have the libsigsegv library. */
1354 #undef HAVE_LIBSIGSEGV
1355
1356 /* Define to 1 if the bcrypt library is guaranteed to be present. */
1357 #undef HAVE_LIB_BCRYPT
1358
1359 /* Define to 1 if you have the <limits.h> header file. */
1360 #undef HAVE_LIMITS_H
1361
1362 /* Define if localtime-like functions can loop forever on extreme arguments.
1363 */
1364 #undef HAVE_LOCALTIME_INFLOOP_BUG
1365
1366 /* Define to 1 if you have the 'localtime_r' function. */
1367 #undef HAVE_LOCALTIME_R
1368
1369 /* Define to 1 if the system has the type 'long long int'. */
1370 #undef HAVE_LONG_LONG_INT
1371
1372 /* Define to 1 if you have the 'lstat' function. */
1373 #undef HAVE_LSTAT
1374
1375 /* Define to 1 if malloc (0) returns nonnull. */
1376 #undef HAVE_MALLOC_0_NONNULL
1377
1378 /* Define to 1 if you have the <malloc.h> header file. */
1379 #undef HAVE_MALLOC_H
1380
1381 /* Define if malloc, realloc, and calloc set errno on allocation failure. */
1382 #undef HAVE_MALLOC_POSIX
1383
1384 /* Define to 1 if malloc-like functions do not allocate objects larger than
1385 PTRDIFF_MAX bytes. */
1386 #undef HAVE_MALLOC_PTRDIFF
1387
1388 /* Define to 1 if mmap()'s MAP_ANONYMOUS flag is available after including
1389 config.h and <sys/mman.h>. */
1390 #undef HAVE_MAP_ANONYMOUS
1391
1392 /* Define to 1 if you have the <math.h> header file. */
1393 #undef HAVE_MATH_H
1394
1395 /* Define to 1 if you have the 'mbrtowc' function. */
1396 #undef HAVE_MBRTOWC
1397
1398 /* Define to 1 if you have the 'mbsinit' function. */
1399 #undef HAVE_MBSINIT
1400
1401 /* Define to 1 if you have the 'mbsrtowcs' function. */
1402 #undef HAVE_MBSRTOWCS
1403
1404 /* Define to 1 if <wchar.h> declares mbstate_t. */
1405 #undef HAVE_MBSTATE_T
1406
1407 /* Define to 1 if you have the `mbtowc' function. */
1408 #undef HAVE_MBTOWC
1409
1410 /* Define to 1 if you have the `mempcpy' function. */
1411 #undef HAVE_MEMPCPY
1412
1413 /* Define to 1 if you have the 'memrchr' function. */
1414 #undef HAVE_MEMRCHR
1415
1416 /* Define to 1 if you have the <minix/config.h> header file. */
1417 #undef HAVE_MINIX_CONFIG_H
1418
1419 /* Define to 1 if <limits.h> defines the MIN and MAX macros. */
1420 #undef HAVE_MINMAX_IN_LIMITS_H
1421
1422 /* Define to 1 if <sys/param.h> defines the MIN and MAX macros. */
1423 #undef HAVE_MINMAX_IN_SYS_PARAM_H
1424
1425 /* Define to 1 if you have the 'mkstemp' function. */
1426 #undef HAVE_MKSTEMP
1427
1428 /* Define to 1 if you have the 'mprotect' function. */
1429 #undef HAVE_MPROTECT
1430
1431 /* Define to 1 on MSVC platforms that have the "invalid parameter handler"
1432 concept. */
1433 #undef HAVE_MSVC_INVALID_PARAMETER_HANDLER
1434
1435 /* Define to 1 if you have the <ndir.h> header file, and it defines 'DIR'. */
1436 #undef HAVE_NDIR_H
1437
1438 /* Define to 1 if you have the <netdb.h> header file. */
1439 #undef HAVE_NETDB_H
1440
1441 /* Define to 1 if you have the <netinet/in.h> header file. */
1442 #undef HAVE_NETINET_IN_H
1443
1444 /* Define to 1 if you have the `newlocale' function. */
1445 #undef HAVE_NEWLOCALE
1446
1447 /* Define to 1 if you have the `nl_langinfo' function. */
1448 #undef HAVE_NL_LANGINFO
1449
1450 /* Define to 1 if you have the 'openat' function. */
1451 #undef HAVE_OPENAT
1452
1453 /* Define to 1 if you have the 'opendir' function. */
1454 #undef HAVE_OPENDIR
1455
1456 /* Define to 1 if you have the <OS.h> header file. */
1457 #undef HAVE_OS_H
1458
1459 /* Define to 1 if you have the 'pclose' function. */
1460 #undef HAVE_PCLOSE
1461
1462 /* Define to 1 if you have the 'pipe' function. */
1463 #undef HAVE_PIPE
1464
1465 /* Define to 1 if you have the 'popen' function. */
1466 #undef HAVE_POPEN
1467
1468 /* Define to 1 if you have the <priv.h> header file. */
1469 #undef HAVE_PRIV_H
1470
1471 /* Define to 1 if you have the 'pselect' function. */
1472 #undef HAVE_PSELECT
1473
1474 /* Define if you have the <pthread.h> header and the POSIX threads API. */
1475 #undef HAVE_PTHREAD_API
1476
1477 /* Define to 1 if you have the `pthread_atfork' function. */
1478 #undef HAVE_PTHREAD_ATFORK
1479
1480 /* Define to 1 if you have the <pthread.h> header file. */
1481 #undef HAVE_PTHREAD_H
1482
1483 /* Define if the <pthread.h> defines PTHREAD_MUTEX_RECURSIVE. */
1484 #undef HAVE_PTHREAD_MUTEX_RECURSIVE
1485
1486 /* Define if the POSIX multithreading library has read/write locks. */
1487 #undef HAVE_PTHREAD_RWLOCK
1488
1489 /* Define if the 'pthread_rwlock_rdlock' function prefers a writer to a
1490 reader. */
1491 #undef HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER
1492
1493 /* Define to 1 if the pthread_sigmask function can be used (despite bugs). */
1494 #undef HAVE_PTHREAD_SIGMASK
1495
1496 /* Define to 1 if the system has the type 'pthread_spinlock_t'. */
1497 #undef HAVE_PTHREAD_SPINLOCK_T
1498
1499 /* Define to 1 if the system has the type 'pthread_t'. */
1500 #undef HAVE_PTHREAD_T
1501
1502 /* Define to 1 if you have the 'raise' function. */
1503 #undef HAVE_RAISE
1504
1505 /* Define to 1 if you have the <random.h> header file. */
1506 #undef HAVE_RANDOM_H
1507
1508 /* Define to 1 if you have the 'random_r' function. */
1509 #undef HAVE_RANDOM_R
1510
1511 /* Define to 1 if you have the 'rawmemchr' function. */
1512 #undef HAVE_RAWMEMCHR
1513
1514 /* Define to 1 if you have the 'readdir' function. */
1515 #undef HAVE_READDIR
1516
1517 /* Define to 1 if you have the 'readlink' function. */
1518 #undef HAVE_READLINK
1519
1520 /* Define to 1 if you have the `readlinkat' function. */
1521 #undef HAVE_READLINKAT
1522
1523 /* Define to 1 if you have the `reallocarray' function. */
1524 #undef HAVE_REALLOCARRAY
1525
1526 /* Define to 1 if realloc (..., 0) returns nonnull. */
1527 #undef HAVE_REALLOC_0_NONNULL
1528
1529 /* Define to 1 if 'long double' and 'double' have the same representation. */
1530 #undef HAVE_SAME_LONG_DOUBLE_AS_DOUBLE
1531
1532 /* Define to 1 if the system has the type 'sa_family_t'. */
1533 #undef HAVE_SA_FAMILY_T
1534
1535 /* Define to 1 if you have the <sched.h> header file. */
1536 #undef HAVE_SCHED_H
1537
1538 /* Define to 1 if you have the <sdkddkver.h> header file. */
1539 #undef HAVE_SDKDDKVER_H
1540
1541 /* Define to 1 if you have the <search.h> header file. */
1542 #undef HAVE_SEARCH_H
1543
1544 /* Define to 1 if you have the <semaphore.h> header file. */
1545 #undef HAVE_SEMAPHORE_H
1546
1547 /* Define to 1 if you have the 'setdtablesize' function. */
1548 #undef HAVE_SETDTABLESIZE
1549
1550 /* Define to 1 if you have the 'setenv' function. */
1551 #undef HAVE_SETENV
1552
1553 /* Define to 1 if you have the 'setrlimit' function. */
1554 #undef HAVE_SETRLIMIT
1555
1556 /* Define to 1 if you have the `setstate' function. */
1557 #undef HAVE_SETSTATE
1558
1559 /* Define to 1 if you have the 'shutdown' function. */
1560 #undef HAVE_SHUTDOWN
1561
1562 /* Define to 1 if you have the 'sigaction' function. */
1563 #undef HAVE_SIGACTION
1564
1565 /* Define to 1 if you have the 'sigaltstack' function. */
1566 #undef HAVE_SIGALTSTACK
1567
1568 /* Define to 1 if you have the 'sigblock' function. */
1569 #undef HAVE_SIGBLOCK
1570
1571 /* Define to 1 if the system has the type 'siginfo_t'. */
1572 #undef HAVE_SIGINFO_T
1573
1574 /* Define to 1 if you have the 'siginterrupt' function. */
1575 #undef HAVE_SIGINTERRUPT
1576
1577 /* Define to 1 if 'sig_atomic_t' is a signed integer type. */
1578 #undef HAVE_SIGNED_SIG_ATOMIC_T
1579
1580 /* Define to 1 if 'wchar_t' is a signed integer type. */
1581 #undef HAVE_SIGNED_WCHAR_T
1582
1583 /* Define to 1 if 'wint_t' is a signed integer type. */
1584 #undef HAVE_SIGNED_WINT_T
1585
1586 /* Define to 1 if you have the 'sigprocmask' function. */
1587 #undef HAVE_SIGPROCMASK
1588
1589 /* Define to 1 if the system has the type 'sigset_t'. */
1590 #undef HAVE_SIGSET_T
1591
1592 /* Define to 1 if you have the 'sleep' function. */
1593 #undef HAVE_SLEEP
1594
1595 /* Define to 1 if you have the 'snprintf' function. */
1596 #undef HAVE_SNPRINTF
1597
1598 /* Define if the return value of the snprintf function is the number of of
1599 bytes (excluding the terminating NUL) that would have been produced if the
1600 buffer had been large enough. */
1601 #undef HAVE_SNPRINTF_RETVAL_C99
1602
1603 /* Define if the string produced by the snprintf function is always NUL
1604 terminated. */
1605 #undef HAVE_SNPRINTF_TRUNCATION_C99
1606
1607 /* Define to 1 if you have the <stdbit.h> header file. */
1608 #undef HAVE_STDBIT_H
1609
1610 /* Define to 1 if you have the <stdbool.h> header file. */
1611 #undef HAVE_STDBOOL_H
1612
1613 /* Define to 1 if you have the <stdckdint.h> header file. */
1614 #undef HAVE_STDCKDINT_H
1615
1616 /* Define to 1 if you have the <stdint.h> header file. */
1617 #undef HAVE_STDINT_H
1618
1619 /* Define if <stdint.h> exists, doesn't clash with <sys/types.h>, and declares
1620 uintmax_t. */
1621 #undef HAVE_STDINT_H_WITH_UINTMAX
1622
1623 /* Define to 1 if you have the <stdio.h> header file. */
1624 #undef HAVE_STDIO_H
1625
1626 /* Define to 1 if you have the <stdlib.h> header file. */
1627 #undef HAVE_STDLIB_H
1628
1629 /* Define to 1 if you have the `stpcpy' function. */
1630 #undef HAVE_STPCPY
1631
1632 /* Define to 1 if you have the 'strcasecmp' function. */
1633 #undef HAVE_STRCASECMP
1634
1635 /* Define to 1 if you have the `strerror_r' function. */
1636 #undef HAVE_STRERROR_R
1637
1638 /* Define to 1 if you have the 'strftime_z' function. */
1639 #undef HAVE_STRFTIME_Z
1640
1641 /* Define to 1 if you have the <strings.h> header file. */
1642 #undef HAVE_STRINGS_H
1643
1644 /* Define to 1 if you have the <string.h> header file. */
1645 #undef HAVE_STRING_H
1646
1647 /* Define to 1 if you have the 'strncasecmp' function. */
1648 #undef HAVE_STRNCASECMP
1649
1650 /* Define to 1 if you have the 'strnlen' function. */
1651 #undef HAVE_STRNLEN
1652
1653 /* Define to 1 if you have the 'strptime' function. */
1654 #undef HAVE_STRPTIME
1655
1656 /* Define to 1 if you have the 'strtoimax' function. */
1657 #undef HAVE_STRTOIMAX
1658
1659 /* Define to 1 if you have the 'strtoll' function. */
1660 #undef HAVE_STRTOLL
1661
1662 /* Define if there is a member named d_type in the struct describing directory
1663 headers. */
1664 #undef HAVE_STRUCT_DIRENT_D_TYPE
1665
1666 /* Define to 1 if 'decimal_point' is a member of 'struct lconv'. */
1667 #undef HAVE_STRUCT_LCONV_DECIMAL_POINT
1668
1669 /* Define to 1 if 'int_p_cs_precedes' is a member of 'struct lconv'. */
1670 #undef HAVE_STRUCT_LCONV_INT_P_CS_PRECEDES
1671
1672 /* Define to 1 if the system has the type 'struct random_data'. */
1673 #undef HAVE_STRUCT_RANDOM_DATA
1674
1675 /* Define to 1 if 'sa_sigaction' is a member of 'struct sigaction'. */
1676 #undef HAVE_STRUCT_SIGACTION_SA_SIGACTION
1677
1678 /* Define to 1 if the system has the type 'struct sockaddr_storage'. */
1679 #undef HAVE_STRUCT_SOCKADDR_STORAGE
1680
1681 /* Define to 1 if 'ss_family' is a member of 'struct sockaddr_storage'. */
1682 #undef HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY
1683
1684 /* Define to 1 if 'st_atimensec' is a member of 'struct stat'. */
1685 #undef HAVE_STRUCT_STAT_ST_ATIMENSEC
1686
1687 /* Define to 1 if 'st_atimespec.tv_nsec' is a member of 'struct stat'. */
1688 #undef HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC
1689
1690 /* Define to 1 if 'st_atim.st__tim.tv_nsec' is a member of 'struct stat'. */
1691 #undef HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC
1692
1693 /* Define to 1 if 'st_atim.tv_nsec' is a member of 'struct stat'. */
1694 #undef HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC
1695
1696 /* Define to 1 if 'st_birthtimensec' is a member of 'struct stat'. */
1697 #undef HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC
1698
1699 /* Define to 1 if 'st_birthtimespec.tv_nsec' is a member of 'struct stat'. */
1700 #undef HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC
1701
1702 /* Define to 1 if 'st_birthtim.tv_nsec' is a member of 'struct stat'. */
1703 #undef HAVE_STRUCT_STAT_ST_BIRTHTIM_TV_NSEC
1704
1705 /* Define to 1 if 'st_blocks' is a member of 'struct stat'. */
1706 #undef HAVE_STRUCT_STAT_ST_BLOCKS
1707
1708 /* Define to 1 if 'st_rdev' is a member of 'struct stat'. */
1709 #undef HAVE_STRUCT_STAT_ST_RDEV
1710
1711 /* Define to 1 if 'tm_gmtoff' is a member of 'struct tm'. */
1712 #undef HAVE_STRUCT_TM_TM_GMTOFF
1713
1714 /* Define to 1 if 'tm_zone' is a member of 'struct tm'. */
1715 #undef HAVE_STRUCT_TM_TM_ZONE
1716
1717 /* Define to 1 if your 'struct stat' has 'st_blocks'. Deprecated, use
1718 'HAVE_STRUCT_STAT_ST_BLOCKS' instead. */
1719 #undef HAVE_ST_BLOCKS
1720
1721 /* Define to 1 if you have the 'symlink' function. */
1722 #undef HAVE_SYMLINK
1723
1724 /* Define to 1 if you have the `symlinkat' function. */
1725 #undef HAVE_SYMLINKAT
1726
1727 /* Define to 1 if you have the <sys/bitypes.h> header file. */
1728 #undef HAVE_SYS_BITYPES_H
1729
1730 /* Define to 1 if you have the <sys/dir.h> header file, and it defines 'DIR'.
1731 */
1732 #undef HAVE_SYS_DIR_H
1733
1734 /* Define to 1 if you have the <sys/inttypes.h> header file. */
1735 #undef HAVE_SYS_INTTYPES_H
1736
1737 /* Define to 1 if you have the <sys/ioctl.h> header file. */
1738 #undef HAVE_SYS_IOCTL_H
1739
1740 /* Define to 1 if you have the <sys/mman.h> header file. */
1741 #undef HAVE_SYS_MMAN_H
1742
1743 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines 'DIR'.
1744 */
1745 #undef HAVE_SYS_NDIR_H
1746
1747 /* Define to 1 if you have the <sys/param.h> header file. */
1748 #undef HAVE_SYS_PARAM_H
1749
1750 /* Define to 1 if you have the <sys/random.h> header file. */
1751 #undef HAVE_SYS_RANDOM_H
1752
1753 /* Define to 1 if you have the <sys/select.h> header file. */
1754 #undef HAVE_SYS_SELECT_H
1755
1756 /* Define to 1 if you have the <sys/socket.h> header file. */
1757 #undef HAVE_SYS_SOCKET_H
1758
1759 /* Define to 1 if you have the <sys/stat.h> header file. */
1760 #undef HAVE_SYS_STAT_H
1761
1762 /* Define to 1 if you have the <sys/time.h> header file. */
1763 #undef HAVE_SYS_TIME_H
1764
1765 /* Define to 1 if you have the <sys/types.h> header file. */
1766 #undef HAVE_SYS_TYPES_H
1767
1768 /* Define to 1 if you have the <sys/uio.h> header file. */
1769 #undef HAVE_SYS_UIO_H
1770
1771 /* Define to 1 if you have the <sys/un.h> header file. */
1772 #undef HAVE_SYS_UN_H
1773
1774 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
1775 #undef HAVE_SYS_WAIT_H
1776
1777 /* Define to 1 if you have the `thrd_create' function. */
1778 #undef HAVE_THRD_CREATE
1779
1780 /* Define to 1 if you have the <threads.h> header file. */
1781 #undef HAVE_THREADS_H
1782
1783 /* Define to 1 if you have the `timegm' function. */
1784 #undef HAVE_TIMEGM
1785
1786 /* Define if you have the timespec_get function. */
1787 #undef HAVE_TIMESPEC_GET
1788
1789 /* Define to 1 if the system has the type 'timezone_t'. */
1790 #undef HAVE_TIMEZONE_T
1791
1792 /* Define if struct tm has the tm_gmtoff member. This macro is obsolete. New
1793 code should use HAVE_STRUCT_TM_TM_GMTOFF. */
1794 #undef HAVE_TM_GMTOFF
1795
1796 /* Define to 1 if you have the 'towlower' function. */
1797 #undef HAVE_TOWLOWER
1798
1799 /* Define to 1 if you have the `tsearch' function. */
1800 #undef HAVE_TSEARCH
1801
1802 /* Define to 1 if you have the `tzalloc' function. */
1803 #undef HAVE_TZALLOC
1804
1805 /* Define to 1 if you have the <uchar.h> header file. */
1806 #undef HAVE_UCHAR_H
1807
1808 /* Define to 1 if you have the <unistd.h> header file. */
1809 #undef HAVE_UNISTD_H
1810
1811 /* Define to 1 if you have the <unistring/woe32dll.h> header file. */
1812 #undef HAVE_UNISTRING_WOE32DLL_H
1813
1814 /* Define to 1 if <sys/socket.h> defines AF_UNIX. */
1815 #undef HAVE_UNIXSOCKET
1816
1817 /* Define to 1 if you have the 'unlinkat' function. */
1818 #undef HAVE_UNLINKAT
1819
1820 /* Define to 1 if you have the 'unsetenv' function. */
1821 #undef HAVE_UNSETENV
1822
1823 /* Define to 1 if the system has the type 'unsigned long long int'. */
1824 #undef HAVE_UNSIGNED_LONG_LONG_INT
1825
1826 /* Define to 1 if you have the `uselocale' function. */
1827 #undef HAVE_USELOCALE
1828
1829 /* Define if you have a global __progname variable */
1830 #undef HAVE_VAR___PROGNAME
1831
1832 /* Define to 1 if you have the 'vasnprintf' function. */
1833 #undef HAVE_VASNPRINTF
1834
1835 /* Define to 1 if you have the 'vfork' function. */
1836 #undef HAVE_VFORK
1837
1838 /* Define to 1 if you have the <vfork.h> header file. */
1839 #undef HAVE_VFORK_H
1840
1841 /* Define to 1 or 0, depending whether the compiler supports simple visibility
1842 declarations. */
1843 #undef HAVE_VISIBILITY
1844
1845 /* Define to 1 if you have the <wchar.h> header file. */
1846 #undef HAVE_WCHAR_H
1847
1848 /* Define to 1 if you have the 'wcrtomb' function. */
1849 #undef HAVE_WCRTOMB
1850
1851 /* Define to 1 if you have the 'wcslen' function. */
1852 #undef HAVE_WCSLEN
1853
1854 /* Define to 1 if you have the 'wctob' function. */
1855 #undef HAVE_WCTOB
1856
1857 /* Define to 1 if you have the <wctype.h> header file. */
1858 #undef HAVE_WCTYPE_H
1859
1860 /* Define to 1 if you have the 'wcwidth' function. */
1861 #undef HAVE_WCWIDTH
1862
1863 /* Define to 1 if the compiler and linker support weak declarations of
1864 symbols. */
1865 #undef HAVE_WEAK_SYMBOLS
1866
1867 /* Define to 1 if <locale.h> defines the _locale_t type. */
1868 #undef HAVE_WINDOWS_LOCALE_T
1869
1870 /* Define to 1 if you have the <winsock2.h> header file. */
1871 #undef HAVE_WINSOCK2_H
1872
1873 /* Define if you have the 'wint_t' type. */
1874 #undef HAVE_WINT_T
1875
1876 /* Define to 1 if you have the `wmempcpy' function. */
1877 #undef HAVE_WMEMPCPY
1878
1879 /* Define if the c32rtomb function basically works. */
1880 #undef HAVE_WORKING_C32RTOMB
1881
1882 /* Define to 1 if 'fork' works. */
1883 #undef HAVE_WORKING_FORK
1884
1885 /* Define to 1 if fstatat (..., 0) works. For example, it does not work in AIX
1886 7.1. */
1887 #undef HAVE_WORKING_FSTATAT_ZERO_FLAG
1888
1889 /* Define if the mbrtoc32 function basically works. */
1890 #undef HAVE_WORKING_MBRTOC32
1891
1892 /* Define to 1 if O_NOATIME works. */
1893 #undef HAVE_WORKING_O_NOATIME
1894
1895 /* Define to 1 if O_NOFOLLOW works. */
1896 #undef HAVE_WORKING_O_NOFOLLOW
1897
1898 /* Define if you have the sigaltstack() function and it works. */
1899 #undef HAVE_WORKING_SIGALTSTACK
1900
1901 /* Define if the uselocale function exists and may safely be called. */
1902 #undef HAVE_WORKING_USELOCALE
1903
1904 /* Define to 1 if 'vfork' works. */
1905 #undef HAVE_WORKING_VFORK
1906
1907 /* Define to 1 if you have the <ws2tcpip.h> header file. */
1908 #undef HAVE_WS2TCPIP_H
1909
1910 /* Define to 1 if you have the <xlocale.h> header file. */
1911 #undef HAVE_XLOCALE_H
1912
1913 /* Define to 1 if you have the '_chsize' function. */
1914 #undef HAVE__CHSIZE
1915
1916 /* Define to 1 if you have the '_set_invalid_parameter_handler' function. */
1917 #undef HAVE__SET_INVALID_PARAMETER_HANDLER
1918
1919 /* Define to 1 if the compiler supports __builtin_expect,
1920 and to 2 if <builtins.h> does. */
1921 #undef HAVE___BUILTIN_EXPECT
1922 #ifndef HAVE___BUILTIN_EXPECT
1923 # define __builtin_expect(e, c) (e)
1924 #elif HAVE___BUILTIN_EXPECT == 2
1925 # include <builtins.h>
1926 #endif
1927
1928
1929 /* Define to 1 if ctype.h defines __header_inline. */
1930 #undef HAVE___HEADER_INLINE
1931
1932 /* Please see the Gnulib manual for how to use these macros.
1933
1934 Suppress extern inline with HP-UX cc, as it appears to be broken; see
1935 <https://lists.gnu.org/r/bug-texinfo/2013-02/msg00030.html>.
1936
1937 Suppress extern inline with Sun C in standards-conformance mode, as it
1938 mishandles inline functions that call each other. E.g., for 'inline void f
1939 (void) { } inline void g (void) { f (); }', c99 incorrectly complains
1940 'reference to static identifier "f" in extern inline function'.
1941 This bug was observed with Oracle Developer Studio 12.6
1942 (Sun C 5.15 SunOS_sparc 2017/05/30).
1943
1944 Suppress extern inline (with or without __attribute__ ((__gnu_inline__)))
1945 on configurations that mistakenly use 'static inline' to implement
1946 functions or macros in standard C headers like <ctype.h>. For example,
1947 if isdigit is mistakenly implemented via a static inline function,
1948 a program containing an extern inline function that calls isdigit
1949 may not work since the C standard prohibits extern inline functions
1950 from calling static functions (ISO C 99 section 6.7.4.(3).
1951 This bug is known to occur on:
1952
1953 OS X 10.8 and earlier; see:
1954 https://lists.gnu.org/r/bug-gnulib/2012-12/msg00023.html
1955
1956 DragonFly; see
1957 http://muscles.dragonflybsd.org/bulk/clang-master-potential/20141111_102002/logs/ah-tty-0.3.12.log
1958
1959 FreeBSD; see:
1960 https://lists.gnu.org/r/bug-gnulib/2014-07/msg00104.html
1961
1962 OS X 10.9 has a macro __header_inline indicating the bug is fixed for C and
1963 for clang but remains for g++; see <https://trac.macports.org/ticket/41033>.
1964 Assume DragonFly and FreeBSD will be similar.
1965
1966 GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99
1967 inline semantics, unless -fgnu89-inline is used. It defines a macro
1968 __GNUC_STDC_INLINE__ to indicate this situation or a macro
1969 __GNUC_GNU_INLINE__ to indicate the opposite situation.
1970 GCC 4.2 with -std=c99 or -std=gnu99 implements the GNU C inline
1971 semantics but warns, unless -fgnu89-inline is used:
1972 warning: C99 inline functions are not supported; using GNU89
1973 warning: to disable this warning use -fgnu89-inline or the gnu_inline function attribute
1974 It defines a macro __GNUC_GNU_INLINE__ to indicate this situation.
1975 */
1976 #if (((defined __APPLE__ && defined __MACH__) \
1977 || defined __DragonFly__ || defined __FreeBSD__) \
1978 && (defined HAVE___HEADER_INLINE \
1979 ? (defined __cplusplus && defined __GNUC_STDC_INLINE__ \
1980 && ! defined __clang__) \
1981 : ((! defined _DONT_USE_CTYPE_INLINE_ \
1982 && (defined __GNUC__ || defined __cplusplus)) \
1983 || (defined _FORTIFY_SOURCE && 0 < _FORTIFY_SOURCE \
1984 && defined __GNUC__ && ! defined __cplusplus))))
1985 # define _GL_EXTERN_INLINE_STDHEADER_BUG
1986 #endif
1987 #if ((__GNUC__ \
1988 ? (defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ \
1989 && !defined __PCC__) \
1990 : (199901L <= __STDC_VERSION__ \
1991 && !defined __HP_cc \
1992 && !defined __PGI \
1993 && !(defined __SUNPRO_C && __STDC__))) \
1994 && !defined _GL_EXTERN_INLINE_STDHEADER_BUG)
1995 # define _GL_INLINE inline
1996 # define _GL_EXTERN_INLINE extern inline
1997 # define _GL_EXTERN_INLINE_IN_USE
1998 #elif (2 < __GNUC__ + (7 <= __GNUC_MINOR__) && !defined __STRICT_ANSI__ \
1999 && !defined __PCC__ \
2000 && !defined _GL_EXTERN_INLINE_STDHEADER_BUG)
2001 # if defined __GNUC_GNU_INLINE__ && __GNUC_GNU_INLINE__
2002 /* __gnu_inline__ suppresses a GCC 4.2 diagnostic. */
2003 # define _GL_INLINE extern inline __attribute__ ((__gnu_inline__))
2004 # else
2005 # define _GL_INLINE extern inline
2006 # endif
2007 # define _GL_EXTERN_INLINE extern
2008 # define _GL_EXTERN_INLINE_IN_USE
2009 #else
2010 # define _GL_INLINE _GL_UNUSED static
2011 # define _GL_EXTERN_INLINE _GL_UNUSED static
2012 #endif
2013
2014 /* In GCC 4.6 (inclusive) to 5.1 (exclusive),
2015 suppress bogus "no previous prototype for 'FOO'"
2016 and "no previous declaration for 'FOO'" diagnostics,
2017 when FOO is an inline function in the header; see
2018 <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54113> and
2019 <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63877>. */
2020 #if __GNUC__ == 4 && 6 <= __GNUC_MINOR__
2021 # if defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__
2022 # define _GL_INLINE_HEADER_CONST_PRAGMA
2023 # else
2024 # define _GL_INLINE_HEADER_CONST_PRAGMA \
2025 _Pragma ("GCC diagnostic ignored \"-Wsuggest-attribute=const\"")
2026 # endif
2027 # define _GL_INLINE_HEADER_BEGIN \
2028 _Pragma ("GCC diagnostic push") \
2029 _Pragma ("GCC diagnostic ignored \"-Wmissing-prototypes\"") \
2030 _Pragma ("GCC diagnostic ignored \"-Wmissing-declarations\"") \
2031 _GL_INLINE_HEADER_CONST_PRAGMA
2032 # define _GL_INLINE_HEADER_END \
2033 _Pragma ("GCC diagnostic pop")
2034 #else
2035 # define _GL_INLINE_HEADER_BEGIN
2036 # define _GL_INLINE_HEADER_END
2037 #endif
2038
2039 /* Define to 1 if the compiler supports the keyword '__inline'. */
2040 #undef HAVE___INLINE
2041
2042 /* Define to 1 if you have the '__xpg_strerror_r' function. */
2043 #undef HAVE___XPG_STRERROR_R
2044
2045 /* Define as the bit index in the word where to find bit 0 of the exponent of
2046 'long double'. */
2047 #undef LDBL_EXPBIT0_BIT
2048
2049 /* Define as the word index where to find the exponent of 'long double'. */
2050 #undef LDBL_EXPBIT0_WORD
2051
2052 /* Define as the bit index in the word where to find the sign of 'long
2053 double'. */
2054 #undef LDBL_SIGNBIT_BIT
2055
2056 /* Define as the word index where to find the sign of 'long double'. */
2057 #undef LDBL_SIGNBIT_WORD
2058
2059 /* Define to 1 if 'lstat' dereferences a symlink specified with a trailing
2060 slash. */
2061 #undef LSTAT_FOLLOWS_SLASHED_SYMLINK
2062
2063 /* Define to a substitute value for mmap()'s MAP_ANONYMOUS flag. */
2064 #undef MAP_ANONYMOUS
2065
2066 /* Define if the mbrtoc32 function does not return (size_t) -2 for empty
2067 input. */
2068 #undef MBRTOC32_EMPTY_INPUT_BUG
2069
2070 /* Define if the mbrtoc32 function may signal encoding errors in the C locale.
2071 */
2072 #undef MBRTOC32_IN_C_LOCALE_MAYBE_EILSEQ
2073
2074 /* Define if the mbrtoc32 function does not accept the input bytes one-by-one.
2075 */
2076 #undef MBRTOC32_MULTIBYTE_LOCALE_BUG
2077
2078 /* Define if the mbrtowc function does not return (size_t) -2 for empty input.
2079 */
2080 #undef MBRTOWC_EMPTY_INPUT_BUG
2081
2082 /* Define if the mbrtowc function may signal encoding errors in the C locale.
2083 */
2084 #undef MBRTOWC_IN_C_LOCALE_MAYBE_EILSEQ
2085
2086 /* Define if the mbrtowc function has the NULL pwc argument bug. */
2087 #undef MBRTOWC_NULL_ARG1_BUG
2088
2089 /* Define if the mbrtowc function has the NULL string argument bug. */
2090 #undef MBRTOWC_NULL_ARG2_BUG
2091
2092 /* Define if the mbrtowc function does not return 0 for a NUL character. */
2093 #undef MBRTOWC_NUL_RETVAL_BUG
2094
2095 /* Define if the mbrtowc function returns a wrong return value. */
2096 #undef MBRTOWC_RETVAL_BUG
2097
2098 /* Define if the mbrtowc function stores a wide character when reporting
2099 incomplete input. */
2100 #undef MBRTOWC_STORES_INCOMPLETE_BUG
2101
2102 /* Use GNU style printf and scanf. */
2103 #ifndef __USE_MINGW_ANSI_STDIO
2104 # undef __USE_MINGW_ANSI_STDIO
2105 #endif
2106
2107
2108 /* Define to 1 if the encoding of NaN 'double's is as in IEEE 754-2008 §
2109 6.2.1. */
2110 #undef MIPS_NAN2008_DOUBLE
2111
2112 /* Define to 1 if the encoding of NaN 'float's is as in IEEE 754-2008 §
2113 6.2.1. */
2114 #undef MIPS_NAN2008_FLOAT
2115
2116 /* Define to 1 if the encoding of NaN 'long double's is as in IEEE 754-2008 §
2117 6.2.1. */
2118 #undef MIPS_NAN2008_LONG_DOUBLE
2119
2120 /* Define to 1 on musl libc. */
2121 #undef MUSL_LIBC
2122
2123 /* Define if the compilation of mktime.c should define 'mktime_internal'. */
2124 #undef NEED_MKTIME_INTERNAL
2125
2126 /* Define if the compilation of mktime.c should define 'mktime' with the
2127 native Windows TZ workaround. */
2128 #undef NEED_MKTIME_WINDOWS
2129
2130 /* Define if the compilation of mktime.c should define 'mktime' with the
2131 algorithmic workarounds. */
2132 #undef NEED_MKTIME_WORKING
2133
2134 /* Define to 1 if realloc should abort upon undefined behaviour. */
2135 #undef NEED_SANITIZED_REALLOC
2136
2137 /* Define to 1 if localtime_rz, mktime_z exist and can be used with non-NULL
2138 timezone_t values. */
2139 #undef NEED_TIMEZONE_NULL_SUPPORT
2140
2141 /* Define to 1 if nl_langinfo is multithread-safe. */
2142 #undef NL_LANGINFO_MTSAFE
2143
2144 /* Define to 1 if open() fails to recognize a trailing slash. */
2145 #undef OPEN_TRAILING_SLASH_BUG
2146
2147 /* Define to 1 if <fcntl.h> defines O_PATH and file descriptors created with
2148 this flag are supported by fstat(). */
2149 #undef O_PATH_SUPPORTS_FSTAT
2150
2151 /* Name of package */
2152 #undef PACKAGE
2153
2154 /* Define to the address where bug reports for this package should be sent. */
2155 #undef PACKAGE_BUGREPORT
2156
2157 /* Define to the full name of this package. */
2158 #undef PACKAGE_NAME
2159
2160 /* String identifying the packager of this software */
2161 #undef PACKAGE_PACKAGER
2162
2163 /* Packager info for bug reports (URL/e-mail/...) */
2164 #undef PACKAGE_PACKAGER_BUG_REPORTS
2165
2166 /* Packager-specific version information */
2167 #undef PACKAGE_PACKAGER_VERSION
2168
2169 /* Define to the full name and version of this package. */
2170 #undef PACKAGE_STRING
2171
2172 /* Define to the one symbol short name of this package. */
2173 #undef PACKAGE_TARNAME
2174
2175 /* Define to the home page for this package. */
2176 #undef PACKAGE_URL
2177
2178 /* Define to the version of this package. */
2179 #undef PACKAGE_VERSION
2180
2181 /* Define to the type that is the result of default argument promotions of
2182 type mode_t. */
2183 #undef PROMOTED_MODE_T
2184
2185 /* Name of "pr" program. */
2186 #undef PR_PROGRAM
2187
2188 /* Define if pthread_create is an inline function. */
2189 #undef PTHREAD_CREATE_IS_INLINE
2190
2191 /* Define if the pthread_in_use() detection is hard. */
2192 #undef PTHREAD_IN_USE_DETECTION_HARD
2193
2194 /* Define if the 'robust' attribute of pthread_mutex* doesn't exist. */
2195 #undef PTHREAD_MUTEXATTR_ROBUST_UNIMPLEMENTED
2196
2197 /* Define if the pthread_rwlock wait queue handling is not reasonable. */
2198 #undef PTHREAD_RWLOCK_BAD_WAITQUEUE
2199
2200 /* Define if the functions pthread_rwlock_timedrdlock and
2201 pthread_rwlock_timedwrlock don't exist. */
2202 #undef PTHREAD_RWLOCK_LACKS_TIMEOUT
2203
2204 /* Define if all pthread_rwlock* functions don't exist. */
2205 #undef PTHREAD_RWLOCK_UNIMPLEMENTED
2206
2207 /* Define to 1 if pthread_sigmask(), when it fails, returns -1 and sets errno.
2208 */
2209 #undef PTHREAD_SIGMASK_FAILS_WITH_ERRNO
2210
2211 /* Define to 1 if pthread_sigmask may return 0 and have no effect. */
2212 #undef PTHREAD_SIGMASK_INEFFECTIVE
2213
2214 /* Define to 1 if pthread_sigmask() unblocks signals incorrectly. */
2215 #undef PTHREAD_SIGMASK_UNBLOCK_BUG
2216
2217 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
2218 'ptrdiff_t'. */
2219 #undef PTRDIFF_T_SUFFIX
2220
2221 /* Define to 1 if readlink fails to recognize a trailing slash. */
2222 #undef READLINK_TRAILING_SLASH_BUG
2223
2224 /* Define to 1 if readlink sets errno instead of truncating a too-long link.
2225 */
2226 #undef READLINK_TRUNCATE_BUG
2227
2228 /* Define to 1 if gnulib's fchdir() replacement is used. */
2229 #undef REPLACE_FCHDIR
2230
2231 /* Define to 1 if stat needs help when passed a file name with a trailing
2232 slash */
2233 #undef REPLACE_FUNC_STAT_FILE
2234
2235 /* Define if nl_langinfo exists but is overridden by gnulib. */
2236 #undef REPLACE_NL_LANGINFO
2237
2238 /* Define to 1 if open() should work around the inability to open a directory.
2239 */
2240 #undef REPLACE_OPEN_DIRECTORY
2241
2242 /* Define to 1 if strerror(0) does not return a message implying success. */
2243 #undef REPLACE_STRERROR_0
2244
2245 /* Define if vasnprintf exists but is overridden by gnulib. */
2246 #undef REPLACE_VASNPRINTF
2247
2248 /* Define to 1 if setlocale (LC_ALL, NULL) is multithread-safe. */
2249 #undef SETLOCALE_NULL_ALL_MTSAFE
2250
2251 /* Define to 1 if setlocale (category, NULL) is multithread-safe. */
2252 #undef SETLOCALE_NULL_ONE_MTSAFE
2253
2254 /* Define if sigaltstack() interprets the stack_t.ss_sp field incorrectly, as
2255 the highest address of the alternate stack range rather than as the lowest
2256 address. */
2257 #undef SIGALTSTACK_SS_REVERSED
2258
2259 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
2260 'sig_atomic_t'. */
2261 #undef SIG_ATOMIC_T_SUFFIX
2262
2263 /* Define as the maximum value of type 'size_t', if the system doesn't define
2264 it. */
2265 #ifndef SIZE_MAX
2266 # undef SIZE_MAX
2267 #endif
2268
2269 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
2270 'size_t'. */
2271 #undef SIZE_T_SUFFIX
2272
2273 /* Define on Solaris 11 and its derivates. */
2274 #undef SOLARIS11
2275
2276 /* Define as the direction of stack growth for your system. STACK_DIRECTION >
2277 0 => grows toward higher addresses STACK_DIRECTION < 0 => grows toward
2278 lower addresses STACK_DIRECTION = 0 => spaghetti stack. */
2279 #undef STACK_DIRECTION
2280
2281 /* Define to 1 if the 'S_IS*' macros in <sys/stat.h> do not work properly. */
2282 #undef STAT_MACROS_BROKEN
2283
2284 /* Define to 1 if all of the C89 standard headers exist (not just the ones
2285 required in a freestanding environment). This macro is provided for
2286 backward compatibility; new code need not use it. */
2287 #undef STDC_HEADERS
2288
2289 /* Define to 1 if strerror_r returns char *. */
2290 #undef STRERROR_R_CHAR_P
2291
2292 /* Define to 1 if time_t is signed. */
2293 #undef TIME_T_IS_SIGNED
2294
2295 /* Define to 1 if the type of the st_atim member of a struct stat is struct
2296 timespec. */
2297 #undef TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC
2298
2299 /* Define to 1 if unlink (dir) cannot possibly succeed. */
2300 #undef UNLINK_CANNOT_UNLINK_DIR
2301
2302 /* Define to 1 if unlink() on a parent directory may succeed */
2303 #undef UNLINK_PARENT_BUG
2304
2305 /* Define if the combination of the ISO C and POSIX multithreading APIs can be
2306 used. */
2307 #undef USE_ISOC_AND_POSIX_THREADS
2308
2309 /* Define if the ISO C multithreading library can be used. */
2310 #undef USE_ISOC_THREADS
2311
2312 /* Define to enable the declarations of ISO C 23 Annex K types and functions. */
2313 #if !(defined __STDC_WANT_LIB_EXT1__ && __STDC_WANT_LIB_EXT1__)
2314 #undef/**/__STDC_WANT_LIB_EXT1__
2315 #define __STDC_WANT_LIB_EXT1__ 1
2316 #endif
2317
2318
2319 /* Define if the POSIX multithreading library can be used. */
2320 #undef USE_POSIX_THREADS
2321
2322 /* Define if references to the POSIX multithreading library are satisfied by
2323 libc. */
2324 #undef USE_POSIX_THREADS_FROM_LIBC
2325
2326 /* Define if references to the POSIX multithreading library should be made
2327 weak. */
2328 #undef USE_POSIX_THREADS_WEAK
2329
2330 /* Enable extensions on AIX, Interix, z/OS. */
2331 #ifndef _ALL_SOURCE
2332 # undef _ALL_SOURCE
2333 #endif
2334 /* Enable extensions on Cosmopolitan Libc. */
2335 #ifndef _COSMO_SOURCE
2336 # undef _COSMO_SOURCE
2337 #endif
2338 /* Enable general extensions on macOS. */
2339 #ifndef _DARWIN_C_SOURCE
2340 # undef _DARWIN_C_SOURCE
2341 #endif
2342 /* Enable general extensions on Solaris. */
2343 #ifndef __EXTENSIONS__
2344 # undef __EXTENSIONS__
2345 #endif
2346 /* Enable GNU extensions on systems that have them. */
2347 #ifndef _GNU_SOURCE
2348 # undef _GNU_SOURCE
2349 #endif
2350 /* Enable X/Open compliant socket functions that do not require linking
2351 with -lxnet on HP-UX 11.11. */
2352 #ifndef _HPUX_ALT_XOPEN_SOCKET_API
2353 # undef _HPUX_ALT_XOPEN_SOCKET_API
2354 #endif
2355 /* Identify the host operating system as Minix.
2356 This macro does not affect the system headers' behavior.
2357 A future release of Autoconf may stop defining this macro. */
2358 #ifndef _MINIX
2359 # undef _MINIX
2360 #endif
2361 /* Enable general extensions on NetBSD.
2362 Enable NetBSD compatibility extensions on Minix. */
2363 #ifndef _NETBSD_SOURCE
2364 # undef _NETBSD_SOURCE
2365 #endif
2366 /* Enable OpenBSD compatibility extensions on NetBSD.
2367 Oddly enough, this does nothing on OpenBSD. */
2368 #ifndef _OPENBSD_SOURCE
2369 # undef _OPENBSD_SOURCE
2370 #endif
2371 /* Define to 1 if needed for POSIX-compatible behavior. */
2372 #ifndef _POSIX_SOURCE
2373 # undef _POSIX_SOURCE
2374 #endif
2375 /* Define to 2 if needed for POSIX-compatible behavior. */
2376 #ifndef _POSIX_1_SOURCE
2377 # undef _POSIX_1_SOURCE
2378 #endif
2379 /* Enable POSIX-compatible threading on Solaris. */
2380 #ifndef _POSIX_PTHREAD_SEMANTICS
2381 # undef _POSIX_PTHREAD_SEMANTICS
2382 #endif
2383 /* Enable extensions specified by ISO/IEC TS 18661-5:2014. */
2384 #ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__
2385 # undef __STDC_WANT_IEC_60559_ATTRIBS_EXT__
2386 #endif
2387 /* Enable extensions specified by ISO/IEC TS 18661-1:2014. */
2388 #ifndef __STDC_WANT_IEC_60559_BFP_EXT__
2389 # undef __STDC_WANT_IEC_60559_BFP_EXT__
2390 #endif
2391 /* Enable extensions specified by ISO/IEC TS 18661-2:2015. */
2392 #ifndef __STDC_WANT_IEC_60559_DFP_EXT__
2393 # undef __STDC_WANT_IEC_60559_DFP_EXT__
2394 #endif
2395 /* Enable extensions specified by C23 Annex F. */
2396 #ifndef __STDC_WANT_IEC_60559_EXT__
2397 # undef __STDC_WANT_IEC_60559_EXT__
2398 #endif
2399 /* Enable extensions specified by ISO/IEC TS 18661-4:2015. */
2400 #ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__
2401 # undef __STDC_WANT_IEC_60559_FUNCS_EXT__
2402 #endif
2403 /* Enable extensions specified by C23 Annex H and ISO/IEC TS 18661-3:2015. */
2404 #ifndef __STDC_WANT_IEC_60559_TYPES_EXT__
2405 # undef __STDC_WANT_IEC_60559_TYPES_EXT__
2406 #endif
2407 /* Enable extensions specified by ISO/IEC TR 24731-2:2010. */
2408 #ifndef __STDC_WANT_LIB_EXT2__
2409 # undef __STDC_WANT_LIB_EXT2__
2410 #endif
2411 /* Enable extensions specified by ISO/IEC 24747:2009. */
2412 #ifndef __STDC_WANT_MATH_SPEC_FUNCS__
2413 # undef __STDC_WANT_MATH_SPEC_FUNCS__
2414 #endif
2415 /* Enable extensions on HP NonStop. */
2416 #ifndef _TANDEM_SOURCE
2417 # undef _TANDEM_SOURCE
2418 #endif
2419 /* Enable X/Open extensions. Define to 500 only if necessary
2420 to make mbstate_t available. */
2421 #ifndef _XOPEN_SOURCE
2422 # undef _XOPEN_SOURCE
2423 #endif
2424
2425
2426 /* An alias of GNULIB_STDIO_SINGLE_THREAD. */
2427 #undef USE_UNLOCKED_IO
2428
2429 /* Define if the native Windows multithreading API can be used. */
2430 #undef USE_WINDOWS_THREADS
2431
2432 /* Version number of package */
2433 #undef VERSION
2434
2435 /* Define to 1 if unsetenv returns void instead of int. */
2436 #undef VOID_UNSETENV
2437
2438 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
2439 'wchar_t'. */
2440 #undef WCHAR_T_SUFFIX
2441
2442 /* Define if the wcrtomb function does not work in the C locale. */
2443 #undef WCRTOMB_C_LOCALE_BUG
2444
2445 /* Define if the wcrtomb function has an incorrect return value. */
2446 #undef WCRTOMB_RETVAL_BUG
2447
2448 /* Define if WSAStartup is needed. */
2449 #undef WINDOWS_SOCKETS
2450
2451 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
2452 'wint_t'. */
2453 #undef WINT_T_SUFFIX
2454
2455 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
2456 significant byte first (like Motorola and SPARC, unlike Intel). */
2457 #if defined AC_APPLE_UNIVERSAL_BUILD
2458 # if defined __BIG_ENDIAN__
2459 # define WORDS_BIGENDIAN 1
2460 # endif
2461 #else
2462 # ifndef WORDS_BIGENDIAN
2463 # undef WORDS_BIGENDIAN
2464 # endif
2465 #endif
2466
2467 /* Number of bits in a file offset, on hosts where this is settable. */
2468 #undef _FILE_OFFSET_BITS
2469
2470 /* True if the compiler says it groks GNU C version MAJOR.MINOR.
2471 Except that
2472 - clang groks GNU C 4.2, even on Windows, where it does not define
2473 __GNUC__.
2474 - The OpenMandriva-modified clang compiler pretends that it groks
2475 GNU C version 13.1, but it doesn't: It does not support
2476 __attribute__ ((__malloc__ (f, i))), nor does it support
2477 __attribute__ ((__warning__ (message))) on a function redeclaration.
2478 - Users can make clang lie as well, through the -fgnuc-version option. */
2479 #if defined __GNUC__ && defined __GNUC_MINOR__ && !defined __clang__
2480 # define _GL_GNUC_PREREQ(major, minor) \
2481 ((major) < __GNUC__ + ((minor) <= __GNUC_MINOR__))
2482 #elif defined __clang__
2483 /* clang really only groks GNU C 4.2. */
2484 # define _GL_GNUC_PREREQ(major, minor) \
2485 ((major) < 4 + ((minor) <= 2))
2486 #else
2487 # define _GL_GNUC_PREREQ(major, minor) 0
2488 #endif
2489
2490
2491 /* Define to enable the declarations of ISO C 11 types and functions. */
2492 #undef _ISOC11_SOURCE
2493
2494 /* Define to 1 on platforms where this makes off_t a 64-bit type. */
2495 #undef _LARGE_FILES
2496
2497 /* Define to 1 on Solaris. */
2498 #undef _LCONV_C99
2499
2500 /* Define so that AIX headers are more compatible with GNU/Linux. */
2501 #undef _LINUX_SOURCE_COMPAT
2502
2503 /* The _Noreturn keyword of C11. */
2504 #ifndef _Noreturn
2505 # if (defined __cplusplus \
2506 && ((201103 <= __cplusplus && !(__GNUC__ == 4 && __GNUC_MINOR__ == 7)) \
2507 || (defined _MSC_VER && 1900 <= _MSC_VER)) \
2508 && 0)
2509 /* [[noreturn]] is not practically usable, because with it the syntax
2510 extern _Noreturn void func (...);
2511 would not be valid; such a declaration would only be valid with 'extern'
2512 and '_Noreturn' swapped, or without the 'extern' keyword. However, some
2513 AIX system header files and several gnulib header files use precisely
2514 this syntax with 'extern'. */
2515 # define _Noreturn [[noreturn]]
2516 # elif (defined __clang__ && __clang_major__ < 16 \
2517 && defined _GL_WORK_AROUND_LLVM_BUG_59792)
2518 /* Compile with -D_GL_WORK_AROUND_LLVM_BUG_59792 to work around
2519 that rare LLVM bug, though you may get many false-alarm warnings. */
2520 # define _Noreturn
2521 # elif ((!defined __cplusplus || defined __clang__) \
2522 && (201112 <= (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) \
2523 || (!defined __STRICT_ANSI__ \
2524 && (_GL_GNUC_PREREQ (4, 7) \
2525 || (defined __apple_build_version__ \
2526 ? 6000000 <= __apple_build_version__ \
2527 : 3 < __clang_major__ + (5 <= __clang_minor__))))))
2528 /* _Noreturn works as-is. */
2529 # elif _GL_GNUC_PREREQ (2, 8) || defined __clang__ || 0x5110 <= __SUNPRO_C
2530 # define _Noreturn __attribute__ ((__noreturn__))
2531 # elif 1200 <= (defined _MSC_VER ? _MSC_VER : 0)
2532 # define _Noreturn __declspec (noreturn)
2533 # else
2534 # define _Noreturn
2535 # endif
2536 #endif
2537
2538
2539 /* Define to 1 in order to get the POSIX compatible declarations of socket
2540 functions. */
2541 #undef _POSIX_PII_SOCKET
2542
2543 /* Define if you want <regex.h> to include <limits.h>, so that it consistently
2544 overrides <limits.h>'s RE_DUP_MAX. */
2545 #undef _REGEX_INCLUDE_LIMITS_H
2546
2547 /* Define if you want regoff_t to be at least as wide POSIX requires. */
2548 #undef _REGEX_LARGE_OFFSETS
2549
2550 /* Number of bits in time_t, on hosts where this is settable. */
2551 #undef _TIME_BITS
2552
2553 /* For standard stat data types on VMS. */
2554 #undef _USE_STD_STAT
2555
2556 /* Define to rpl_ if the getopt replacement functions and variables should be
2557 used. */
2558 #undef __GETOPT_PREFIX
2559
2560 /* Define to 1 on platforms where this makes time_t a 64-bit type. */
2561 #undef __MINGW_USE_VC2005_COMPAT
2562
2563 /* Define to 1 if the system <stdint.h> predates C++11. */
2564 #undef __STDC_CONSTANT_MACROS
2565
2566 /* Define to 1 if the system <stdint.h> predates C++11. */
2567 #undef __STDC_LIMIT_MACROS
2568
2569 /* Define to 1 if C does not support variable-length arrays, and if the
2570 compiler does not already define this. */
2571 #undef __STDC_NO_VLA__
2572
2573 /* The _GL_ASYNC_SAFE marker should be attached to functions that are
2574 signal handlers (for signals other than SIGABRT, SIGPIPE) or can be
2575 invoked from such signal handlers. Such functions have some restrictions:
2576 * All functions that it calls should be marked _GL_ASYNC_SAFE as well,
2577 or should be listed as async-signal-safe in POSIX
2578 <https://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_04>
2579 section 2.4.3. Note that malloc(), sprintf(), and fwrite(), in
2580 particular, are NOT async-signal-safe.
2581 * All memory locations (variables and struct fields) that these functions
2582 access must be marked 'volatile'. This holds for both read and write
2583 accesses. Otherwise the compiler might optimize away stores to and
2584 reads from such locations that occur in the program, depending on its
2585 data flow analysis. For example, when the program contains a loop
2586 that is intended to inspect a variable set from within a signal handler
2587 while (!signal_occurred)
2588 ;
2589 the compiler is allowed to transform this into an endless loop if the
2590 variable 'signal_occurred' is not declared 'volatile'.
2591 Additionally, recall that:
2592 * A signal handler should not modify errno (except if it is a handler
2593 for a fatal signal and ends by raising the same signal again, thus
2594 provoking the termination of the process). If it invokes a function
2595 that may clobber errno, it needs to save and restore the value of
2596 errno. */
2597 #define _GL_ASYNC_SAFE
2598
2599
2600 /* Attributes. */
2601 /* Define _GL_HAS_ATTRIBUTE only once, because on FreeBSD, with gcc < 5, if
2602 <config.h> gets included once again after <sys/cdefs.h>, __has_attribute(x)
2603 expands to 0 always, and redefining _GL_HAS_ATTRIBUTE would turn off all
2604 attributes. */
2605 #ifndef _GL_HAS_ATTRIBUTE
2606 # if (defined __has_attribute \
2607 && (!defined __clang_minor__ \
2608 || (defined __apple_build_version__ \
2609 ? 7000000 <= __apple_build_version__ \
2610 : 5 <= __clang_major__)))
2611 # define _GL_HAS_ATTRIBUTE(attr) __has_attribute (__##attr##__)
2612 # else
2613 # define _GL_HAS_ATTRIBUTE(attr) _GL_ATTR_##attr
2614 # define _GL_ATTR_alloc_size _GL_GNUC_PREREQ (4, 3)
2615 # define _GL_ATTR_always_inline _GL_GNUC_PREREQ (3, 2)
2616 # define _GL_ATTR_artificial _GL_GNUC_PREREQ (4, 3)
2617 # define _GL_ATTR_cold _GL_GNUC_PREREQ (4, 3)
2618 # define _GL_ATTR_const _GL_GNUC_PREREQ (2, 95)
2619 # define _GL_ATTR_deprecated _GL_GNUC_PREREQ (3, 1)
2620 # define _GL_ATTR_diagnose_if 0
2621 # define _GL_ATTR_error _GL_GNUC_PREREQ (4, 3)
2622 # define _GL_ATTR_externally_visible _GL_GNUC_PREREQ (4, 1)
2623 # define _GL_ATTR_fallthrough _GL_GNUC_PREREQ (7, 0)
2624 # define _GL_ATTR_format _GL_GNUC_PREREQ (2, 7)
2625 # define _GL_ATTR_leaf _GL_GNUC_PREREQ (4, 6)
2626 # define _GL_ATTR_malloc _GL_GNUC_PREREQ (3, 0)
2627 # ifdef _ICC
2628 # define _GL_ATTR_may_alias 0
2629 # else
2630 # define _GL_ATTR_may_alias _GL_GNUC_PREREQ (3, 3)
2631 # endif
2632 # define _GL_ATTR_noinline _GL_GNUC_PREREQ (3, 1)
2633 # define _GL_ATTR_nonnull _GL_GNUC_PREREQ (3, 3)
2634 # define _GL_ATTR_nonstring _GL_GNUC_PREREQ (8, 0)
2635 # define _GL_ATTR_nothrow _GL_GNUC_PREREQ (3, 3)
2636 # define _GL_ATTR_packed _GL_GNUC_PREREQ (2, 7)
2637 # define _GL_ATTR_pure _GL_GNUC_PREREQ (2, 96)
2638 # define _GL_ATTR_reproducible 0 /* not yet supported, as of GCC 14 */
2639 # define _GL_ATTR_returns_nonnull _GL_GNUC_PREREQ (4, 9)
2640 # define _GL_ATTR_sentinel _GL_GNUC_PREREQ (4, 0)
2641 # define _GL_ATTR_unsequenced 0 /* not yet supported, as of GCC 14 */
2642 # define _GL_ATTR_unused _GL_GNUC_PREREQ (2, 7)
2643 # define _GL_ATTR_warn_unused_result _GL_GNUC_PREREQ (3, 4)
2644 # endif
2645 #endif
2646
2647 /* Use __has_c_attribute if available. However, do not use with
2648 pre-C23 GCC, which can issue false positives if -Wpedantic. */
2649 #if (defined __has_c_attribute \
2650 && ! (_GL_GNUC_PREREQ (4, 6) \
2651 && (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) <= 201710))
2652 # define _GL_HAVE___HAS_C_ATTRIBUTE 1
2653 #else
2654 # define _GL_HAVE___HAS_C_ATTRIBUTE 0
2655 #endif
2656
2657 /* Attributes in bracket syntax [[...]] vs. attributes in __attribute__((...))
2658 syntax, in function declarations. There are two problems here.
2659 (Last tested with gcc/g++ 14 and clang/clang++ 18.)
2660
2661 1) We want that the _GL_ATTRIBUTE_* can be cumulated on the same declaration
2662 in any order.
2663 =========================== foo.c = foo.cc ===========================
2664 __attribute__ ((__deprecated__)) [[__nodiscard__]] int bar1 (int);
2665 [[__nodiscard__]] __attribute__ ((__deprecated__)) int bar2 (int);
2666 ======================================================================
2667 This gives a syntax error
2668 - in C mode with gcc
2669 <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108796>, and
2670 - in C++ mode with clang++ version < 16, and
2671 - in C++ mode, inside extern "C" {}, still in newer clang++ versions
2672 <https://github.com/llvm/llvm-project/issues/101990>.
2673 */
2674 /* Define if, in a function declaration, the attributes in bracket syntax
2675 [[...]] must come before the attributes in __attribute__((...)) syntax.
2676 If this is defined, it is best to avoid the bracket syntax, so that the
2677 various _GL_ATTRIBUTE_* can be cumulated on the same declaration in any
2678 order. */
2679 #ifdef __cplusplus
2680 # if defined __clang__
2681 # define _GL_BRACKET_BEFORE_ATTRIBUTE 1
2682 # endif
2683 #else
2684 # if defined __GNUC__ && !defined __clang__
2685 # define _GL_BRACKET_BEFORE_ATTRIBUTE 1
2686 # endif
2687 #endif
2688 /*
2689 2) We want that the _GL_ATTRIBUTE_* can be placed in a declaration
2690 - without 'extern', in C as well as in C++,
2691 - with 'extern', in C,
2692 - with 'extern "C"', in C++
2693 in the same position. That is, we don't want to be forced to use a
2694 macro which arranges for the attribute to come before 'extern' in
2695 one case and after 'extern' in the other case, because such a macro
2696 would make the source code of .h files pretty ugly.
2697 =========================== foo.c = foo.cc ===========================
2698 #ifdef __cplusplus
2699 # define CC "C"
2700 #else
2701 # define CC
2702 #endif
2703
2704 #define ND [[__nodiscard__]]
2705 #define WUR __attribute__((__warn_unused_result__))
2706
2707 #ifdef __cplusplus
2708 extern "C" {
2709 #endif
2710 // gcc clang g++ clang++
2711
2712 ND int foo (int);
2713 int ND foo (int); // warn error warn error
2714 int foo ND (int);
2715 int foo (int) ND; // warn error warn error
2716
2717 WUR int foo (int);
2718 int WUR foo (int);
2719 int fo1 WUR (int); // error error error error
2720 int foo (int) WUR;
2721
2722 #ifdef __cplusplus
2723 }
2724 #endif
2725
2726 // gcc clang g++ clang++
2727
2728 ND extern CC int foo (int); // error error
2729 extern CC ND int foo (int); // error error
2730 extern CC int ND foo (int); // warn error warn error
2731 extern CC int foo ND (int);
2732 extern CC int foo (int) ND; // warn error warn error
2733
2734 WUR extern CC int foo (int); // warn
2735 extern CC WUR int foo (int);
2736 extern CC int WUR foo (int);
2737 extern CC int foo WUR (int); // error error error error
2738 extern CC int foo (int) WUR;
2739
2740 ND EXTERN_C_FUNC int foo (int); // error error
2741 EXTERN_C_FUNC ND int foo (int);
2742 EXTERN_C_FUNC int ND foo (int); // warn error warn error
2743 EXTERN_C_FUNC int foo ND (int);
2744 EXTERN_C_FUNC int foo (int) ND; // warn error warn error
2745
2746 WUR EXTERN_C_FUNC int foo (int); // warn
2747 EXTERN_C_FUNC WUR int foo (int);
2748 EXTERN_C_FUNC int WUR foo (int);
2749 EXTERN_C_FUNC int fo2 WUR (int); // error error error error
2750 EXTERN_C_FUNC int foo (int) WUR;
2751 ======================================================================
2752 So, if we insist on using the 'extern' keyword ('extern CC' idiom):
2753 * If _GL_ATTRIBUTE_* expands to bracket syntax [[...]]
2754 in both C and C++, there is one available position:
2755 - between the function name and the parameter list.
2756 * If _GL_ATTRIBUTE_* expands to __attribute__((...)) syntax
2757 in both C and C++, there are several available positions:
2758 - before the return type,
2759 - between return type and function name,
2760 - at the end of the declaration.
2761 * If _GL_ATTRIBUTE_* expands to bracket syntax [[...]] in C and to
2762 __attribute__((...)) syntax in C++, there is no available position:
2763 it would need to come before 'extern' in C but after 'extern "C"'
2764 in C++.
2765 * If _GL_ATTRIBUTE_* expands to __attribute__((...)) syntax in C and
2766 to bracket syntax [[...]] in C++, there is one available position:
2767 - before the return type.
2768 Whereas, if we use the 'EXTERN_C_FUNC' idiom, which conditionally
2769 omits the 'extern' keyword:
2770 * If _GL_ATTRIBUTE_* expands to bracket syntax [[...]]
2771 in both C and C++, there are two available positions:
2772 - before the return type,
2773 - between the function name and the parameter list.
2774 * If _GL_ATTRIBUTE_* expands to __attribute__((...)) syntax
2775 in both C and C++, there are several available positions:
2776 - before the return type,
2777 - between return type and function name,
2778 - at the end of the declaration.
2779 * If _GL_ATTRIBUTE_* expands to bracket syntax [[...]] in C and to
2780 __attribute__((...)) syntax in C++, there is one available position:
2781 - before the return type.
2782 * If _GL_ATTRIBUTE_* expands to __attribute__((...)) syntax in C and
2783 to bracket syntax [[...]] in C++, there is one available position:
2784 - before the return type.
2785 The best choice is therefore to use the 'EXTERN_C_FUNC' idiom and
2786 put the attributes before the return type. This works regardless
2787 to what the _GL_ATTRIBUTE_* macros expand.
2788 */
2789
2790 /* Attributes in bracket syntax [[...]] vs. attributes in __attribute__((...))
2791 syntax, in static/inline function definitions.
2792
2793 There are similar constraints as for function declarations. However, here,
2794 we cannot omit the storage-class specifier. Therefore, the following rule
2795 applies:
2796 * The macros
2797 _GL_ATTRIBUTE_CONST
2798 _GL_ATTRIBUTE_DEPRECATED
2799 _GL_ATTRIBUTE_MAYBE_UNUSED
2800 _GL_ATTRIBUTE_NODISCARD
2801 _GL_ATTRIBUTE_PURE
2802 _GL_ATTRIBUTE_REPRODUCIBLE
2803 _GL_ATTRIBUTE_UNSEQUENCED
2804 which may expand to bracket syntax [[...]], must come first, before the
2805 storage-class specifier.
2806 * Other _GL_ATTRIBUTE_* macros, that expand to __attribute__((...)) syntax,
2807 are better placed between the storage-class specifier and the return
2808 type.
2809 */
2810
2811 /* Attributes in bracket syntax [[...]] vs. attributes in __attribute__((...))
2812 syntax, in variable declarations.
2813
2814 At which position can they be placed?
2815 (Last tested with gcc/g++ 14 and clang/clang++ 18.)
2816
2817 =========================== foo.c = foo.cc ===========================
2818 #ifdef __cplusplus
2819 # define CC "C"
2820 #else
2821 # define CC
2822 #endif
2823
2824 #define BD [[__deprecated__]]
2825 #define AD __attribute__ ((__deprecated__))
2826
2827 // gcc clang g++ clang++
2828
2829 BD extern CC int var; // error error
2830 extern CC BD int var; // error error
2831 extern CC int BD var; // warn error warn error
2832 extern CC int var BD;
2833
2834 AD extern CC int var; // warn
2835 extern CC AD int var;
2836 extern CC int AD var;
2837 extern CC int var AD;
2838
2839 BD extern CC int z[]; // error error
2840 extern CC BD int z[]; // error error
2841 extern CC int BD z[]; // warn error warn error
2842 extern CC int z1 BD [];
2843 extern CC int z[] BD; // warn error error
2844
2845 AD extern CC int z[]; // warn
2846 extern CC AD int z[];
2847 extern CC int AD z[];
2848 extern CC int z2 AD []; // error error error error
2849 extern CC int z[] AD;
2850 ======================================================================
2851
2852 * For non-array variables, the only good position is after the variable name,
2853 that is, at the end of the declaration.
2854 * For array variables, you will need to distinguish C and C++:
2855 - In C, before the 'extern' keyword.
2856 - In C++, between the 'extern "C"' and the variable's type.
2857 */
2858
2859 /* _GL_ATTRIBUTE_ALLOC_SIZE ((N)) declares that the Nth argument of the function
2860 is the size of the returned memory block.
2861 _GL_ATTRIBUTE_ALLOC_SIZE ((M, N)) declares that the Mth argument multiplied
2862 by the Nth argument of the function is the size of the returned memory block.
2863 */
2864 /* Applies to: functions, pointer to functions, function types. */
2865 #ifndef _GL_ATTRIBUTE_ALLOC_SIZE
2866 # if _GL_HAS_ATTRIBUTE (alloc_size)
2867 # define _GL_ATTRIBUTE_ALLOC_SIZE(args) __attribute__ ((__alloc_size__ args))
2868 # else
2869 # define _GL_ATTRIBUTE_ALLOC_SIZE(args)
2870 # endif
2871 #endif
2872
2873 /* _GL_ATTRIBUTE_ALWAYS_INLINE tells that the compiler should always inline the
2874 function and report an error if it cannot do so. */
2875 /* Applies to: functions. */
2876 #ifndef _GL_ATTRIBUTE_ALWAYS_INLINE
2877 # if _GL_HAS_ATTRIBUTE (always_inline)
2878 # define _GL_ATTRIBUTE_ALWAYS_INLINE __attribute__ ((__always_inline__))
2879 # else
2880 # define _GL_ATTRIBUTE_ALWAYS_INLINE
2881 # endif
2882 #endif
2883
2884 /* _GL_ATTRIBUTE_ARTIFICIAL declares that the function is not important to show
2885 in stack traces when debugging. The compiler should omit the function from
2886 stack traces. */
2887 /* Applies to: functions. */
2888 #ifndef _GL_ATTRIBUTE_ARTIFICIAL
2889 # if _GL_HAS_ATTRIBUTE (artificial)
2890 # define _GL_ATTRIBUTE_ARTIFICIAL __attribute__ ((__artificial__))
2891 # else
2892 # define _GL_ATTRIBUTE_ARTIFICIAL
2893 # endif
2894 #endif
2895
2896 /* _GL_ATTRIBUTE_COLD declares that the function is rarely executed. */
2897 /* Applies to: functions. */
2898 /* Avoid __attribute__ ((cold)) on MinGW; see thread starting at
2899 <https://lists.gnu.org/r/emacs-devel/2019-04/msg01152.html>.
2900 Also, Oracle Studio 12.6 requires 'cold' not '__cold__'. */
2901 #ifndef _GL_ATTRIBUTE_COLD
2902 # if _GL_HAS_ATTRIBUTE (cold) && !defined __MINGW32__
2903 # ifndef __SUNPRO_C
2904 # define _GL_ATTRIBUTE_COLD __attribute__ ((__cold__))
2905 # else
2906 # define _GL_ATTRIBUTE_COLD __attribute__ ((cold))
2907 # endif
2908 # else
2909 # define _GL_ATTRIBUTE_COLD
2910 # endif
2911 #endif
2912
2913 /* _GL_ATTRIBUTE_CONST declares:
2914 It is OK for a compiler to move calls to the function and to omit
2915 calls to the function if another call has the same arguments or the
2916 result is not used.
2917 This attribute is safe for a function that neither depends on
2918 nor affects state, and always returns exactly once -
2919 e.g., does not raise an exception, call longjmp, or loop forever.
2920 (This attribute is stricter than _GL_ATTRIBUTE_PURE because the
2921 function cannot observe state. It is stricter than
2922 _GL_ATTRIBUTE_UNSEQUENCED because the function must return exactly
2923 once and cannot depend on state addressed by its arguments.) */
2924 /* Applies to: functions. */
2925 #ifndef _GL_ATTRIBUTE_CONST
2926 # if _GL_HAS_ATTRIBUTE (const)
2927 # define _GL_ATTRIBUTE_CONST __attribute__ ((__const__))
2928 # else
2929 # define _GL_ATTRIBUTE_CONST _GL_ATTRIBUTE_UNSEQUENCED
2930 # endif
2931 #endif
2932
2933 /* _GL_ATTRIBUTE_DEALLOC (F, I) declares that the function returns pointers
2934 that can be freed by passing them as the Ith argument to the
2935 function F.
2936 _GL_ATTRIBUTE_DEALLOC_FREE declares that the function returns pointers that
2937 can be freed via 'free'; it can be used only after declaring 'free'. */
2938 /* Applies to: functions. Cannot be used on inline functions. */
2939 #ifndef _GL_ATTRIBUTE_DEALLOC
2940 # if _GL_GNUC_PREREQ (11, 0)
2941 # define _GL_ATTRIBUTE_DEALLOC(f, i) __attribute__ ((__malloc__ (f, i)))
2942 # else
2943 # define _GL_ATTRIBUTE_DEALLOC(f, i)
2944 # endif
2945 #endif
2946 /* If gnulib's <string.h> or <wchar.h> has already defined this macro, continue
2947 to use this earlier definition, since <stdlib.h> may not have been included
2948 yet. */
2949 #ifndef _GL_ATTRIBUTE_DEALLOC_FREE
2950 # if defined __cplusplus && defined __GNUC__ && !defined __clang__
2951 /* Work around GCC bug <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108231> */
2952 # define _GL_ATTRIBUTE_DEALLOC_FREE \
2953 _GL_ATTRIBUTE_DEALLOC ((void (*) (void *)) free, 1)
2954 # else
2955 # define _GL_ATTRIBUTE_DEALLOC_FREE \
2956 _GL_ATTRIBUTE_DEALLOC (free, 1)
2957 # endif
2958 #endif
2959
2960 /* _GL_ATTRIBUTE_DEPRECATED: Declares that an entity is deprecated.
2961 The compiler may warn if the entity is used. */
2962 /* Applies to:
2963 - function, variable,
2964 - struct, union, struct/union member,
2965 - enumeration, enumeration item,
2966 - typedef,
2967 in C++ also: namespace, class, template specialization. */
2968 #ifndef _GL_ATTRIBUTE_DEPRECATED
2969 # ifndef _GL_BRACKET_BEFORE_ATTRIBUTE
2970 # if _GL_HAVE___HAS_C_ATTRIBUTE
2971 # if __has_c_attribute (__deprecated__)
2972 # define _GL_ATTRIBUTE_DEPRECATED [[__deprecated__]]
2973 # endif
2974 # endif
2975 # endif
2976 # if !defined _GL_ATTRIBUTE_DEPRECATED && _GL_HAS_ATTRIBUTE (deprecated)
2977 # define _GL_ATTRIBUTE_DEPRECATED __attribute__ ((__deprecated__))
2978 # endif
2979 # ifndef _GL_ATTRIBUTE_DEPRECATED
2980 # define _GL_ATTRIBUTE_DEPRECATED
2981 # endif
2982 #endif
2983
2984 /* _GL_ATTRIBUTE_ERROR(msg) requests an error if a function is called and
2985 the function call is not optimized away.
2986 _GL_ATTRIBUTE_WARNING(msg) requests a warning if a function is called and
2987 the function call is not optimized away. */
2988 /* Applies to: functions. */
2989 #if !(defined _GL_ATTRIBUTE_ERROR && defined _GL_ATTRIBUTE_WARNING)
2990 # if _GL_HAS_ATTRIBUTE (error)
2991 # define _GL_ATTRIBUTE_ERROR(msg) __attribute__ ((__error__ (msg)))
2992 # define _GL_ATTRIBUTE_WARNING(msg) __attribute__ ((__warning__ (msg)))
2993 # elif _GL_HAS_ATTRIBUTE (diagnose_if)
2994 # define _GL_ATTRIBUTE_ERROR(msg) __attribute__ ((__diagnose_if__ (1, msg, "error")))
2995 # define _GL_ATTRIBUTE_WARNING(msg) __attribute__ ((__diagnose_if__ (1, msg, "warning")))
2996 # else
2997 # define _GL_ATTRIBUTE_ERROR(msg)
2998 # define _GL_ATTRIBUTE_WARNING(msg)
2999 # endif
3000 #endif
3001
3002 /* _GL_ATTRIBUTE_EXTERNALLY_VISIBLE declares that the entity should remain
3003 visible to debuggers etc., even with '-fwhole-program'. */
3004 /* Applies to: functions, variables. */
3005 #ifndef _GL_ATTRIBUTE_EXTERNALLY_VISIBLE
3006 # if _GL_HAS_ATTRIBUTE (externally_visible)
3007 # define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE __attribute__ ((externally_visible))
3008 # else
3009 # define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE
3010 # endif
3011 #endif
3012
3013 /* _GL_ATTRIBUTE_FALLTHROUGH declares that it is not a programming mistake if
3014 the control flow falls through to the immediately following 'case' or
3015 'default' label. The compiler should not warn in this case. */
3016 /* Applies to: Empty statement (;), inside a 'switch' statement. */
3017 /* Always expands to something. */
3018 #ifndef _GL_ATTRIBUTE_FALLTHROUGH
3019 # if _GL_HAVE___HAS_C_ATTRIBUTE
3020 # if __has_c_attribute (__fallthrough__)
3021 # define _GL_ATTRIBUTE_FALLTHROUGH [[__fallthrough__]]
3022 # endif
3023 # endif
3024 # if !defined _GL_ATTRIBUTE_FALLTHROUGH && _GL_HAS_ATTRIBUTE (fallthrough)
3025 # define _GL_ATTRIBUTE_FALLTHROUGH __attribute__ ((__fallthrough__))
3026 # endif
3027 # ifndef _GL_ATTRIBUTE_FALLTHROUGH
3028 # define _GL_ATTRIBUTE_FALLTHROUGH ((void) 0)
3029 # endif
3030 #endif
3031
3032 /* _GL_ATTRIBUTE_FORMAT ((ARCHETYPE, STRING-INDEX, FIRST-TO-CHECK))
3033 declares that the STRING-INDEXth function argument is a format string of
3034 style ARCHETYPE, which is one of:
3035 printf, gnu_printf
3036 scanf, gnu_scanf,
3037 strftime, gnu_strftime,
3038 strfmon,
3039 or the same thing prefixed and suffixed with '__'.
3040 If FIRST-TO-CHECK is not 0, arguments starting at FIRST-TO_CHECK
3041 are suitable for the format string. */
3042 /* Applies to: functions. */
3043 #ifndef _GL_ATTRIBUTE_FORMAT
3044 # if _GL_HAS_ATTRIBUTE (format)
3045 # define _GL_ATTRIBUTE_FORMAT(spec) __attribute__ ((__format__ spec))
3046 # else
3047 # define _GL_ATTRIBUTE_FORMAT(spec)
3048 # endif
3049 #endif
3050
3051 /* _GL_ATTRIBUTE_LEAF declares that if the function is called from some other
3052 compilation unit, it executes code from that unit only by return or by
3053 exception handling. This declaration lets the compiler optimize that unit
3054 more aggressively. */
3055 /* Applies to: functions. */
3056 #ifndef _GL_ATTRIBUTE_LEAF
3057 # if _GL_HAS_ATTRIBUTE (leaf)
3058 # define _GL_ATTRIBUTE_LEAF __attribute__ ((__leaf__))
3059 # else
3060 # define _GL_ATTRIBUTE_LEAF
3061 # endif
3062 #endif
3063
3064 /* _GL_ATTRIBUTE_MALLOC declares that the function returns a pointer to freshly
3065 allocated memory. */
3066 /* Applies to: functions. */
3067 #ifndef _GL_ATTRIBUTE_MALLOC
3068 # if _GL_HAS_ATTRIBUTE (malloc)
3069 # define _GL_ATTRIBUTE_MALLOC __attribute__ ((__malloc__))
3070 # else
3071 # define _GL_ATTRIBUTE_MALLOC
3072 # endif
3073 #endif
3074
3075 /* _GL_ATTRIBUTE_MAY_ALIAS declares that pointers to the type may point to the
3076 same storage as pointers to other types. Thus this declaration disables
3077 strict aliasing optimization. */
3078 /* Applies to: types. */
3079 /* Oracle Studio 12.6 mishandles may_alias despite __has_attribute OK. */
3080 #ifndef _GL_ATTRIBUTE_MAY_ALIAS
3081 # if _GL_HAS_ATTRIBUTE (may_alias) && !defined __SUNPRO_C
3082 # define _GL_ATTRIBUTE_MAY_ALIAS __attribute__ ((__may_alias__))
3083 # else
3084 # define _GL_ATTRIBUTE_MAY_ALIAS
3085 # endif
3086 #endif
3087
3088 /* _GL_ATTRIBUTE_MAYBE_UNUSED declares that it is not a programming mistake if
3089 the entity is not used. The compiler should not warn if the entity is not
3090 used. */
3091 /* Applies to:
3092 - function, variable,
3093 - struct, union, struct/union member,
3094 - enumeration, enumeration item,
3095 - typedef,
3096 in C++ also: class. */
3097 /* In C++ and C23, this is spelled [[__maybe_unused__]].
3098 GCC's syntax is __attribute__ ((__unused__)).
3099 clang supports both syntaxes. Except that with clang ≥ 6, < 10, in C++ mode,
3100 __has_c_attribute (__maybe_unused__) yields true but the use of
3101 [[__maybe_unused__]] nevertheless produces a warning. */
3102 #ifndef _GL_ATTRIBUTE_MAYBE_UNUSED
3103 # ifndef _GL_BRACKET_BEFORE_ATTRIBUTE
3104 # if defined __clang__ && defined __cplusplus
3105 # if !defined __apple_build_version__ && __clang_major__ >= 10
3106 # define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]]
3107 # endif
3108 # elif _GL_HAVE___HAS_C_ATTRIBUTE
3109 # if __has_c_attribute (__maybe_unused__)
3110 # define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]]
3111 # endif
3112 # endif
3113 # endif
3114 # ifndef _GL_ATTRIBUTE_MAYBE_UNUSED
3115 # define _GL_ATTRIBUTE_MAYBE_UNUSED _GL_ATTRIBUTE_UNUSED
3116 # endif
3117 #endif
3118 /* Alternative spelling of this macro, for convenience and for
3119 compatibility with glibc/include/libc-symbols.h. */
3120 #define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED
3121 /* Earlier spellings of this macro. */
3122 #define _UNUSED_PARAMETER_ _GL_ATTRIBUTE_MAYBE_UNUSED
3123
3124 /* _GL_ATTRIBUTE_NODISCARD declares that the caller of the function should not
3125 discard the return value. The compiler may warn if the caller does not use
3126 the return value, unless the caller uses something like ignore_value. */
3127 /* Applies to: function, enumeration, class. */
3128 #ifndef _GL_ATTRIBUTE_NODISCARD
3129 # ifndef _GL_BRACKET_BEFORE_ATTRIBUTE
3130 # if defined __clang__ && defined __cplusplus
3131 /* With clang up to 15.0.6 (at least), in C++ mode, [[__nodiscard__]] produces
3132 a warning.
3133 The 1000 below means a yet unknown threshold. When clang++ version X
3134 starts supporting [[__nodiscard__]] without warning about it, you can
3135 replace the 1000 with X. */
3136 # if __clang_major__ >= 1000
3137 # define _GL_ATTRIBUTE_NODISCARD [[__nodiscard__]]
3138 # endif
3139 # elif _GL_HAVE___HAS_C_ATTRIBUTE
3140 # if __has_c_attribute (__nodiscard__)
3141 # define _GL_ATTRIBUTE_NODISCARD [[__nodiscard__]]
3142 # endif
3143 # endif
3144 # endif
3145 # if !defined _GL_ATTRIBUTE_NODISCARD && _GL_HAS_ATTRIBUTE (warn_unused_result)
3146 # define _GL_ATTRIBUTE_NODISCARD __attribute__ ((__warn_unused_result__))
3147 # endif
3148 # ifndef _GL_ATTRIBUTE_NODISCARD
3149 # define _GL_ATTRIBUTE_NODISCARD
3150 # endif
3151 #endif
3152
3153 /* _GL_ATTRIBUTE_NOINLINE tells that the compiler should not inline the
3154 function. */
3155 /* Applies to: functions. */
3156 #ifndef _GL_ATTRIBUTE_NOINLINE
3157 # if _GL_HAS_ATTRIBUTE (noinline)
3158 # define _GL_ATTRIBUTE_NOINLINE __attribute__ ((__noinline__))
3159 # else
3160 # define _GL_ATTRIBUTE_NOINLINE
3161 # endif
3162 #endif
3163
3164 /* _GL_ATTRIBUTE_NONNULL ((N1, N2,...)) declares that the arguments N1, N2,...
3165 must not be NULL.
3166 _GL_ATTRIBUTE_NONNULL () declares that all pointer arguments must not be
3167 null. */
3168 /* Applies to: functions. */
3169 #ifndef _GL_ATTRIBUTE_NONNULL
3170 # if _GL_HAS_ATTRIBUTE (nonnull)
3171 # define _GL_ATTRIBUTE_NONNULL(args) __attribute__ ((__nonnull__ args))
3172 # else
3173 # define _GL_ATTRIBUTE_NONNULL(args)
3174 # endif
3175 #endif
3176
3177 /* _GL_ATTRIBUTE_NONSTRING declares that the contents of a character array is
3178 not meant to be NUL-terminated. */
3179 /* Applies to: struct/union members and variables that are arrays of element
3180 type '[[un]signed] char'. */
3181 #ifndef _GL_ATTRIBUTE_NONSTRING
3182 # if _GL_HAS_ATTRIBUTE (nonstring)
3183 # define _GL_ATTRIBUTE_NONSTRING __attribute__ ((__nonstring__))
3184 # else
3185 # define _GL_ATTRIBUTE_NONSTRING
3186 # endif
3187 #endif
3188
3189 /* There is no _GL_ATTRIBUTE_NORETURN; use _Noreturn instead. */
3190
3191 /* _GL_ATTRIBUTE_NOTHROW declares that the function does not throw exceptions.
3192 */
3193 /* Applies to: functions. */
3194 /* After a function's parameter list, this attribute must come first, before
3195 other attributes. */
3196 #ifndef _GL_ATTRIBUTE_NOTHROW
3197 # if defined __cplusplus
3198 # if _GL_GNUC_PREREQ (2, 8) || __clang_major__ >= 4
3199 # if __cplusplus >= 201103L
3200 # define _GL_ATTRIBUTE_NOTHROW noexcept (true)
3201 # else
3202 # define _GL_ATTRIBUTE_NOTHROW throw ()
3203 # endif
3204 # else
3205 # define _GL_ATTRIBUTE_NOTHROW
3206 # endif
3207 # else
3208 # if _GL_HAS_ATTRIBUTE (nothrow)
3209 # define _GL_ATTRIBUTE_NOTHROW __attribute__ ((__nothrow__))
3210 # else
3211 # define _GL_ATTRIBUTE_NOTHROW
3212 # endif
3213 # endif
3214 #endif
3215
3216 /* _GL_ATTRIBUTE_PACKED declares:
3217 For struct members: The member has the smallest possible alignment.
3218 For struct, union, class: All members have the smallest possible alignment,
3219 minimizing the memory required. */
3220 /* Applies to: struct members, struct, union,
3221 in C++ also: class. */
3222 #ifndef _GL_ATTRIBUTE_PACKED
3223 /* Oracle Studio 12.6 miscompiles code with __attribute__ ((__packed__)) despite
3224 __has_attribute OK. */
3225 # if _GL_HAS_ATTRIBUTE (packed) && !defined __SUNPRO_C
3226 # define _GL_ATTRIBUTE_PACKED __attribute__ ((__packed__))
3227 # else
3228 # define _GL_ATTRIBUTE_PACKED
3229 # endif
3230 #endif
3231
3232 /* _GL_ATTRIBUTE_PURE declares:
3233 It is OK for a compiler to move calls to the function and to omit
3234 calls to the function if another call has the same arguments or the
3235 result is not used, and if observable state is the same.
3236 This attribute is safe for a function that does not affect observable state
3237 and always returns exactly once.
3238 (This attribute is looser than _GL_ATTRIBUTE_CONST because the function
3239 can depend on observable state. It is stricter than
3240 _GL_ATTRIBUTE_REPRODUCIBLE because the function must return exactly
3241 once and cannot affect state addressed by its arguments.) */
3242 /* Applies to: functions. */
3243 #ifndef _GL_ATTRIBUTE_PURE
3244 # if _GL_HAS_ATTRIBUTE (pure)
3245 # define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__))
3246 # else
3247 # define _GL_ATTRIBUTE_PURE _GL_ATTRIBUTE_REPRODUCIBLE
3248 # endif
3249 #endif
3250
3251 /* _GL_ATTRIBUTE_REPRODUCIBLE declares:
3252 It is OK for a compiler to move calls to the function and to omit duplicate
3253 calls to the function with the same arguments, so long as the state
3254 addressed by its arguments is the same and is updated in time for
3255 the rest of the program.
3256 This attribute is safe for a function that is effectless and idempotent; see
3257 ISO C 23 § 6.7.12.7 for a definition of these terms.
3258 (This attribute is looser than _GL_ATTRIBUTE_UNSEQUENCED because
3259 the function need not be stateless and idempotent. It is looser
3260 than _GL_ATTRIBUTE_PURE because the function need not return
3261 exactly once and can affect state addressed by its arguments.)
3262 See also <https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2956.htm> and
3263 <https://stackoverflow.com/questions/76847905/>.
3264 ATTENTION! Efforts are underway to change the meaning of this attribute.
3265 See <https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3424.htm>. */
3266 /* Applies to: functions, pointer to functions, function types. */
3267 #ifndef _GL_ATTRIBUTE_REPRODUCIBLE
3268 /* This may be revisited when gcc and clang support [[reproducible]] or possibly
3269 __attribute__ ((__reproducible__)). */
3270 # ifndef _GL_BRACKET_BEFORE_ATTRIBUTE
3271 # if _GL_HAS_ATTRIBUTE (reproducible)
3272 # define _GL_ATTRIBUTE_REPRODUCIBLE [[reproducible]]
3273 # endif
3274 # endif
3275 # ifndef _GL_ATTRIBUTE_REPRODUCIBLE
3276 # define _GL_ATTRIBUTE_REPRODUCIBLE
3277 # endif
3278 #endif
3279
3280 /* _GL_ATTRIBUTE_RETURNS_NONNULL declares that the function's return value is
3281 a non-NULL pointer. */
3282 /* Applies to: functions. */
3283 #ifndef _GL_ATTRIBUTE_RETURNS_NONNULL
3284 # if _GL_HAS_ATTRIBUTE (returns_nonnull)
3285 # define _GL_ATTRIBUTE_RETURNS_NONNULL __attribute__ ((__returns_nonnull__))
3286 # else
3287 # define _GL_ATTRIBUTE_RETURNS_NONNULL
3288 # endif
3289 #endif
3290
3291 /* _GL_ATTRIBUTE_SENTINEL(pos) declares that the variadic function expects a
3292 trailing NULL argument.
3293 _GL_ATTRIBUTE_SENTINEL () - The last argument is NULL (requires C99).
3294 _GL_ATTRIBUTE_SENTINEL ((N)) - The (N+1)st argument from the end is NULL. */
3295 /* Applies to: functions. */
3296 #ifndef _GL_ATTRIBUTE_SENTINEL
3297 # if _GL_HAS_ATTRIBUTE (sentinel)
3298 # define _GL_ATTRIBUTE_SENTINEL(pos) __attribute__ ((__sentinel__ pos))
3299 # else
3300 # define _GL_ATTRIBUTE_SENTINEL(pos)
3301 # endif
3302 #endif
3303
3304 /* _GL_ATTRIBUTE_UNSEQUENCED declares:
3305 It is OK for a compiler to move calls to the function and to omit duplicate
3306 calls to the function with the same arguments, so long as the state
3307 addressed by its arguments is the same.
3308 This attribute is safe for a function that is effectless, idempotent,
3309 stateless, and independent; see ISO C 23 § 6.7.12.7 for a definition of
3310 these terms.
3311 (This attribute is stricter than _GL_ATTRIBUTE_REPRODUCIBLE because
3312 the function must be stateless and independent. It is looser than
3313 _GL_ATTRIBUTE_CONST because the function need not return exactly
3314 once and can depend on state addressed by its arguments.)
3315 See also <https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2956.htm> and
3316 <https://stackoverflow.com/questions/76847905/>.
3317 ATTENTION! Efforts are underway to change the meaning of this attribute.
3318 See <https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3424.htm>. */
3319 /* Applies to: functions, pointer to functions, function types. */
3320 #ifndef _GL_ATTRIBUTE_UNSEQUENCED
3321 /* This may be revisited when gcc and clang support [[unsequenced]] or possibly
3322 __attribute__ ((__unsequenced__)). */
3323 # ifndef _GL_BRACKET_BEFORE_ATTRIBUTE
3324 # if _GL_HAS_ATTRIBUTE (unsequenced)
3325 # define _GL_ATTRIBUTE_UNSEQUENCED [[unsequenced]]
3326 # endif
3327 # endif
3328 # ifndef _GL_ATTRIBUTE_UNSEQUENCED
3329 # define _GL_ATTRIBUTE_UNSEQUENCED
3330 # endif
3331 #endif
3332
3333 /* A helper macro. Don't use it directly. */
3334 #ifndef _GL_ATTRIBUTE_UNUSED
3335 # if _GL_HAS_ATTRIBUTE (unused)
3336 # define _GL_ATTRIBUTE_UNUSED __attribute__ ((__unused__))
3337 # else
3338 # define _GL_ATTRIBUTE_UNUSED
3339 # endif
3340 #endif
3341
3342
3343 /* _GL_UNUSED_LABEL; declares that it is not a programming mistake if the
3344 immediately preceding label is not used. The compiler should not warn
3345 if the label is not used. */
3346 /* Applies to: label (both in C and C++). */
3347 /* Note that g++ < 4.5 does not support the '__attribute__ ((__unused__)) ;'
3348 syntax. But clang does. */
3349 #ifndef _GL_UNUSED_LABEL
3350 # if !(defined __cplusplus && !_GL_GNUC_PREREQ (4, 5)) || defined __clang__
3351 # define _GL_UNUSED_LABEL _GL_ATTRIBUTE_UNUSED
3352 # else
3353 # define _GL_UNUSED_LABEL
3354 # endif
3355 #endif
3356
3357 /* The following attributes enable detection of multithread-safety problems
3358 and resource leaks at compile-time, by clang ≥ 15, when the warning option
3359 -Wthread-safety is enabled. For usage, see
3360 <https://clang.llvm.org/docs/ThreadSafetyAnalysis.html>. */
3361 #ifndef _GL_ATTRIBUTE_CAPABILITY_TYPE
3362 # if __clang_major__ >= 15
3363 # define _GL_ATTRIBUTE_CAPABILITY_TYPE(concept) \
3364 __attribute__ ((__capability__ (concept)))
3365 # else
3366 # define _GL_ATTRIBUTE_CAPABILITY_TYPE(concept)
3367 # endif
3368 #endif
3369 #ifndef _GL_ATTRIBUTE_ACQUIRE_CAPABILITY
3370 # if __clang_major__ >= 15
3371 # define _GL_ATTRIBUTE_ACQUIRE_CAPABILITY(resource) \
3372 __attribute__ ((__acquire_capability__ (resource)))
3373 # else
3374 # define _GL_ATTRIBUTE_ACQUIRE_CAPABILITY(resource)
3375 # endif
3376 #endif
3377 #ifndef _GL_ATTRIBUTE_RELEASE_CAPABILITY
3378 # if __clang_major__ >= 15
3379 # define _GL_ATTRIBUTE_RELEASE_CAPABILITY(resource) \
3380 __attribute__ ((__release_capability__ (resource)))
3381 # else
3382 # define _GL_ATTRIBUTE_RELEASE_CAPABILITY(resource)
3383 # endif
3384 #endif
3385
3386
3387 /* In C++, there is the concept of "language linkage", that encompasses
3388 name mangling and function calling conventions.
3389 The following macros start and end a block of "C" linkage. */
3390 #ifdef __cplusplus
3391 # define _GL_BEGIN_C_LINKAGE extern "C" {
3392 # define _GL_END_C_LINKAGE }
3393 #else
3394 # define _GL_BEGIN_C_LINKAGE
3395 # define _GL_END_C_LINKAGE
3396 #endif
3397
3398
3399 /* Define as 'int' if <sys/types.h> doesn't define. */
3400 #undef gid_t
3401
3402 /* A replacement for va_copy, if needed. */
3403 #define gl_va_copy(a,b) ((a) = (b))
3404
3405 /* Define to '__inline__' or '__inline' if that's what the C compiler
3406 calls it, or to nothing if 'inline' is not supported under any name. */
3407 #ifndef __cplusplus
3408 #undef inline
3409 #endif
3410
3411 /* Define to long or long long if <stdint.h> and <inttypes.h> don't define. */
3412 #undef intmax_t
3413
3414 /* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports
3415 the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of
3416 earlier versions), but does not display it by setting __GNUC_STDC_INLINE__.
3417 __APPLE__ && __MACH__ test for Mac OS X.
3418 __APPLE_CC__ tests for the Apple compiler and its version.
3419 __STDC_VERSION__ tests for the C99 mode. */
3420 #if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__
3421 # define __GNUC_STDC_INLINE__ 1
3422 #endif
3423
3424 /* Define to a type if <wchar.h> does not define. */
3425 #undef mbstate_t
3426
3427 /* _GL_CMP (n1, n2) performs a three-valued comparison on n1 vs. n2, where
3428 n1 and n2 are expressions without side effects, that evaluate to real
3429 numbers (excluding NaN).
3430 It returns
3431 1 if n1 > n2
3432 0 if n1 == n2
3433 -1 if n1 < n2
3434 The naïve code (n1 > n2 ? 1 : n1 < n2 ? -1 : 0) produces a conditional
3435 jump with nearly all GCC versions up to GCC 10.
3436 This variant (n1 < n2 ? -1 : n1 > n2) produces a conditional with many
3437 GCC versions up to GCC 9.
3438 The better code (n1 > n2) - (n1 < n2) from Hacker's Delight § 2-9
3439 avoids conditional jumps in all GCC versions >= 3.4. */
3440 #define _GL_CMP(n1, n2) (((n1) > (n2)) - ((n1) < (n2)))
3441
3442
3443 /* Define to the real name of the mktime_internal function. */
3444 #undef mktime_internal
3445
3446 /* Define to 'int' if <sys/types.h> does not define. */
3447 #undef mode_t
3448
3449 /* Define to the type of st_nlink in struct stat, or a supertype. */
3450 #undef nlink_t
3451
3452 /* Define to 'long int' if <sys/types.h> does not define. */
3453 #undef off_t
3454
3455 /* Define as a signed integer type capable of holding a process identifier. */
3456 #undef pid_t
3457
3458 /* Define as the type of the result of subtracting two pointers, if the system
3459 doesn't define it. */
3460 #undef ptrdiff_t
3461
3462 /* Define to rpl_re_comp if the replacement should be used. */
3463 #undef re_comp
3464
3465 /* Define to rpl_re_compile_fastmap if the replacement should be used. */
3466 #undef re_compile_fastmap
3467
3468 /* Define to rpl_re_compile_pattern if the replacement should be used. */
3469 #undef re_compile_pattern
3470
3471 /* Define to rpl_re_exec if the replacement should be used. */
3472 #undef re_exec
3473
3474 /* Define to rpl_re_match if the replacement should be used. */
3475 #undef re_match
3476
3477 /* Define to rpl_re_match_2 if the replacement should be used. */
3478 #undef re_match_2
3479
3480 /* Define to rpl_re_search if the replacement should be used. */
3481 #undef re_search
3482
3483 /* Define to rpl_re_search_2 if the replacement should be used. */
3484 #undef re_search_2
3485
3486 /* Define to rpl_re_set_registers if the replacement should be used. */
3487 #undef re_set_registers
3488
3489 /* Define to rpl_re_set_syntax if the replacement should be used. */
3490 #undef re_set_syntax
3491
3492 /* Define to rpl_re_syntax_options if the replacement should be used. */
3493 #undef re_syntax_options
3494
3495 /* Define to rpl_regcomp if the replacement should be used. */
3496 #undef regcomp
3497
3498 /* Define to rpl_regerror if the replacement should be used. */
3499 #undef regerror
3500
3501 /* Define to rpl_regexec if the replacement should be used. */
3502 #undef regexec
3503
3504 /* Define to rpl_regfree if the replacement should be used. */
3505 #undef regfree
3506
3507 /* Define to the equivalent of the C99 'restrict' keyword, or to
3508 nothing if this is not supported. Do not define if restrict is
3509 supported only directly. */
3510 #undef restrict
3511 /* Work around a bug in older versions of Sun C++, which did not
3512 #define __restrict__ or support _Restrict or __restrict__
3513 even though the corresponding Sun C compiler ended up with
3514 "#define restrict _Restrict" or "#define restrict __restrict__"
3515 in the previous line. This workaround can be removed once
3516 we assume Oracle Developer Studio 12.5 (2016) or later. */
3517 #if defined __SUNPRO_CC && !defined __RESTRICT && !defined __restrict__
3518 # define _Restrict
3519 # define __restrict__
3520 #endif
3521
3522 /* Define as 'unsigned int' if <stddef.h> doesn't define. */
3523 #undef size_t
3524
3525 /* type to use in place of socklen_t if not defined */
3526 #undef socklen_t
3527
3528 /* Define as a signed type of the same size as size_t. */
3529 #undef ssize_t
3530
3531 /* Define to 'struct sigaltstack' if that's the type of the argument to
3532 sigaltstack */
3533 #undef stack_t
3534
3535 /* Define as 'int' if <sys/types.h> doesn't define. */
3536 #undef uid_t
3537
3538
3539 /* This definition is a duplicate of the one in unitypes.h.
3540 It is here so that we can cope with an older version of unitypes.h
3541 that does not contain this definition and that is pre-installed among
3542 the public header files. */
3543 # if defined __restrict \
3544 || 2 < __GNUC__ + (95 <= __GNUC_MINOR__) \
3545 || __clang_major__ >= 3
3546 # define _UC_RESTRICT __restrict
3547 # elif 199901L <= __STDC_VERSION__ || defined restrict
3548 # define _UC_RESTRICT restrict
3549 # else
3550 # define _UC_RESTRICT
3551 # endif
3552
3553
3554 /* Define as a macro for copying va_list variables. */
3555 #undef va_copy
3556
3557 /* Define as 'fork' if 'vfork' does not work. */
3558 #undef vfork
3559
3560 #if !defined HAVE_C_ALIGNASOF \
3561 && !(defined __cplusplus && 201103 <= __cplusplus) \
3562 && !defined alignof
3563 # if defined HAVE_STDALIGN_H
3564 # include <stdalign.h>
3565 # endif
3566
3567 /* ISO C23 alignas and alignof for platforms that lack it.
3568
3569 References:
3570 ISO C23 (latest free draft
3571 <https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3096.pdf>)
3572 sections 6.5.3.4, 6.7.5, 7.15.
3573 C++11 (latest free draft
3574 <https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2011/n3242.pdf>)
3575 section 18.10. */
3576
3577 /* alignof (TYPE), also known as _Alignof (TYPE), yields the alignment
3578 requirement of a structure member (i.e., slot or field) that is of
3579 type TYPE, as an integer constant expression.
3580
3581 This differs from GCC's and clang's __alignof__ operator, which can
3582 yield a better-performing alignment for an object of that type. For
3583 example, on x86 with GCC and on Linux/x86 with clang,
3584 __alignof__ (double) and __alignof__ (long long) are 8, whereas
3585 alignof (double) and alignof (long long) are 4 unless the option
3586 '-malign-double' is used.
3587
3588 The result cannot be used as a value for an 'enum' constant, if you
3589 want to be portable to HP-UX 10.20 cc and AIX 3.2.5 xlc. */
3590
3591 /* GCC releases before GCC 4.9 had a bug in _Alignof. See GCC bug 52023
3592 <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52023>.
3593 clang versions < 8.0.0 have the same bug.
3594 IBM XL C V16.1.0 cc (non-clang) has the same bug. */
3595 # if (!defined __STDC_VERSION__ || __STDC_VERSION__ < 201112 \
3596 || (defined __GNUC__ && __GNUC__ < 4 + (__GNUC_MINOR__ < 9) \
3597 && !defined __clang__) \
3598 || (defined __clang__ && __clang_major__ < 8) \
3599 || defined __xlC__)
3600 # undef/**/_Alignof
3601 # ifdef __cplusplus
3602 # if (201103 <= __cplusplus || defined _MSC_VER)
3603 # define _Alignof(type) alignof (type)
3604 # else
3605 template <class __t> struct __alignof_helper { char __a; __t __b; };
3606 # if (defined __GNUC__ && 4 <= __GNUC__) || defined __clang__
3607 # define _Alignof(type) __builtin_offsetof (__alignof_helper<type>, __b)
3608 # else
3609 # define _Alignof(type) offsetof (__alignof_helper<type>, __b)
3610 # endif
3611 # define _GL_STDALIGN_NEEDS_STDDEF 1
3612 # endif
3613 # else
3614 # if (defined __GNUC__ && 4 <= __GNUC__) || defined __clang__
3615 # define _Alignof(type) __builtin_offsetof (struct { char __a; type __b; }, __b)
3616 # else
3617 # define _Alignof(type) offsetof (struct { char __a; type __b; }, __b)
3618 # define _GL_STDALIGN_NEEDS_STDDEF 1
3619 # endif
3620 # endif
3621 # endif
3622 # if ! (defined __cplusplus && (201103 <= __cplusplus || defined _MSC_VER))
3623 # undef/**/alignof
3624 # define alignof _Alignof
3625 # endif
3626
3627 /* alignas (A), also known as _Alignas (A), aligns a variable or type
3628 to the alignment A, where A is an integer constant expression. For
3629 example:
3630
3631 int alignas (8) foo;
3632 struct s { int a; int alignas (8) bar; };
3633
3634 aligns the address of FOO and the offset of BAR to be multiples of 8.
3635
3636 A should be a power of two that is at least the type's alignment
3637 and at most the implementation's alignment limit. This limit is
3638 2**28 on typical GNUish hosts, and 2**13 on MSVC. To be portable
3639 to MSVC through at least version 10.0, A should be an integer
3640 constant, as MSVC does not support expressions such as 1 << 3.
3641 To be portable to Sun C 5.11, do not align auto variables to
3642 anything stricter than their default alignment.
3643
3644 The following C23 requirements are not supported here:
3645
3646 - If A is zero, alignas has no effect.
3647 - alignas can be used multiple times; the strictest one wins.
3648 - alignas (TYPE) is equivalent to alignas (alignof (TYPE)).
3649
3650 */
3651 # if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112
3652 # if defined __cplusplus && (201103 <= __cplusplus || defined _MSC_VER)
3653 # define _Alignas(a) alignas (a)
3654 # elif (!defined __attribute__ \
3655 && ((defined __APPLE__ && defined __MACH__ \
3656 ? 4 < __GNUC__ + (1 <= __GNUC_MINOR__) \
3657 : __GNUC__ && !defined __ibmxl__) \
3658 || (4 <= __clang_major__) \
3659 || (__ia64 && (61200 <= __HP_cc || 61200 <= __HP_aCC)) \
3660 || __ICC || 0x590 <= __SUNPRO_C || 0x0600 <= __xlC__))
3661 # define _Alignas(a) __attribute__ ((__aligned__ (a)))
3662 # elif 1300 <= _MSC_VER
3663 # define _Alignas(a) __declspec (align (a))
3664 # endif
3665 # endif
3666 # if !defined HAVE_STDALIGN_H
3667 # if ((defined _Alignas \
3668 && !(defined __cplusplus \
3669 && (201103 <= __cplusplus || defined _MSC_VER))) \
3670 || (defined __STDC_VERSION__ && 201112 <= __STDC_VERSION__ \
3671 && !defined __xlC__))
3672 # define alignas _Alignas
3673 # endif
3674 # endif
3675
3676 # if defined _GL_STDALIGN_NEEDS_STDDEF
3677 # include <stddef.h>
3678 # endif
3679 #endif
3680
3681 #if !(defined __cplusplus \
3682 ? 1 \
3683 : (defined __clang__ \
3684 ? __STDC_VERSION__ >= 202000L && __clang_major__ >= 15 \
3685 : (defined __GNUC__ \
3686 ? __STDC_VERSION__ >= 202000L && __GNUC__ >= 13 \
3687 : defined HAVE_C_BOOL)))
3688 # if !defined __cplusplus && !defined __bool_true_false_are_defined
3689 # if HAVE_STDBOOL_H
3690 # include <stdbool.h>
3691 # else
3692 # if defined __SUNPRO_C
3693 # error "<stdbool.h> is not usable with this configuration. To make it usable, add -D_STDC_C99= to $CC."
3694 # else
3695 # error "<stdbool.h> does not exist on this platform. Use gnulib module 'stdbool-c99' instead of gnulib module 'stdbool'."
3696 # endif
3697 # endif
3698 # endif
3699 # if !true
3700 # define true (!false)
3701 # endif
3702 #endif
3703
3704 #if defined __cplusplus && HAVE_CXX_NULLPTR < 0
3705 # include <stddef.h>
3706 # undef/**/nullptr
3707 #endif
3708 #ifndef nullptr
3709 # if !defined __cplusplus && !defined HAVE_C_NULLPTR
3710 # define nullptr ((void *) 0)
3711 # elif defined __cplusplus && HAVE_CXX_NULLPTR <= 0
3712 # if 3 <= __GNUG__
3713 # define nullptr __null
3714 # else
3715 # define nullptr 0L
3716 # endif
3717 # endif
3718 #endif
3719
3720 #if (!(defined __clang__ \
3721 ? (defined __cplusplus \
3722 ? __cplusplus >= 201703L \
3723 : __STDC_VERSION__ >= 202000L && __clang_major__ >= 16 \
3724 && !defined __sun) \
3725 : (defined __GNUC__ \
3726 ? (defined __cplusplus \
3727 ? __cplusplus >= 201103L && __GNUG__ >= 6 \
3728 : __STDC_VERSION__ >= 202000L && __GNUC__ >= 13 \
3729 && !defined __sun) \
3730 : defined HAVE_C_STATIC_ASSERT)) \
3731 && !defined assert \
3732 && (!defined __cplusplus \
3733 || (__cpp_static_assert < 201411 \
3734 && __GNUG__ < 6 && __clang_major__ < 6)))
3735 #include <assert.h>
3736 #undef/**/assert
3737 #ifdef __sgi
3738 #undef/**/__ASSERT_H__
3739 #endif
3740 /* Solaris 11.4 <assert.h> defines static_assert as a macro with 2 arguments.
3741 We need it also to be invocable with a single argument.
3742 Haiku 2022 <assert.h> does not define static_assert at all. */
3743 #if (__STDC_VERSION__ - 0 >= 201112L) && !defined __cplusplus
3744 #undef/**/static_assert
3745 #define static_assert _Static_assert
3746 #endif
3747 #endif