xref: /netbsd-src/external/gpl3/gdb/lib/libgnulib/arch/mipsn64eb/gnulib/config.h (revision 800f65cfd08922525602506b0895f419b45e9f33)
1b5bf3908Schristos /* This file is automatically generated.  DO NOT EDIT! */
215a984a0Schristos /* Generated from: NetBSD: mknative-gdb,v 1.16 2023/07/31 17:09:59 christos Exp  */
3b5bf3908Schristos /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp  */
4b5bf3908Schristos 
5b5bf3908Schristos /* config.h.  Generated from config.in by configure.  */
6b5bf3908Schristos /* config.in.  Generated from configure.ac by autoheader.  */
7b5bf3908Schristos 
8b5bf3908Schristos /* Define if building universal (internal helper macro) */
9b5bf3908Schristos /* #undef AC_APPLE_UNIVERSAL_BUILD */
10b5bf3908Schristos 
11b5bf3908Schristos /* Define to the number of bits in type 'ptrdiff_t'. */
12b5bf3908Schristos /* #undef BITSIZEOF_PTRDIFF_T */
13b5bf3908Schristos 
14b5bf3908Schristos /* Define to the number of bits in type 'sig_atomic_t'. */
15b5bf3908Schristos /* #undef BITSIZEOF_SIG_ATOMIC_T */
16b5bf3908Schristos 
17b5bf3908Schristos /* Define to the number of bits in type 'size_t'. */
18b5bf3908Schristos /* #undef BITSIZEOF_SIZE_T */
19b5bf3908Schristos 
20b5bf3908Schristos /* Define to the number of bits in type 'wchar_t'. */
21b5bf3908Schristos /* #undef BITSIZEOF_WCHAR_T */
22b5bf3908Schristos 
23b5bf3908Schristos /* Define to the number of bits in type 'wint_t'. */
24b5bf3908Schristos /* #undef BITSIZEOF_WINT_T */
25b5bf3908Schristos 
2615a984a0Schristos /* Define to 1 if chown fails to change ctime when at least one argument was
2715a984a0Schristos    not -1. */
2815a984a0Schristos #define CHOWN_CHANGE_TIME_BUG 1
29b5bf3908Schristos 
3015a984a0Schristos /* Define if chown is not POSIX compliant regarding IDs of -1. */
3115a984a0Schristos #define CHOWN_FAILS_TO_HONOR_ID_OF_NEGATIVE_ONE 1
3215a984a0Schristos 
3315a984a0Schristos /* Define if chown modifies symlinks. */
3415a984a0Schristos /* #undef CHOWN_MODIFIES_SYMLINK */
3515a984a0Schristos 
3615a984a0Schristos /* Define to 1 if chown mishandles trailing slash. */
3715a984a0Schristos #define CHOWN_TRAILING_SLASH_BUG 1
3815a984a0Schristos 
3915a984a0Schristos /* Define to 1 if using 'alloca.c'. */
40b5bf3908Schristos /* #undef C_ALLOCA */
41b5bf3908Schristos 
42b5bf3908Schristos /* Define as the bit index in the word where to find bit 0 of the exponent of
43b5bf3908Schristos    'double'. */
44b5bf3908Schristos #define DBL_EXPBIT0_BIT 20
45b5bf3908Schristos 
46b5bf3908Schristos /* Define as the word index where to find the exponent of 'double'. */
47b5bf3908Schristos #define DBL_EXPBIT0_WORD 0
48b5bf3908Schristos 
49b5bf3908Schristos /* the name of the file descriptor member of DIR */
50b5bf3908Schristos /* #undef DIR_FD_MEMBER_NAME */
51b5bf3908Schristos 
52b5bf3908Schristos #ifdef DIR_FD_MEMBER_NAME
53b5bf3908Schristos # define DIR_TO_FD(Dir_p) ((Dir_p)->DIR_FD_MEMBER_NAME)
54b5bf3908Schristos #else
55b5bf3908Schristos # define DIR_TO_FD(Dir_p) -1
56b5bf3908Schristos #endif
57b5bf3908Schristos 
58b5bf3908Schristos 
59b5bf3908Schristos /* Define to 1 if // is a file system root distinct from /. */
60b5bf3908Schristos /* #undef DOUBLE_SLASH_IS_DISTINCT_ROOT */
61b5bf3908Schristos 
62b5bf3908Schristos /* Define if struct dirent has a member d_ino that actually works. */
63b5bf3908Schristos /* #undef D_INO_IN_DIRENT */
64b5bf3908Schristos 
65b5bf3908Schristos /* Define this to 1 if F_DUPFD behavior does not match POSIX */
66b5bf3908Schristos /* #undef FCNTL_DUPFD_BUGGY */
67b5bf3908Schristos 
68b5bf3908Schristos /* Define to nothing if C supports flexible array members, and to 1 if it does
69b5bf3908Schristos    not. That way, with a declaration like 'struct s { int n; short
70b5bf3908Schristos    d[FLEXIBLE_ARRAY_MEMBER]; };', the struct hack can be used with pre-C99
71b5bf3908Schristos    compilers. Use 'FLEXSIZEOF (struct s, d, N * sizeof (short))' to calculate
72b5bf3908Schristos    the size in bytes of such a struct containing an N-element array. */
73b5bf3908Schristos #define FLEXIBLE_ARRAY_MEMBER /**/
74b5bf3908Schristos 
75b5bf3908Schristos /* Define to 1 if mkdir mistakenly creates a directory given with a trailing
76b5bf3908Schristos    dot component. */
7715a984a0Schristos #define FUNC_MKDIR_DOT_BUG 1
78b5bf3908Schristos 
79b5bf3908Schristos /* Define to 1 if realpath() can malloc memory, always gives an absolute path,
8015a984a0Schristos    and handles a trailing slash correctly. */
8115a984a0Schristos /* #undef FUNC_REALPATH_NEARLY_WORKS */
82b5bf3908Schristos 
8315a984a0Schristos /* Define to 1 if realpath() can malloc memory, always gives an absolute path,
8415a984a0Schristos    and handles leading slashes and a trailing slash correctly. */
8515a984a0Schristos /* #undef FUNC_REALPATH_WORKS */
86b5bf3908Schristos 
87b5bf3908Schristos /* Define this to 'void' or 'struct timezone' to match the system's
88b5bf3908Schristos    declaration of the second argument to gettimeofday. */
89b5bf3908Schristos #define GETTIMEOFDAY_TIMEZONE void
90b5bf3908Schristos 
91b5bf3908Schristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
92b5bf3908Schristos    whether the gnulib module canonicalize-lgpl shall be considered present. */
93b5bf3908Schristos #define GNULIB_CANONICALIZE_LGPL 1
94b5bf3908Schristos 
95b5bf3908Schristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
96b5bf3908Schristos    whether the gnulib module fdopendir shall be considered present. */
97b5bf3908Schristos #define GNULIB_FDOPENDIR 1
98b5bf3908Schristos 
99b5bf3908Schristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
100b5bf3908Schristos    whether the gnulib module fd-safer-flag shall be considered present. */
101b5bf3908Schristos #define GNULIB_FD_SAFER_FLAG 1
102b5bf3908Schristos 
103b5bf3908Schristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
104b5bf3908Schristos    whether the gnulib module fnmatch-gnu shall be considered present. */
105b5bf3908Schristos #define GNULIB_FNMATCH_GNU 1
106b5bf3908Schristos 
107b5bf3908Schristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
108b5bf3908Schristos    whether the gnulib module fscanf shall be considered present. */
109b5bf3908Schristos #define GNULIB_FSCANF 1
110b5bf3908Schristos 
111b5bf3908Schristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
112b5bf3908Schristos    whether the gnulib module getcwd shall be considered present. */
113b5bf3908Schristos #define GNULIB_GETCWD 1
114b5bf3908Schristos 
115b5bf3908Schristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
116b5bf3908Schristos    whether the gnulib module isblank shall be considered present. */
117b5bf3908Schristos #define GNULIB_ISBLANK 1
118b5bf3908Schristos 
119b5bf3908Schristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
120b5bf3908Schristos    whether the gnulib module lock shall be considered present. */
121b5bf3908Schristos #define GNULIB_LOCK 1
122b5bf3908Schristos 
123b5bf3908Schristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
124b5bf3908Schristos    whether the gnulib module mkostemp shall be considered present. */
125b5bf3908Schristos #define GNULIB_MKOSTEMP 1
126b5bf3908Schristos 
127b5bf3908Schristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
128b5bf3908Schristos    whether the gnulib module msvc-nothrow shall be considered present. */
129b5bf3908Schristos #define GNULIB_MSVC_NOTHROW 1
130b5bf3908Schristos 
131b5bf3908Schristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
132b5bf3908Schristos    whether the gnulib module openat shall be considered present. */
133b5bf3908Schristos #define GNULIB_OPENAT 1
134b5bf3908Schristos 
135b5bf3908Schristos /* Define to 1 if printf and friends should be labeled with attribute
136b5bf3908Schristos    "__gnu_printf__" instead of "__printf__" */
137b5bf3908Schristos /* #undef GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU */
138b5bf3908Schristos 
139b5bf3908Schristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
140b5bf3908Schristos    whether the gnulib module scanf shall be considered present. */
141b5bf3908Schristos #define GNULIB_SCANF 1
142b5bf3908Schristos 
143b5bf3908Schristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
144b5bf3908Schristos    whether the gnulib module strerror shall be considered present. */
145b5bf3908Schristos #define GNULIB_STRERROR 1
146b5bf3908Schristos 
147b5bf3908Schristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
148b5bf3908Schristos    whether the gnulib module strerror_r-posix shall be considered present. */
149b5bf3908Schristos #define GNULIB_STRERROR_R_POSIX 1
150b5bf3908Schristos 
15115a984a0Schristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
15215a984a0Schristos    whether the gnulib module tempname shall be considered present. */
15315a984a0Schristos #define GNULIB_TEMPNAME 1
15415a984a0Schristos 
15515a984a0Schristos /* Define to 1 when the gnulib module accept should be tested. */
15615a984a0Schristos #define GNULIB_TEST_ACCEPT 1
15715a984a0Schristos 
15815a984a0Schristos /* Define to 1 when the gnulib module bind should be tested. */
15915a984a0Schristos #define GNULIB_TEST_BIND 1
16015a984a0Schristos 
161b5bf3908Schristos /* Define to 1 when the gnulib module btowc should be tested. */
162b5bf3908Schristos #define GNULIB_TEST_BTOWC 1
163b5bf3908Schristos 
164b5bf3908Schristos /* Define to 1 when the gnulib module canonicalize_file_name should be tested.
165b5bf3908Schristos    */
166b5bf3908Schristos #define GNULIB_TEST_CANONICALIZE_FILE_NAME 1
167b5bf3908Schristos 
168b5bf3908Schristos /* Define to 1 when the gnulib module chdir should be tested. */
169b5bf3908Schristos #define GNULIB_TEST_CHDIR 1
170b5bf3908Schristos 
17115a984a0Schristos /* Define to 1 when the gnulib module chown should be tested. */
17215a984a0Schristos #define GNULIB_TEST_CHOWN 1
17315a984a0Schristos 
174b5bf3908Schristos /* Define to 1 when the gnulib module cloexec should be tested. */
175b5bf3908Schristos #define GNULIB_TEST_CLOEXEC 1
176b5bf3908Schristos 
177b5bf3908Schristos /* Define to 1 when the gnulib module close should be tested. */
178b5bf3908Schristos #define GNULIB_TEST_CLOSE 1
179b5bf3908Schristos 
180b5bf3908Schristos /* Define to 1 when the gnulib module closedir should be tested. */
181b5bf3908Schristos #define GNULIB_TEST_CLOSEDIR 1
182b5bf3908Schristos 
18315a984a0Schristos /* Define to 1 when the gnulib module connect should be tested. */
18415a984a0Schristos #define GNULIB_TEST_CONNECT 1
18515a984a0Schristos 
186b5bf3908Schristos /* Define to 1 when the gnulib module dirfd should be tested. */
187b5bf3908Schristos #define GNULIB_TEST_DIRFD 1
188b5bf3908Schristos 
189b5bf3908Schristos /* Define to 1 when the gnulib module dup should be tested. */
190b5bf3908Schristos #define GNULIB_TEST_DUP 1
191b5bf3908Schristos 
192b5bf3908Schristos /* Define to 1 when the gnulib module dup2 should be tested. */
193b5bf3908Schristos #define GNULIB_TEST_DUP2 1
194b5bf3908Schristos 
195b5bf3908Schristos /* Define to 1 when the gnulib module environ should be tested. */
196b5bf3908Schristos #define GNULIB_TEST_ENVIRON 1
197b5bf3908Schristos 
198b5bf3908Schristos /* Define to 1 when the gnulib module fchdir should be tested. */
199b5bf3908Schristos #define GNULIB_TEST_FCHDIR 1
200b5bf3908Schristos 
201b5bf3908Schristos /* Define to 1 when the gnulib module fcntl should be tested. */
202b5bf3908Schristos #define GNULIB_TEST_FCNTL 1
203b5bf3908Schristos 
204b5bf3908Schristos /* Define to 1 when the gnulib module fdopendir should be tested. */
205b5bf3908Schristos #define GNULIB_TEST_FDOPENDIR 1
206b5bf3908Schristos 
20715a984a0Schristos /* Define to 1 when the gnulib module fgetc should be tested. */
20815a984a0Schristos #define GNULIB_TEST_FGETC 1
20915a984a0Schristos 
21015a984a0Schristos /* Define to 1 when the gnulib module fgets should be tested. */
21115a984a0Schristos #define GNULIB_TEST_FGETS 1
21215a984a0Schristos 
213b5bf3908Schristos /* Define to 1 when the gnulib module fnmatch should be tested. */
214b5bf3908Schristos #define GNULIB_TEST_FNMATCH 1
215b5bf3908Schristos 
21615a984a0Schristos /* Define to 1 when the gnulib module fprintf should be tested. */
21715a984a0Schristos #define GNULIB_TEST_FPRINTF 1
21815a984a0Schristos 
21915a984a0Schristos /* Define to 1 when the gnulib module fputc should be tested. */
22015a984a0Schristos #define GNULIB_TEST_FPUTC 1
22115a984a0Schristos 
22215a984a0Schristos /* Define to 1 when the gnulib module fputs should be tested. */
22315a984a0Schristos #define GNULIB_TEST_FPUTS 1
22415a984a0Schristos 
22515a984a0Schristos /* Define to 1 when the gnulib module fread should be tested. */
22615a984a0Schristos #define GNULIB_TEST_FREAD 1
22715a984a0Schristos 
22815a984a0Schristos /* Define to 1 when the gnulib module free-posix should be tested. */
22915a984a0Schristos #define GNULIB_TEST_FREE_POSIX 1
23015a984a0Schristos 
231b5bf3908Schristos /* Define to 1 when the gnulib module frexp should be tested. */
232b5bf3908Schristos #define GNULIB_TEST_FREXP 1
233b5bf3908Schristos 
234b5bf3908Schristos /* Define to 1 when the gnulib module frexpl should be tested. */
235b5bf3908Schristos #define GNULIB_TEST_FREXPL 1
236b5bf3908Schristos 
23715a984a0Schristos /* Define to 1 when the gnulib module fscanf should be tested. */
23815a984a0Schristos #define GNULIB_TEST_FSCANF 1
23915a984a0Schristos 
240b5bf3908Schristos /* Define to 1 when the gnulib module fstat should be tested. */
241b5bf3908Schristos #define GNULIB_TEST_FSTAT 1
242b5bf3908Schristos 
243b5bf3908Schristos /* Define to 1 when the gnulib module fstatat should be tested. */
244b5bf3908Schristos #define GNULIB_TEST_FSTATAT 1
245b5bf3908Schristos 
24615a984a0Schristos /* Define to 1 when the gnulib module fwrite should be tested. */
24715a984a0Schristos #define GNULIB_TEST_FWRITE 1
24815a984a0Schristos 
24915a984a0Schristos /* Define to 1 when the gnulib module getc should be tested. */
25015a984a0Schristos #define GNULIB_TEST_GETC 1
25115a984a0Schristos 
25215a984a0Schristos /* Define to 1 when the gnulib module getchar should be tested. */
25315a984a0Schristos #define GNULIB_TEST_GETCHAR 1
25415a984a0Schristos 
255b5bf3908Schristos /* Define to 1 when the gnulib module getcwd should be tested. */
256b5bf3908Schristos #define GNULIB_TEST_GETCWD 1
257b5bf3908Schristos 
25815a984a0Schristos /* Define to 1 when the gnulib module getdelim should be tested. */
25915a984a0Schristos #define GNULIB_TEST_GETDELIM 1
26015a984a0Schristos 
261b5bf3908Schristos /* Define to 1 when the gnulib module getdtablesize should be tested. */
262b5bf3908Schristos #define GNULIB_TEST_GETDTABLESIZE 1
263b5bf3908Schristos 
26415a984a0Schristos /* Define to 1 when the gnulib module getline should be tested. */
26515a984a0Schristos #define GNULIB_TEST_GETLINE 1
26615a984a0Schristos 
267b5bf3908Schristos /* Define to 1 when the gnulib module getlogin_r should be tested. */
268b5bf3908Schristos #define GNULIB_TEST_GETLOGIN_R 1
269b5bf3908Schristos 
270b5bf3908Schristos /* Define to 1 when the gnulib module getrandom should be tested. */
271b5bf3908Schristos #define GNULIB_TEST_GETRANDOM 1
272b5bf3908Schristos 
273b5bf3908Schristos /* Define to 1 when the gnulib module gettimeofday should be tested. */
274b5bf3908Schristos #define GNULIB_TEST_GETTIMEOFDAY 1
275b5bf3908Schristos 
276b5bf3908Schristos /* Define to 1 when the gnulib module glob should be tested. */
277b5bf3908Schristos #define GNULIB_TEST_GLOB 1
278b5bf3908Schristos 
27915a984a0Schristos /* Define to 1 when the gnulib module listen should be tested. */
28015a984a0Schristos #define GNULIB_TEST_LISTEN 1
28115a984a0Schristos 
282b5bf3908Schristos /* Define to 1 when the gnulib module lstat should be tested. */
283b5bf3908Schristos #define GNULIB_TEST_LSTAT 1
284b5bf3908Schristos 
285b5bf3908Schristos /* Define to 1 when the gnulib module malloc-posix should be tested. */
286b5bf3908Schristos #define GNULIB_TEST_MALLOC_POSIX 1
287b5bf3908Schristos 
288b5bf3908Schristos /* Define to 1 when the gnulib module mbrtowc should be tested. */
289b5bf3908Schristos #define GNULIB_TEST_MBRTOWC 1
290b5bf3908Schristos 
291b5bf3908Schristos /* Define to 1 when the gnulib module mbsinit should be tested. */
292b5bf3908Schristos #define GNULIB_TEST_MBSINIT 1
293b5bf3908Schristos 
294b5bf3908Schristos /* Define to 1 when the gnulib module mbsrtowcs should be tested. */
295b5bf3908Schristos #define GNULIB_TEST_MBSRTOWCS 1
296b5bf3908Schristos 
297b5bf3908Schristos /* Define to 1 when the gnulib module mbtowc should be tested. */
298b5bf3908Schristos #define GNULIB_TEST_MBTOWC 1
299b5bf3908Schristos 
300b5bf3908Schristos /* Define to 1 when the gnulib module memchr should be tested. */
301b5bf3908Schristos #define GNULIB_TEST_MEMCHR 1
302b5bf3908Schristos 
303b5bf3908Schristos /* Define to 1 when the gnulib module memmem should be tested. */
304b5bf3908Schristos #define GNULIB_TEST_MEMMEM 1
305b5bf3908Schristos 
306b5bf3908Schristos /* Define to 1 when the gnulib module mempcpy should be tested. */
307b5bf3908Schristos #define GNULIB_TEST_MEMPCPY 1
308b5bf3908Schristos 
309b5bf3908Schristos /* Define to 1 when the gnulib module memrchr should be tested. */
310b5bf3908Schristos #define GNULIB_TEST_MEMRCHR 1
311b5bf3908Schristos 
31215a984a0Schristos /* Define to 1 when the gnulib module mkdir should be tested. */
31315a984a0Schristos #define GNULIB_TEST_MKDIR 1
31415a984a0Schristos 
315b5bf3908Schristos /* Define to 1 when the gnulib module mkdtemp should be tested. */
316b5bf3908Schristos #define GNULIB_TEST_MKDTEMP 1
317b5bf3908Schristos 
318b5bf3908Schristos /* Define to 1 when the gnulib module mkostemp should be tested. */
319b5bf3908Schristos #define GNULIB_TEST_MKOSTEMP 1
320b5bf3908Schristos 
321b5bf3908Schristos /* Define to 1 when the gnulib module open should be tested. */
322b5bf3908Schristos #define GNULIB_TEST_OPEN 1
323b5bf3908Schristos 
324b5bf3908Schristos /* Define to 1 when the gnulib module openat should be tested. */
325b5bf3908Schristos #define GNULIB_TEST_OPENAT 1
326b5bf3908Schristos 
327b5bf3908Schristos /* Define to 1 when the gnulib module opendir should be tested. */
328b5bf3908Schristos #define GNULIB_TEST_OPENDIR 1
329b5bf3908Schristos 
33015a984a0Schristos /* Define to 1 when the gnulib module pipe should be tested. */
33115a984a0Schristos #define GNULIB_TEST_PIPE 1
33215a984a0Schristos 
33315a984a0Schristos /* Define to 1 when the gnulib module printf should be tested. */
33415a984a0Schristos #define GNULIB_TEST_PRINTF 1
33515a984a0Schristos 
33615a984a0Schristos /* Define to 1 when the gnulib module putc should be tested. */
33715a984a0Schristos #define GNULIB_TEST_PUTC 1
33815a984a0Schristos 
33915a984a0Schristos /* Define to 1 when the gnulib module putchar should be tested. */
34015a984a0Schristos #define GNULIB_TEST_PUTCHAR 1
34115a984a0Schristos 
34215a984a0Schristos /* Define to 1 when the gnulib module puts should be tested. */
34315a984a0Schristos #define GNULIB_TEST_PUTS 1
34415a984a0Schristos 
345b5bf3908Schristos /* Define to 1 when the gnulib module rawmemchr should be tested. */
346b5bf3908Schristos #define GNULIB_TEST_RAWMEMCHR 1
347b5bf3908Schristos 
348b5bf3908Schristos /* Define to 1 when the gnulib module readdir should be tested. */
349b5bf3908Schristos #define GNULIB_TEST_READDIR 1
350b5bf3908Schristos 
351b5bf3908Schristos /* Define to 1 when the gnulib module readlink should be tested. */
352b5bf3908Schristos #define GNULIB_TEST_READLINK 1
353b5bf3908Schristos 
354b5bf3908Schristos /* Define to 1 when the gnulib module realloc-posix should be tested. */
355b5bf3908Schristos #define GNULIB_TEST_REALLOC_POSIX 1
356b5bf3908Schristos 
357b5bf3908Schristos /* Define to 1 when the gnulib module realpath should be tested. */
358b5bf3908Schristos #define GNULIB_TEST_REALPATH 1
359b5bf3908Schristos 
360b5bf3908Schristos /* Define to 1 when the gnulib module rename should be tested. */
361b5bf3908Schristos #define GNULIB_TEST_RENAME 1
362b5bf3908Schristos 
363b5bf3908Schristos /* Define to 1 when the gnulib module rewinddir should be tested. */
364b5bf3908Schristos #define GNULIB_TEST_REWINDDIR 1
365b5bf3908Schristos 
366b5bf3908Schristos /* Define to 1 when the gnulib module rmdir should be tested. */
367b5bf3908Schristos #define GNULIB_TEST_RMDIR 1
368b5bf3908Schristos 
36915a984a0Schristos /* Define to 1 when the gnulib module scanf should be tested. */
37015a984a0Schristos #define GNULIB_TEST_SCANF 1
37115a984a0Schristos 
37215a984a0Schristos /* Define to 1 when the gnulib module select should be tested. */
37315a984a0Schristos #define GNULIB_TEST_SELECT 1
37415a984a0Schristos 
375b5bf3908Schristos /* Define to 1 when the gnulib module setenv should be tested. */
376b5bf3908Schristos #define GNULIB_TEST_SETENV 1
377b5bf3908Schristos 
378b5bf3908Schristos /* Define to 1 when the gnulib module setlocale_null should be tested. */
379b5bf3908Schristos #define GNULIB_TEST_SETLOCALE_NULL 1
380b5bf3908Schristos 
38115a984a0Schristos /* Define to 1 when the gnulib module setsockopt should be tested. */
38215a984a0Schristos #define GNULIB_TEST_SETSOCKOPT 1
38315a984a0Schristos 
38415a984a0Schristos /* Define to 1 when the gnulib module socket should be tested. */
38515a984a0Schristos #define GNULIB_TEST_SOCKET 1
38615a984a0Schristos 
387b5bf3908Schristos /* Define to 1 when the gnulib module stat should be tested. */
388b5bf3908Schristos #define GNULIB_TEST_STAT 1
389b5bf3908Schristos 
390b5bf3908Schristos /* Define to 1 when the gnulib module strchrnul should be tested. */
391b5bf3908Schristos #define GNULIB_TEST_STRCHRNUL 1
392b5bf3908Schristos 
393b5bf3908Schristos /* Define to 1 when the gnulib module strdup should be tested. */
394b5bf3908Schristos #define GNULIB_TEST_STRDUP 1
395b5bf3908Schristos 
396b5bf3908Schristos /* Define to 1 when the gnulib module strerror should be tested. */
397b5bf3908Schristos #define GNULIB_TEST_STRERROR 1
398b5bf3908Schristos 
399b5bf3908Schristos /* Define to 1 when the gnulib module strerror_r should be tested. */
400b5bf3908Schristos #define GNULIB_TEST_STRERROR_R 1
401b5bf3908Schristos 
402b5bf3908Schristos /* Define to 1 when the gnulib module strnlen should be tested. */
403b5bf3908Schristos #define GNULIB_TEST_STRNLEN 1
404b5bf3908Schristos 
405b5bf3908Schristos /* Define to 1 when the gnulib module strstr should be tested. */
406b5bf3908Schristos #define GNULIB_TEST_STRSTR 1
407b5bf3908Schristos 
408b5bf3908Schristos /* Define to 1 when the gnulib module strtok_r should be tested. */
409b5bf3908Schristos #define GNULIB_TEST_STRTOK_R 1
410b5bf3908Schristos 
411b5bf3908Schristos /* Define to 1 when the gnulib module time_r should be tested. */
412b5bf3908Schristos #define GNULIB_TEST_TIME_R 1
413b5bf3908Schristos 
414b5bf3908Schristos /* Define to 1 when the gnulib module unsetenv should be tested. */
415b5bf3908Schristos #define GNULIB_TEST_UNSETENV 1
416b5bf3908Schristos 
41715a984a0Schristos /* Define to 1 when the gnulib module vfprintf should be tested. */
41815a984a0Schristos #define GNULIB_TEST_VFPRINTF 1
41915a984a0Schristos 
42015a984a0Schristos /* Define to 1 when the gnulib module vprintf should be tested. */
42115a984a0Schristos #define GNULIB_TEST_VPRINTF 1
42215a984a0Schristos 
423b5bf3908Schristos /* Define to 1 when the gnulib module wmemchr should be tested. */
424b5bf3908Schristos #define GNULIB_TEST_WMEMCHR 1
425b5bf3908Schristos 
426b5bf3908Schristos /* Define to 1 when the gnulib module wmempcpy should be tested. */
427b5bf3908Schristos #define GNULIB_TEST_WMEMPCPY 1
428b5bf3908Schristos 
429b5bf3908Schristos /* Define to 1 if you have 'alloca' after including <alloca.h>, a header that
430b5bf3908Schristos    may be supplied by this distribution. */
431b5bf3908Schristos #define HAVE_ALLOCA 1
432b5bf3908Schristos 
433b5bf3908Schristos /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
434b5bf3908Schristos    */
435b5bf3908Schristos /* #undef HAVE_ALLOCA_H */
436b5bf3908Schristos 
437b5bf3908Schristos /* Define to 1 if you have the <arpa/inet.h> header file. */
438b5bf3908Schristos #define HAVE_ARPA_INET_H 1
439b5bf3908Schristos 
440b5bf3908Schristos /* Define to 1 if you have the <bcrypt.h> header file. */
441b5bf3908Schristos /* #undef HAVE_BCRYPT_H */
442b5bf3908Schristos 
443b5bf3908Schristos /* Define to 1 if you have the <bp-sym.h> header file. */
444b5bf3908Schristos /* #undef HAVE_BP_SYM_H */
445b5bf3908Schristos 
446b5bf3908Schristos /* Define to 1 if you have the `btowc' function. */
447b5bf3908Schristos #define HAVE_BTOWC 1
448b5bf3908Schristos 
449b5bf3908Schristos /* Define to 1 if you have the `canonicalize_file_name' function. */
450b5bf3908Schristos /* #undef HAVE_CANONICALIZE_FILE_NAME */
451b5bf3908Schristos 
452b5bf3908Schristos /* Define to 1 if you have the `catgets' function. */
453b5bf3908Schristos #define HAVE_CATGETS 1
454b5bf3908Schristos 
45515a984a0Schristos /* Define to 1 if you have the `chown' function. */
45615a984a0Schristos #define HAVE_CHOWN 1
45715a984a0Schristos 
45815a984a0Schristos /* Define to 1 if you have the `clock_getres' function. */
45915a984a0Schristos #define HAVE_CLOCK_GETRES 1
46015a984a0Schristos 
46115a984a0Schristos /* Define to 1 if you have the `clock_gettime' function. */
46215a984a0Schristos #define HAVE_CLOCK_GETTIME 1
46315a984a0Schristos 
46415a984a0Schristos /* Define to 1 if you have the `clock_settime' function. */
46515a984a0Schristos #define HAVE_CLOCK_SETTIME 1
46615a984a0Schristos 
467b5bf3908Schristos /* Define to 1 if you have the `closedir' function. */
468b5bf3908Schristos #define HAVE_CLOSEDIR 1
469b5bf3908Schristos 
470b5bf3908Schristos /* Define to 1 if you have the <crtdefs.h> header file. */
471b5bf3908Schristos /* #undef HAVE_CRTDEFS_H */
472b5bf3908Schristos 
47315a984a0Schristos /* Define to 1 if C supports variable-length arrays. */
47415a984a0Schristos #define HAVE_C_VARARRAYS 1
47515a984a0Schristos 
476b5bf3908Schristos /* Define to 1 if you have the declaration of `alarm', and to 0 if you don't.
477b5bf3908Schristos    */
478b5bf3908Schristos #define HAVE_DECL_ALARM 1
479b5bf3908Schristos 
480b5bf3908Schristos /* Define to 1 if you have the declaration of `dirfd', and to 0 if you don't.
481b5bf3908Schristos    */
482b5bf3908Schristos #define HAVE_DECL_DIRFD 1
483b5bf3908Schristos 
48415a984a0Schristos /* Define to 1 if you have the declaration of `ecvt', and to 0 if you don't.
48515a984a0Schristos    */
48615a984a0Schristos #define HAVE_DECL_ECVT 0
48715a984a0Schristos 
48815a984a0Schristos /* Define to 1 if you have the declaration of `execvpe', and to 0 if you
48915a984a0Schristos    don't. */
49015a984a0Schristos #define HAVE_DECL_EXECVPE 1
49115a984a0Schristos 
492b5bf3908Schristos /* Define to 1 if you have the declaration of `fchdir', and to 0 if you don't.
493b5bf3908Schristos    */
494b5bf3908Schristos #define HAVE_DECL_FCHDIR 1
495b5bf3908Schristos 
49615a984a0Schristos /* Define to 1 if you have the declaration of `fcloseall', and to 0 if you
49715a984a0Schristos    don't. */
49815a984a0Schristos #define HAVE_DECL_FCLOSEALL 0
49915a984a0Schristos 
50015a984a0Schristos /* Define to 1 if you have the declaration of `fcvt', and to 0 if you don't.
50115a984a0Schristos    */
50215a984a0Schristos #define HAVE_DECL_FCVT 0
50315a984a0Schristos 
504b5bf3908Schristos /* Define to 1 if you have the declaration of `fdopendir', and to 0 if you
505b5bf3908Schristos    don't. */
506b5bf3908Schristos #define HAVE_DECL_FDOPENDIR 1
507b5bf3908Schristos 
50815a984a0Schristos /* Define to 1 if you have the declaration of `gcvt', and to 0 if you don't.
50915a984a0Schristos    */
51015a984a0Schristos #define HAVE_DECL_GCVT 0
51115a984a0Schristos 
512b5bf3908Schristos /* Define to 1 if you have the declaration of `getcwd', and to 0 if you don't.
513b5bf3908Schristos    */
514b5bf3908Schristos #define HAVE_DECL_GETCWD 1
515b5bf3908Schristos 
51615a984a0Schristos /* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you
51715a984a0Schristos    don't. */
51815a984a0Schristos #define HAVE_DECL_GETC_UNLOCKED 1
51915a984a0Schristos 
52015a984a0Schristos /* Define to 1 if you have the declaration of `getdelim', and to 0 if you
52115a984a0Schristos    don't. */
52215a984a0Schristos #define HAVE_DECL_GETDELIM 1
52315a984a0Schristos 
524b5bf3908Schristos /* Define to 1 if you have the declaration of `getdtablesize', and to 0 if you
525b5bf3908Schristos    don't. */
526b5bf3908Schristos #define HAVE_DECL_GETDTABLESIZE 1
527b5bf3908Schristos 
52815a984a0Schristos /* Define to 1 if you have the declaration of `getline', and to 0 if you
52915a984a0Schristos    don't. */
53015a984a0Schristos #define HAVE_DECL_GETLINE 1
53115a984a0Schristos 
532b5bf3908Schristos /* Define to 1 if you have the declaration of `getlogin', and to 0 if you
533b5bf3908Schristos    don't. */
534b5bf3908Schristos #define HAVE_DECL_GETLOGIN 1
535b5bf3908Schristos 
536b5bf3908Schristos /* Define to 1 if you have the declaration of `getlogin_r', and to 0 if you
537b5bf3908Schristos    don't. */
538b5bf3908Schristos #define HAVE_DECL_GETLOGIN_R 1
539b5bf3908Schristos 
540b5bf3908Schristos /* Define to 1 if you have the declaration of `inet_ntop', and to 0 if you
541b5bf3908Schristos    don't. */
542b5bf3908Schristos #define HAVE_DECL_INET_NTOP 1
543b5bf3908Schristos 
544b5bf3908Schristos /* Define to 1 if you have the declaration of `localtime_r', and to 0 if you
545b5bf3908Schristos    don't. */
546b5bf3908Schristos #define HAVE_DECL_LOCALTIME_R 1
547b5bf3908Schristos 
548b5bf3908Schristos /* Define to 1 if you have the declaration of `mbrtowc', and to 0 if you
549b5bf3908Schristos    don't. */
550b5bf3908Schristos /* #undef HAVE_DECL_MBRTOWC */
551b5bf3908Schristos 
552b5bf3908Schristos /* Define to 1 if you have the declaration of `mbsinit', and to 0 if you
553b5bf3908Schristos    don't. */
554b5bf3908Schristos /* #undef HAVE_DECL_MBSINIT */
555b5bf3908Schristos 
556b5bf3908Schristos /* Define to 1 if you have the declaration of `mbsrtowcs', and to 0 if you
557b5bf3908Schristos    don't. */
558b5bf3908Schristos /* #undef HAVE_DECL_MBSRTOWCS */
559b5bf3908Schristos 
560b5bf3908Schristos /* Define to 1 if you have the declaration of `memmem', and to 0 if you don't.
561b5bf3908Schristos    */
562b5bf3908Schristos #define HAVE_DECL_MEMMEM 1
563b5bf3908Schristos 
564b5bf3908Schristos /* Define to 1 if you have the declaration of `memrchr', and to 0 if you
565b5bf3908Schristos    don't. */
566b5bf3908Schristos #define HAVE_DECL_MEMRCHR 1
567b5bf3908Schristos 
568b5bf3908Schristos /* Define to 1 if you have the declaration of `program_invocation_name', and
569b5bf3908Schristos    to 0 if you don't. */
570b5bf3908Schristos #define HAVE_DECL_PROGRAM_INVOCATION_NAME 0
571b5bf3908Schristos 
572b5bf3908Schristos /* Define to 1 if you have the declaration of `program_invocation_short_name',
573b5bf3908Schristos    and to 0 if you don't. */
574b5bf3908Schristos #define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME 0
575b5bf3908Schristos 
576b5bf3908Schristos /* Define to 1 if you have the declaration of `setenv', and to 0 if you don't.
577b5bf3908Schristos    */
578b5bf3908Schristos #define HAVE_DECL_SETENV 1
579b5bf3908Schristos 
580b5bf3908Schristos /* Define to 1 if you have the declaration of `strdup', and to 0 if you don't.
581b5bf3908Schristos    */
582b5bf3908Schristos #define HAVE_DECL_STRDUP 1
583b5bf3908Schristos 
584b5bf3908Schristos /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
585b5bf3908Schristos    don't. */
586b5bf3908Schristos #define HAVE_DECL_STRERROR_R 1
587b5bf3908Schristos 
588b5bf3908Schristos /* Define to 1 if you have the declaration of `strnlen', and to 0 if you
589b5bf3908Schristos    don't. */
590b5bf3908Schristos #define HAVE_DECL_STRNLEN 1
591b5bf3908Schristos 
592b5bf3908Schristos /* Define to 1 if you have the declaration of `strtok_r', and to 0 if you
593b5bf3908Schristos    don't. */
594b5bf3908Schristos #define HAVE_DECL_STRTOK_R 1
595b5bf3908Schristos 
596b5bf3908Schristos /* Define to 1 if you have the declaration of `towlower', and to 0 if you
597b5bf3908Schristos    don't. */
598b5bf3908Schristos /* #undef HAVE_DECL_TOWLOWER */
599b5bf3908Schristos 
600b5bf3908Schristos /* Define to 1 if you have the declaration of `unsetenv', and to 0 if you
601b5bf3908Schristos    don't. */
602b5bf3908Schristos #define HAVE_DECL_UNSETENV 1
603b5bf3908Schristos 
60415a984a0Schristos /* Define to 1 if you have the declaration of `wcsdup', and to 0 if you don't.
60515a984a0Schristos    */
60615a984a0Schristos #define HAVE_DECL_WCSDUP 1
60715a984a0Schristos 
608b5bf3908Schristos /* Define to 1 if you have the declaration of `__argv', and to 0 if you don't.
609b5bf3908Schristos    */
610b5bf3908Schristos #define HAVE_DECL___ARGV 0
611b5bf3908Schristos 
612b5bf3908Schristos /* Define to 1 if you have the <dirent.h> header file. */
613b5bf3908Schristos #define HAVE_DIRENT_H 1
614b5bf3908Schristos 
615b5bf3908Schristos /* Define to 1 if you have the `dirfd' function. */
616b5bf3908Schristos /* #undef HAVE_DIRFD */
617b5bf3908Schristos 
618b5bf3908Schristos /* Define to 1 if you have the <dlfcn.h> header file. */
619b5bf3908Schristos #define HAVE_DLFCN_H 1
620b5bf3908Schristos 
621b5bf3908Schristos /* Define if you have the declaration of environ. */
622b5bf3908Schristos /* #undef HAVE_ENVIRON_DECL */
623b5bf3908Schristos 
62415a984a0Schristos /* Define to 1 if you have the `faccessat' function. */
62515a984a0Schristos #define HAVE_FACCESSAT 1
62615a984a0Schristos 
627b5bf3908Schristos /* Define to 1 if you have the `fchdir' function. */
628b5bf3908Schristos #define HAVE_FCHDIR 1
629b5bf3908Schristos 
63015a984a0Schristos /* Define to 1 if you have the `fchown' function. */
63115a984a0Schristos #define HAVE_FCHOWN 1
63215a984a0Schristos 
633b5bf3908Schristos /* Define to 1 if you have the `fcntl' function. */
634b5bf3908Schristos #define HAVE_FCNTL 1
635b5bf3908Schristos 
636b5bf3908Schristos /* Define to 1 if you have the `fdopendir' function. */
637b5bf3908Schristos #define HAVE_FDOPENDIR 1
638b5bf3908Schristos 
639b5bf3908Schristos /* Define to 1 if you have the <features.h> header file. */
640b5bf3908Schristos /* #undef HAVE_FEATURES_H */
641b5bf3908Schristos 
64215a984a0Schristos /* Define to 1 if you have the `flockfile' function. */
64315a984a0Schristos #define HAVE_FLOCKFILE 1
64415a984a0Schristos 
645b5bf3908Schristos /* Define to 1 if you have the `fnmatch' function. */
646b5bf3908Schristos #define HAVE_FNMATCH 1
647b5bf3908Schristos 
648b5bf3908Schristos /* Define to 1 if you have the <fnmatch.h> header file. */
649b5bf3908Schristos #define HAVE_FNMATCH_H 1
650b5bf3908Schristos 
65115a984a0Schristos /* Define if the 'free' function is guaranteed to preserve errno. */
65215a984a0Schristos /* #undef HAVE_FREE_POSIX */
65315a984a0Schristos 
654b5bf3908Schristos /* Define if the frexp() function is available and works. */
65515a984a0Schristos /* #undef HAVE_FREXP */
656b5bf3908Schristos 
657b5bf3908Schristos /* Define if the frexpl() function is available. */
658b5bf3908Schristos #define HAVE_FREXPL 1
659b5bf3908Schristos 
660b5bf3908Schristos /* Define to 1 if you have the `fstatat' function. */
661b5bf3908Schristos #define HAVE_FSTATAT 1
662b5bf3908Schristos 
66315a984a0Schristos /* Define to 1 if you have the `funlockfile' function. */
66415a984a0Schristos #define HAVE_FUNLOCKFILE 1
66515a984a0Schristos 
666b5bf3908Schristos /* Define to 1 if you have the `getcwd' function. */
667b5bf3908Schristos #define HAVE_GETCWD 1
668b5bf3908Schristos 
669b5bf3908Schristos /* Define to 1 if getcwd works, but with shorter paths than is generally
670b5bf3908Schristos    tested with the replacement. */
671b5bf3908Schristos /* #undef HAVE_GETCWD_SHORTER */
672b5bf3908Schristos 
67315a984a0Schristos /* Define to 1 if you have the `getdelim' function. */
67415a984a0Schristos #define HAVE_GETDELIM 1
67515a984a0Schristos 
676b5bf3908Schristos /* Define to 1 if you have the `getdtablesize' function. */
677b5bf3908Schristos #define HAVE_GETDTABLESIZE 1
678b5bf3908Schristos 
679b5bf3908Schristos /* Define to 1 if you have the `getexecname' function. */
680b5bf3908Schristos /* #undef HAVE_GETEXECNAME */
681b5bf3908Schristos 
682b5bf3908Schristos /* Define to 1 if you have the `getlogin_r' function. */
683b5bf3908Schristos #define HAVE_GETLOGIN_R 1
684b5bf3908Schristos 
685b5bf3908Schristos /* Define to 1 if the system has the 'getpagesize' function. */
686b5bf3908Schristos /* #undef HAVE_GETPAGESIZE */
687b5bf3908Schristos 
688b5bf3908Schristos /* Define to 1 if you have the `getprogname' function. */
689b5bf3908Schristos #define HAVE_GETPROGNAME 1
690b5bf3908Schristos 
691b5bf3908Schristos /* Define to 1 if you have the `getpwnam_r' function. */
692b5bf3908Schristos #define HAVE_GETPWNAM_R 1
693b5bf3908Schristos 
694b5bf3908Schristos /* Define to 1 if you have the `getrandom' function. */
695b5bf3908Schristos #define HAVE_GETRANDOM 1
696b5bf3908Schristos 
697b5bf3908Schristos /* Define to 1 if you have the `gettimeofday' function. */
698b5bf3908Schristos #define HAVE_GETTIMEOFDAY 1
699b5bf3908Schristos 
700b5bf3908Schristos /* Define to 1 if you have the `glob' function. */
701b5bf3908Schristos #define HAVE_GLOB 1
702b5bf3908Schristos 
703b5bf3908Schristos /* Define to 1 if you have the <glob.h> header file. */
704b5bf3908Schristos #define HAVE_GLOB_H 1
705b5bf3908Schristos 
706b5bf3908Schristos /* Define to 1 if you have the `glob_pattern_p' function. */
707b5bf3908Schristos #define HAVE_GLOB_PATTERN_P 1
708b5bf3908Schristos 
709b5bf3908Schristos /* Define to 1 if you have the `inet_ntop' function. */
710b5bf3908Schristos /* #undef HAVE_INET_NTOP */
711b5bf3908Schristos 
712b5bf3908Schristos /* Define to 1 if you have the <inttypes.h> header file. */
713b5bf3908Schristos #define HAVE_INTTYPES_H 1
714b5bf3908Schristos 
715b5bf3908Schristos /* Define to 1 if <sys/socket.h> defines AF_INET. */
716b5bf3908Schristos #define HAVE_IPV4 1
717b5bf3908Schristos 
718b5bf3908Schristos /* Define to 1 if <sys/socket.h> defines AF_INET6. */
719b5bf3908Schristos #define HAVE_IPV6 1
720b5bf3908Schristos 
721b5bf3908Schristos /* Define to 1 if you have the `isblank' function. */
722b5bf3908Schristos #define HAVE_ISBLANK 1
723b5bf3908Schristos 
724b5bf3908Schristos /* Define if the isnan(double) function is available in libc. */
725b5bf3908Schristos #define HAVE_ISNAND_IN_LIBC 1
726b5bf3908Schristos 
727b5bf3908Schristos /* Define if the isnan(long double) function is available in libc. */
728b5bf3908Schristos #define HAVE_ISNANL_IN_LIBC 1
729b5bf3908Schristos 
730b5bf3908Schristos /* Define to 1 if you have the `iswcntrl' function. */
731b5bf3908Schristos #define HAVE_ISWCNTRL 1
732b5bf3908Schristos 
733b5bf3908Schristos /* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
734b5bf3908Schristos #define HAVE_LANGINFO_CODESET 1
735b5bf3908Schristos 
736b5bf3908Schristos /* Define to 1 if the bcrypt library is guaranteed to be present. */
737b5bf3908Schristos /* #undef HAVE_LIB_BCRYPT */
738b5bf3908Schristos 
739b5bf3908Schristos /* Define to 1 if you have the <limits.h> header file. */
740b5bf3908Schristos #define HAVE_LIMITS_H 1
741b5bf3908Schristos 
742b5bf3908Schristos /* Define to 1 if you have the `link' function. */
743b5bf3908Schristos #define HAVE_LINK 1
744b5bf3908Schristos 
745b5bf3908Schristos /* Define to 1 if you have the `localtime_r' function. */
746b5bf3908Schristos #define HAVE_LOCALTIME_R 1
747b5bf3908Schristos 
748b5bf3908Schristos /* Define to 1 if the system has the type 'long long int'. */
749b5bf3908Schristos #define HAVE_LONG_LONG_INT 1
750b5bf3908Schristos 
751b5bf3908Schristos /* Define to 1 if you have the `lstat' function. */
752b5bf3908Schristos #define HAVE_LSTAT 1
753b5bf3908Schristos 
75415a984a0Schristos /* Define if malloc, realloc, and calloc set errno on allocation failure. */
755b5bf3908Schristos #define HAVE_MALLOC_POSIX 1
756b5bf3908Schristos 
757b5bf3908Schristos /* Define to 1 if mmap()'s MAP_ANONYMOUS flag is available after including
758b5bf3908Schristos    config.h and <sys/mman.h>. */
759b5bf3908Schristos #define HAVE_MAP_ANONYMOUS 1
760b5bf3908Schristos 
761b5bf3908Schristos /* Define to 1 if you have the <math.h> header file. */
762b5bf3908Schristos #define HAVE_MATH_H 1
763b5bf3908Schristos 
764b5bf3908Schristos /* Define to 1 if you have the `mbrtowc' function. */
765b5bf3908Schristos #define HAVE_MBRTOWC 1
766b5bf3908Schristos 
767b5bf3908Schristos /* Define to 1 if you have the `mbsinit' function. */
768b5bf3908Schristos #define HAVE_MBSINIT 1
769b5bf3908Schristos 
770b5bf3908Schristos /* Define to 1 if you have the `mbsrtowcs' function. */
771b5bf3908Schristos #define HAVE_MBSRTOWCS 1
772b5bf3908Schristos 
773b5bf3908Schristos /* Define to 1 if <wchar.h> declares mbstate_t. */
774b5bf3908Schristos #define HAVE_MBSTATE_T 1
775b5bf3908Schristos 
776b5bf3908Schristos /* Define to 1 if you have the `mbtowc' function. */
777b5bf3908Schristos #define HAVE_MBTOWC 1
778b5bf3908Schristos 
779b5bf3908Schristos /* Define to 1 if you have the `memmem' function. */
780b5bf3908Schristos #define HAVE_MEMMEM 1
781b5bf3908Schristos 
782b5bf3908Schristos /* Define to 1 if you have the <memory.h> header file. */
783b5bf3908Schristos #define HAVE_MEMORY_H 1
784b5bf3908Schristos 
785b5bf3908Schristos /* Define to 1 if you have the `mempcpy' function. */
78615a984a0Schristos #define HAVE_MEMPCPY 1
787b5bf3908Schristos 
788b5bf3908Schristos /* Define to 1 if you have the `memrchr' function. */
789b5bf3908Schristos #define HAVE_MEMRCHR 1
790b5bf3908Schristos 
791b5bf3908Schristos /* Define to 1 if getcwd minimally works, that is, its result can be trusted
792b5bf3908Schristos    when it succeeds. */
793b5bf3908Schristos /* #undef HAVE_MINIMALLY_WORKING_GETCWD */
794b5bf3908Schristos 
79515a984a0Schristos /* Define to 1 if you have the <minix/config.h> header file. */
79615a984a0Schristos /* #undef HAVE_MINIX_CONFIG_H */
79715a984a0Schristos 
798b5bf3908Schristos /* Define to 1 if <limits.h> defines the MIN and MAX macros. */
799b5bf3908Schristos /* #undef HAVE_MINMAX_IN_LIMITS_H */
800b5bf3908Schristos 
801b5bf3908Schristos /* Define to 1 if <sys/param.h> defines the MIN and MAX macros. */
802b5bf3908Schristos #define HAVE_MINMAX_IN_SYS_PARAM_H 1
803b5bf3908Schristos 
804b5bf3908Schristos /* Define to 1 if you have the `mkdtemp' function. */
805b5bf3908Schristos #define HAVE_MKDTEMP 1
806b5bf3908Schristos 
807b5bf3908Schristos /* Define to 1 if you have the `mkostemp' function. */
808b5bf3908Schristos #define HAVE_MKOSTEMP 1
809b5bf3908Schristos 
810b5bf3908Schristos /* Define to 1 if you have the `mprotect' function. */
811b5bf3908Schristos #define HAVE_MPROTECT 1
812b5bf3908Schristos 
813b5bf3908Schristos /* Define to 1 on MSVC platforms that have the "invalid parameter handler"
814b5bf3908Schristos    concept. */
815b5bf3908Schristos /* #undef HAVE_MSVC_INVALID_PARAMETER_HANDLER */
816b5bf3908Schristos 
817b5bf3908Schristos /* Define to 1 if you have the <netdb.h> header file. */
818b5bf3908Schristos #define HAVE_NETDB_H 1
819b5bf3908Schristos 
820b5bf3908Schristos /* Define to 1 if you have the <netinet/in.h> header file. */
821b5bf3908Schristos #define HAVE_NETINET_IN_H 1
822b5bf3908Schristos 
823b5bf3908Schristos /* Define to 1 if you have the `openat' function. */
824b5bf3908Schristos #define HAVE_OPENAT 1
825b5bf3908Schristos 
826b5bf3908Schristos /* Define to 1 if you have the `opendir' function. */
827b5bf3908Schristos #define HAVE_OPENDIR 1
828b5bf3908Schristos 
829b5bf3908Schristos /* Define to 1 if getcwd works, except it sometimes fails when it shouldn't,
830b5bf3908Schristos    setting errno to ERANGE, ENAMETOOLONG, or ENOENT. */
831b5bf3908Schristos /* #undef HAVE_PARTLY_WORKING_GETCWD */
832b5bf3908Schristos 
833b5bf3908Schristos /* Define to 1 if you have the `pipe' function. */
834b5bf3908Schristos #define HAVE_PIPE 1
835b5bf3908Schristos 
836b5bf3908Schristos /* Define if you have the <pthread.h> header and the POSIX threads API. */
837b5bf3908Schristos #define HAVE_PTHREAD_API 1
838b5bf3908Schristos 
839b5bf3908Schristos /* Define if the <pthread.h> defines PTHREAD_MUTEX_RECURSIVE. */
840b5bf3908Schristos #define HAVE_PTHREAD_MUTEX_RECURSIVE 1
841b5bf3908Schristos 
842b5bf3908Schristos /* Define if the POSIX multithreading library has read/write locks. */
843b5bf3908Schristos #define HAVE_PTHREAD_RWLOCK 1
844b5bf3908Schristos 
845b5bf3908Schristos /* Define if the 'pthread_rwlock_rdlock' function prefers a writer to a
846b5bf3908Schristos    reader. */
847b5bf3908Schristos /* #undef HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER */
848b5bf3908Schristos 
849b5bf3908Schristos /* Define to 1 if you have the `rawmemchr' function. */
850b5bf3908Schristos /* #undef HAVE_RAWMEMCHR */
851b5bf3908Schristos 
852b5bf3908Schristos /* Define to 1 if you have the `readdir' function. */
853b5bf3908Schristos #define HAVE_READDIR 1
854b5bf3908Schristos 
855b5bf3908Schristos /* Define to 1 if you have the `readlink' function. */
856b5bf3908Schristos #define HAVE_READLINK 1
857b5bf3908Schristos 
858b5bf3908Schristos /* Define to 1 if you have the `realpath' function. */
859b5bf3908Schristos #define HAVE_REALPATH 1
860b5bf3908Schristos 
861b5bf3908Schristos /* Define to 1 if you have the `rewinddir' function. */
862b5bf3908Schristos #define HAVE_REWINDDIR 1
863b5bf3908Schristos 
864b5bf3908Schristos /* Define to 1 if 'long double' and 'double' have the same representation. */
865b5bf3908Schristos /* #undef HAVE_SAME_LONG_DOUBLE_AS_DOUBLE */
866b5bf3908Schristos 
867b5bf3908Schristos /* Define to 1 if the system has the type `sa_family_t'. */
868b5bf3908Schristos #define HAVE_SA_FAMILY_T 1
869b5bf3908Schristos 
87015a984a0Schristos /* Define to 1 if you have the <sdkddkver.h> header file. */
87115a984a0Schristos /* #undef HAVE_SDKDDKVER_H */
87215a984a0Schristos 
873b5bf3908Schristos /* Define to 1 if you have the <search.h> header file. */
874b5bf3908Schristos #define HAVE_SEARCH_H 1
875b5bf3908Schristos 
876b5bf3908Schristos /* Define to 1 if you have the `setdtablesize' function. */
877b5bf3908Schristos /* #undef HAVE_SETDTABLESIZE */
878b5bf3908Schristos 
879b5bf3908Schristos /* Define to 1 if you have the `setenv' function. */
880b5bf3908Schristos #define HAVE_SETENV 1
881b5bf3908Schristos 
882b5bf3908Schristos /* Define to 1 if you have the `shutdown' function. */
883b5bf3908Schristos #define HAVE_SHUTDOWN 1
884b5bf3908Schristos 
885b5bf3908Schristos /* Define to 1 if 'sig_atomic_t' is a signed integer type. */
886b5bf3908Schristos /* #undef HAVE_SIGNED_SIG_ATOMIC_T */
887b5bf3908Schristos 
888b5bf3908Schristos /* Define to 1 if 'wchar_t' is a signed integer type. */
889b5bf3908Schristos /* #undef HAVE_SIGNED_WCHAR_T */
890b5bf3908Schristos 
891b5bf3908Schristos /* Define to 1 if 'wint_t' is a signed integer type. */
892b5bf3908Schristos /* #undef HAVE_SIGNED_WINT_T */
893b5bf3908Schristos 
894b5bf3908Schristos /* Define to 1 if the system has the type `sigset_t'. */
895b5bf3908Schristos #define HAVE_SIGSET_T 1
896b5bf3908Schristos 
897b5bf3908Schristos /* Define to 1 if you have the `snprintf' function. */
898b5bf3908Schristos #define HAVE_SNPRINTF 1
899b5bf3908Schristos 
900b5bf3908Schristos /* Define to 1 if you have the <stdint.h> header file. */
901b5bf3908Schristos #define HAVE_STDINT_H 1
902b5bf3908Schristos 
903b5bf3908Schristos /* Define to 1 if you have the <stdlib.h> header file. */
904b5bf3908Schristos #define HAVE_STDLIB_H 1
905b5bf3908Schristos 
906b5bf3908Schristos /* Define to 1 if you have the `strchrnul' function. */
907b5bf3908Schristos #define HAVE_STRCHRNUL 1
908b5bf3908Schristos 
909b5bf3908Schristos /* Define to 1 if you have the `strerror_r' function. */
910b5bf3908Schristos #define HAVE_STRERROR_R 1
911b5bf3908Schristos 
912b5bf3908Schristos /* Define to 1 if you have the <strings.h> header file. */
913b5bf3908Schristos #define HAVE_STRINGS_H 1
914b5bf3908Schristos 
915b5bf3908Schristos /* Define to 1 if you have the <string.h> header file. */
916b5bf3908Schristos #define HAVE_STRING_H 1
917b5bf3908Schristos 
918b5bf3908Schristos /* Define to 1 if you have the `strtok_r' function. */
919b5bf3908Schristos #define HAVE_STRTOK_R 1
920b5bf3908Schristos 
921b5bf3908Schristos /* Define if there is a member named d_type in the struct describing directory
922b5bf3908Schristos    headers. */
923b5bf3908Schristos #define HAVE_STRUCT_DIRENT_D_TYPE 1
924b5bf3908Schristos 
925b5bf3908Schristos /* Define to 1 if the system has the type `struct sockaddr_storage'. */
926b5bf3908Schristos #define HAVE_STRUCT_SOCKADDR_STORAGE 1
927b5bf3908Schristos 
928b5bf3908Schristos /* Define to 1 if `ss_family' is a member of `struct sockaddr_storage'. */
929b5bf3908Schristos #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1
930b5bf3908Schristos 
931b5bf3908Schristos /* Define to 1 if `st_atimensec' is a member of `struct stat'. */
932b5bf3908Schristos /* #undef HAVE_STRUCT_STAT_ST_ATIMENSEC */
933b5bf3908Schristos 
934b5bf3908Schristos /* Define to 1 if `st_atimespec.tv_nsec' is a member of `struct stat'. */
935b5bf3908Schristos /* #undef HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC */
936b5bf3908Schristos 
937b5bf3908Schristos /* Define to 1 if `st_atim.st__tim.tv_nsec' is a member of `struct stat'. */
938b5bf3908Schristos /* #undef HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC */
939b5bf3908Schristos 
940b5bf3908Schristos /* Define to 1 if `st_atim.tv_nsec' is a member of `struct stat'. */
941b5bf3908Schristos #define HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC 1
942b5bf3908Schristos 
943b5bf3908Schristos /* Define to 1 if `st_birthtimensec' is a member of `struct stat'. */
944b5bf3908Schristos /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC */
945b5bf3908Schristos 
946b5bf3908Schristos /* Define to 1 if `st_birthtimespec.tv_nsec' is a member of `struct stat'. */
947b5bf3908Schristos #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC 1
948b5bf3908Schristos 
949b5bf3908Schristos /* Define to 1 if `st_birthtim.tv_nsec' is a member of `struct stat'. */
950b5bf3908Schristos /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIM_TV_NSEC */
951b5bf3908Schristos 
952b5bf3908Schristos /* Define to 1 if you have the `symlink' function. */
953b5bf3908Schristos #define HAVE_SYMLINK 1
954b5bf3908Schristos 
955b5bf3908Schristos /* Define to 1 if you have the <sys/bitypes.h> header file. */
956b5bf3908Schristos /* #undef HAVE_SYS_BITYPES_H */
957b5bf3908Schristos 
958b5bf3908Schristos /* Define to 1 if you have the <sys/inttypes.h> header file. */
959b5bf3908Schristos /* #undef HAVE_SYS_INTTYPES_H */
960b5bf3908Schristos 
961b5bf3908Schristos /* Define to 1 if you have the <sys/mman.h> header file. */
962b5bf3908Schristos #define HAVE_SYS_MMAN_H 1
963b5bf3908Schristos 
964b5bf3908Schristos /* Define to 1 if you have the <sys/param.h> header file. */
965b5bf3908Schristos #define HAVE_SYS_PARAM_H 1
966b5bf3908Schristos 
967b5bf3908Schristos /* Define to 1 if you have the <sys/random.h> header file. */
968b5bf3908Schristos #define HAVE_SYS_RANDOM_H 1
969b5bf3908Schristos 
97015a984a0Schristos /* Define to 1 if you have the <sys/select.h> header file. */
97115a984a0Schristos #define HAVE_SYS_SELECT_H 1
97215a984a0Schristos 
973b5bf3908Schristos /* Define to 1 if you have the <sys/socket.h> header file. */
974b5bf3908Schristos #define HAVE_SYS_SOCKET_H 1
975b5bf3908Schristos 
976b5bf3908Schristos /* Define to 1 if you have the <sys/stat.h> header file. */
977b5bf3908Schristos #define HAVE_SYS_STAT_H 1
978b5bf3908Schristos 
979b5bf3908Schristos /* Define to 1 if you have the <sys/time.h> header file. */
980b5bf3908Schristos #define HAVE_SYS_TIME_H 1
981b5bf3908Schristos 
982b5bf3908Schristos /* Define to 1 if you have the <sys/types.h> header file. */
983b5bf3908Schristos #define HAVE_SYS_TYPES_H 1
984b5bf3908Schristos 
985b5bf3908Schristos /* Define to 1 if you have the <sys/uio.h> header file. */
986b5bf3908Schristos #define HAVE_SYS_UIO_H 1
987b5bf3908Schristos 
98815a984a0Schristos /* Define to 1 if you have the <sys/wait.h> header file. */
98915a984a0Schristos #define HAVE_SYS_WAIT_H 1
99015a984a0Schristos 
991b5bf3908Schristos /* Define to 1 if you have the `thrd_create' function. */
992b5bf3908Schristos /* #undef HAVE_THRD_CREATE */
993b5bf3908Schristos 
994b5bf3908Schristos /* Define to 1 if you have the <threads.h> header file. */
995b5bf3908Schristos #define HAVE_THREADS_H 1
996b5bf3908Schristos 
997b5bf3908Schristos /* Define to 1 if you have the `towlower' function. */
998b5bf3908Schristos #define HAVE_TOWLOWER 1
999b5bf3908Schristos 
1000b5bf3908Schristos /* Define to 1 if you have the `tsearch' function. */
1001b5bf3908Schristos #define HAVE_TSEARCH 1
1002b5bf3908Schristos 
1003b5bf3908Schristos /* Define to 1 if you have the <unistd.h> header file. */
1004b5bf3908Schristos #define HAVE_UNISTD_H 1
1005b5bf3908Schristos 
1006b5bf3908Schristos /* Define to 1 if you have the `unsetenv' function. */
1007b5bf3908Schristos #define HAVE_UNSETENV 1
1008b5bf3908Schristos 
1009b5bf3908Schristos /* Define to 1 if the system has the type 'unsigned long long int'. */
1010b5bf3908Schristos #define HAVE_UNSIGNED_LONG_LONG_INT 1
1011b5bf3908Schristos 
1012b5bf3908Schristos /* Define if you have a global __progname variable */
1013b5bf3908Schristos #define HAVE_VAR___PROGNAME 1
1014b5bf3908Schristos 
1015b5bf3908Schristos /* Define to 1 or 0, depending whether the compiler supports simple visibility
1016b5bf3908Schristos    declarations. */
1017b5bf3908Schristos #define HAVE_VISIBILITY 1
1018b5bf3908Schristos 
1019b5bf3908Schristos /* Define to 1 if you have the <wchar.h> header file. */
1020b5bf3908Schristos #define HAVE_WCHAR_H 1
1021b5bf3908Schristos 
1022b5bf3908Schristos /* Define if you have the 'wchar_t' type. */
1023b5bf3908Schristos #define HAVE_WCHAR_T 1
1024b5bf3908Schristos 
1025b5bf3908Schristos /* Define to 1 if you have the <wctype.h> header file. */
1026b5bf3908Schristos #define HAVE_WCTYPE_H 1
1027b5bf3908Schristos 
1028b5bf3908Schristos /* Define to 1 if the compiler and linker support weak declarations of
1029b5bf3908Schristos    symbols. */
1030b5bf3908Schristos #define HAVE_WEAK_SYMBOLS 1
1031b5bf3908Schristos 
1032b5bf3908Schristos /* Define to 1 if you have the <windows.h> header file. */
1033b5bf3908Schristos /* #undef HAVE_WINDOWS_H */
1034b5bf3908Schristos 
1035b5bf3908Schristos /* Define to 1 if you have the <winsock2.h> header file. */
1036b5bf3908Schristos /* #undef HAVE_WINSOCK2_H */
1037b5bf3908Schristos 
1038b5bf3908Schristos /* Define if you have the 'wint_t' type. */
1039b5bf3908Schristos #define HAVE_WINT_T 1
1040b5bf3908Schristos 
1041b5bf3908Schristos /* Define to 1 if you have the `wmempcpy' function. */
104215a984a0Schristos #define HAVE_WMEMPCPY 1
1043b5bf3908Schristos 
1044b5bf3908Schristos /* Define to 1 if fstatat (..., 0) works. For example, it does not work in AIX
1045b5bf3908Schristos    7.1. */
104615a984a0Schristos #define HAVE_WORKING_FSTATAT_ZERO_FLAG 1
1047b5bf3908Schristos 
1048b5bf3908Schristos /* Define to 1 if O_NOATIME works. */
1049b5bf3908Schristos #define HAVE_WORKING_O_NOATIME 0
1050b5bf3908Schristos 
1051b5bf3908Schristos /* Define to 1 if O_NOFOLLOW works. */
1052b5bf3908Schristos #define HAVE_WORKING_O_NOFOLLOW 0
1053b5bf3908Schristos 
1054b5bf3908Schristos /* Define to 1 if you have the <ws2tcpip.h> header file. */
1055b5bf3908Schristos /* #undef HAVE_WS2TCPIP_H */
1056b5bf3908Schristos 
1057b5bf3908Schristos /* Define to 1 if you have the <xlocale.h> header file. */
1058b5bf3908Schristos /* #undef HAVE_XLOCALE_H */
1059b5bf3908Schristos 
1060b5bf3908Schristos /* Define to 1 if the system has the type `_Bool'. */
1061b5bf3908Schristos #define HAVE__BOOL 1
1062b5bf3908Schristos 
1063b5bf3908Schristos /* Define to 1 if you have the `_set_invalid_parameter_handler' function. */
1064b5bf3908Schristos /* #undef HAVE__SET_INVALID_PARAMETER_HANDLER */
1065b5bf3908Schristos 
1066b5bf3908Schristos /* Define to 1 if the compiler supports __builtin_expect,
1067b5bf3908Schristos    and to 2 if <builtins.h> does.  */
1068b5bf3908Schristos #define HAVE___BUILTIN_EXPECT 1
1069b5bf3908Schristos #ifndef HAVE___BUILTIN_EXPECT
1070b5bf3908Schristos # define __builtin_expect(e, c) (e)
1071b5bf3908Schristos #elif HAVE___BUILTIN_EXPECT == 2
1072b5bf3908Schristos # include <builtins.h>
1073b5bf3908Schristos #endif
1074b5bf3908Schristos 
1075b5bf3908Schristos 
107615a984a0Schristos /* Define to 1 if ctype.h defines __header_inline. */
107715a984a0Schristos /* #undef HAVE___HEADER_INLINE */
107815a984a0Schristos 
107915a984a0Schristos /* Please see the Gnulib manual for how to use these macros.
108015a984a0Schristos 
108115a984a0Schristos    Suppress extern inline with HP-UX cc, as it appears to be broken; see
108215a984a0Schristos    <https://lists.gnu.org/r/bug-texinfo/2013-02/msg00030.html>.
108315a984a0Schristos 
108415a984a0Schristos    Suppress extern inline with Sun C in standards-conformance mode, as it
108515a984a0Schristos    mishandles inline functions that call each other.  E.g., for 'inline void f
108615a984a0Schristos    (void) { } inline void g (void) { f (); }', c99 incorrectly complains
108715a984a0Schristos    'reference to static identifier "f" in extern inline function'.
108815a984a0Schristos    This bug was observed with Oracle Developer Studio 12.6
108915a984a0Schristos    (Sun C 5.15 SunOS_sparc 2017/05/30).
109015a984a0Schristos 
109115a984a0Schristos    Suppress extern inline (with or without __attribute__ ((__gnu_inline__)))
109215a984a0Schristos    on configurations that mistakenly use 'static inline' to implement
109315a984a0Schristos    functions or macros in standard C headers like <ctype.h>.  For example,
109415a984a0Schristos    if isdigit is mistakenly implemented via a static inline function,
109515a984a0Schristos    a program containing an extern inline function that calls isdigit
109615a984a0Schristos    may not work since the C standard prohibits extern inline functions
109715a984a0Schristos    from calling static functions (ISO C 99 section 6.7.4.(3).
109815a984a0Schristos    This bug is known to occur on:
109915a984a0Schristos 
110015a984a0Schristos      OS X 10.8 and earlier; see:
110115a984a0Schristos      https://lists.gnu.org/r/bug-gnulib/2012-12/msg00023.html
110215a984a0Schristos 
110315a984a0Schristos      DragonFly; see
110415a984a0Schristos      http://muscles.dragonflybsd.org/bulk/clang-master-potential/20141111_102002/logs/ah-tty-0.3.12.log
110515a984a0Schristos 
110615a984a0Schristos      FreeBSD; see:
110715a984a0Schristos      https://lists.gnu.org/r/bug-gnulib/2014-07/msg00104.html
110815a984a0Schristos 
110915a984a0Schristos    OS X 10.9 has a macro __header_inline indicating the bug is fixed for C and
111015a984a0Schristos    for clang but remains for g++; see <https://trac.macports.org/ticket/41033>.
111115a984a0Schristos    Assume DragonFly and FreeBSD will be similar.
111215a984a0Schristos 
111315a984a0Schristos    GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99
111415a984a0Schristos    inline semantics, unless -fgnu89-inline is used.  It defines a macro
111515a984a0Schristos    __GNUC_STDC_INLINE__ to indicate this situation or a macro
111615a984a0Schristos    __GNUC_GNU_INLINE__ to indicate the opposite situation.
111715a984a0Schristos    GCC 4.2 with -std=c99 or -std=gnu99 implements the GNU C inline
111815a984a0Schristos    semantics but warns, unless -fgnu89-inline is used:
111915a984a0Schristos      warning: C99 inline functions are not supported; using GNU89
112015a984a0Schristos      warning: to disable this warning use -fgnu89-inline or the gnu_inline function attribute
112115a984a0Schristos    It defines a macro __GNUC_GNU_INLINE__ to indicate this situation.
112215a984a0Schristos  */
112315a984a0Schristos #if (((defined __APPLE__ && defined __MACH__) \
112415a984a0Schristos       || defined __DragonFly__ || defined __FreeBSD__) \
112515a984a0Schristos      && (defined HAVE___HEADER_INLINE \
112615a984a0Schristos          ? (defined __cplusplus && defined __GNUC_STDC_INLINE__ \
112715a984a0Schristos             && ! defined __clang__) \
112815a984a0Schristos          : ((! defined _DONT_USE_CTYPE_INLINE_ \
112915a984a0Schristos              && (defined __GNUC__ || defined __cplusplus)) \
113015a984a0Schristos             || (defined _FORTIFY_SOURCE && 0 < _FORTIFY_SOURCE \
113115a984a0Schristos                 && defined __GNUC__ && ! defined __cplusplus))))
113215a984a0Schristos # define _GL_EXTERN_INLINE_STDHEADER_BUG
113315a984a0Schristos #endif
113415a984a0Schristos #if ((__GNUC__ \
113515a984a0Schristos       ? defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ \
113615a984a0Schristos       : (199901L <= __STDC_VERSION__ \
113715a984a0Schristos          && !defined __HP_cc \
113815a984a0Schristos          && !defined __PGI \
113915a984a0Schristos          && !(defined __SUNPRO_C && __STDC__))) \
114015a984a0Schristos      && !defined _GL_EXTERN_INLINE_STDHEADER_BUG)
114115a984a0Schristos # define _GL_INLINE inline
114215a984a0Schristos # define _GL_EXTERN_INLINE extern inline
114315a984a0Schristos # define _GL_EXTERN_INLINE_IN_USE
114415a984a0Schristos #elif (2 < __GNUC__ + (7 <= __GNUC_MINOR__) && !defined __STRICT_ANSI__ \
114515a984a0Schristos        && !defined _GL_EXTERN_INLINE_STDHEADER_BUG)
114615a984a0Schristos # if defined __GNUC_GNU_INLINE__ && __GNUC_GNU_INLINE__
114715a984a0Schristos    /* __gnu_inline__ suppresses a GCC 4.2 diagnostic.  */
114815a984a0Schristos #  define _GL_INLINE extern inline __attribute__ ((__gnu_inline__))
114915a984a0Schristos # else
115015a984a0Schristos #  define _GL_INLINE extern inline
115115a984a0Schristos # endif
115215a984a0Schristos # define _GL_EXTERN_INLINE extern
115315a984a0Schristos # define _GL_EXTERN_INLINE_IN_USE
115415a984a0Schristos #else
115515a984a0Schristos # define _GL_INLINE _GL_UNUSED static
115615a984a0Schristos # define _GL_EXTERN_INLINE _GL_UNUSED static
115715a984a0Schristos #endif
115815a984a0Schristos 
115915a984a0Schristos /* In GCC 4.6 (inclusive) to 5.1 (exclusive),
116015a984a0Schristos    suppress bogus "no previous prototype for 'FOO'"
116115a984a0Schristos    and "no previous declaration for 'FOO'" diagnostics,
116215a984a0Schristos    when FOO is an inline function in the header; see
116315a984a0Schristos    <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54113> and
116415a984a0Schristos    <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63877>.  */
116515a984a0Schristos #if __GNUC__ == 4 && 6 <= __GNUC_MINOR__
116615a984a0Schristos # if defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__
116715a984a0Schristos #  define _GL_INLINE_HEADER_CONST_PRAGMA
116815a984a0Schristos # else
116915a984a0Schristos #  define _GL_INLINE_HEADER_CONST_PRAGMA \
117015a984a0Schristos      _Pragma ("GCC diagnostic ignored \"-Wsuggest-attribute=const\"")
117115a984a0Schristos # endif
117215a984a0Schristos # define _GL_INLINE_HEADER_BEGIN \
117315a984a0Schristos     _Pragma ("GCC diagnostic push") \
117415a984a0Schristos     _Pragma ("GCC diagnostic ignored \"-Wmissing-prototypes\"") \
117515a984a0Schristos     _Pragma ("GCC diagnostic ignored \"-Wmissing-declarations\"") \
117615a984a0Schristos     _GL_INLINE_HEADER_CONST_PRAGMA
117715a984a0Schristos # define _GL_INLINE_HEADER_END \
117815a984a0Schristos     _Pragma ("GCC diagnostic pop")
117915a984a0Schristos #else
118015a984a0Schristos # define _GL_INLINE_HEADER_BEGIN
118115a984a0Schristos # define _GL_INLINE_HEADER_END
118215a984a0Schristos #endif
118315a984a0Schristos 
1184b5bf3908Schristos /* Define to 1 if the compiler supports the keyword '__inline'. */
1185b5bf3908Schristos #define HAVE___INLINE 1
1186b5bf3908Schristos 
1187b5bf3908Schristos /* Define to 1 if you have the `__xpg_strerror_r' function. */
1188b5bf3908Schristos /* #undef HAVE___XPG_STRERROR_R */
1189b5bf3908Schristos 
1190b5bf3908Schristos /* Define as the bit index in the word where to find bit 0 of the exponent of
1191b5bf3908Schristos    'long double'. */
1192b5bf3908Schristos /* #undef LDBL_EXPBIT0_BIT */
1193b5bf3908Schristos 
1194b5bf3908Schristos /* Define as the word index where to find the exponent of 'long double'. */
1195b5bf3908Schristos /* #undef LDBL_EXPBIT0_WORD */
1196b5bf3908Schristos 
1197b5bf3908Schristos /* Define to 1 if 'lstat' dereferences a symlink specified with a trailing
1198b5bf3908Schristos    slash. */
119915a984a0Schristos /* #undef LSTAT_FOLLOWS_SLASHED_SYMLINK */
1200b5bf3908Schristos 
1201b5bf3908Schristos /* If malloc(0) is != NULL, define this to 1. Otherwise define this to 0. */
1202b5bf3908Schristos #define MALLOC_0_IS_NONNULL 1
1203b5bf3908Schristos 
1204b5bf3908Schristos /* Define to a substitute value for mmap()'s MAP_ANONYMOUS flag. */
1205b5bf3908Schristos /* #undef MAP_ANONYMOUS */
1206b5bf3908Schristos 
1207b5bf3908Schristos /* Define if the mbrtowc function does not return (size_t) -2 for empty input.
1208b5bf3908Schristos    */
1209b5bf3908Schristos /* #undef MBRTOWC_EMPTY_INPUT_BUG */
1210b5bf3908Schristos 
1211b5bf3908Schristos /* Define if the mbrtowc function may signal encoding errors in the C locale.
1212b5bf3908Schristos    */
121315a984a0Schristos #define MBRTOWC_IN_C_LOCALE_MAYBE_EILSEQ 1
1214b5bf3908Schristos 
1215b5bf3908Schristos /* Define if the mbrtowc function has the NULL pwc argument bug. */
1216b5bf3908Schristos /* #undef MBRTOWC_NULL_ARG1_BUG */
1217b5bf3908Schristos 
1218b5bf3908Schristos /* Define if the mbrtowc function has the NULL string argument bug. */
1219b5bf3908Schristos /* #undef MBRTOWC_NULL_ARG2_BUG */
1220b5bf3908Schristos 
1221b5bf3908Schristos /* Define if the mbrtowc function does not return 0 for a NUL character. */
1222b5bf3908Schristos /* #undef MBRTOWC_NUL_RETVAL_BUG */
1223b5bf3908Schristos 
1224b5bf3908Schristos /* Define if the mbrtowc function returns a wrong return value. */
1225b5bf3908Schristos /* #undef MBRTOWC_RETVAL_BUG */
1226b5bf3908Schristos 
1227b5bf3908Schristos /* Define if the mbrtowc function stores a wide character when reporting
1228b5bf3908Schristos    incomplete input. */
1229b5bf3908Schristos /* #undef MBRTOWC_STORES_INCOMPLETE_BUG */
1230b5bf3908Schristos 
1231b5bf3908Schristos /* Use GNU style printf and scanf.  */
1232b5bf3908Schristos #ifndef __USE_MINGW_ANSI_STDIO
1233b5bf3908Schristos # define __USE_MINGW_ANSI_STDIO 1
1234b5bf3908Schristos #endif
1235b5bf3908Schristos 
1236b5bf3908Schristos 
1237b5bf3908Schristos /* Define to 1 if open() fails to recognize a trailing slash. */
1238b5bf3908Schristos /* #undef OPEN_TRAILING_SLASH_BUG */
1239b5bf3908Schristos 
1240b5bf3908Schristos /* Define to the address where bug reports for this package should be sent. */
1241b5bf3908Schristos #define PACKAGE_BUGREPORT ""
1242b5bf3908Schristos 
1243b5bf3908Schristos /* Define to the full name of this package. */
1244b5bf3908Schristos #define PACKAGE_NAME "libgnu"
1245b5bf3908Schristos 
1246b5bf3908Schristos /* Define to the full name and version of this package. */
1247b5bf3908Schristos #define PACKAGE_STRING "libgnu UNUSED-VERSION"
1248b5bf3908Schristos 
1249b5bf3908Schristos /* Define to the one symbol short name of this package. */
1250b5bf3908Schristos #define PACKAGE_TARNAME "libgnu"
1251b5bf3908Schristos 
1252b5bf3908Schristos /* Define to the home page for this package. */
1253b5bf3908Schristos #define PACKAGE_URL ""
1254b5bf3908Schristos 
1255b5bf3908Schristos /* Define to the version of this package. */
1256b5bf3908Schristos #define PACKAGE_VERSION "UNUSED-VERSION"
1257b5bf3908Schristos 
1258b5bf3908Schristos /* Define to the type that is the result of default argument promotions of
1259b5bf3908Schristos    type mode_t. */
1260b5bf3908Schristos #define PROMOTED_MODE_T mode_t
1261b5bf3908Schristos 
1262b5bf3908Schristos /* Define if the pthread_in_use() detection is hard. */
1263b5bf3908Schristos /* #undef PTHREAD_IN_USE_DETECTION_HARD */
1264b5bf3908Schristos 
1265b5bf3908Schristos /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
1266b5bf3908Schristos    'ptrdiff_t'. */
1267b5bf3908Schristos /* #undef PTRDIFF_T_SUFFIX */
1268b5bf3908Schristos 
1269b5bf3908Schristos /* Define to 1 if readlink fails to recognize a trailing slash. */
127015a984a0Schristos #define READLINK_TRAILING_SLASH_BUG 1
127115a984a0Schristos 
127215a984a0Schristos /* Define to 1 if readlink sets errno instead of truncating a too-long link.
127315a984a0Schristos    */
127415a984a0Schristos #define READLINK_TRUNCATE_BUG 1
1275b5bf3908Schristos 
1276b5bf3908Schristos /* Define if rename does not work when the destination file exists, as on
1277b5bf3908Schristos    Cygwin 1.5 or Windows. */
1278*800f65cfSrin /* #undef RENAME_DEST_EXISTS_BUG */
1279b5bf3908Schristos 
1280b5bf3908Schristos /* Define if rename fails to leave hard links alone, as on NetBSD 1.6 or
1281b5bf3908Schristos    Cygwin 1.5. */
1282*800f65cfSrin /* #undef RENAME_HARD_LINK_BUG */
1283b5bf3908Schristos 
1284b5bf3908Schristos /* Define if rename does not correctly handle slashes on the destination
1285b5bf3908Schristos    argument, such as on Solaris 11 or NetBSD 1.6. */
1286*800f65cfSrin /* #undef RENAME_TRAILING_SLASH_DEST_BUG */
1287b5bf3908Schristos 
1288b5bf3908Schristos /* Define if rename does not correctly handle slashes on the source argument,
1289b5bf3908Schristos    such as on Solaris 9 or cygwin 1.5. */
1290*800f65cfSrin /* #undef RENAME_TRAILING_SLASH_SOURCE_BUG */
1291b5bf3908Schristos 
1292b5bf3908Schristos /* Define to 1 if gnulib's dirfd() replacement is used. */
1293b5bf3908Schristos /* #undef REPLACE_DIRFD */
1294b5bf3908Schristos 
1295b5bf3908Schristos /* Define to 1 if gnulib's fchdir() replacement is used. */
1296b5bf3908Schristos /* #undef REPLACE_FCHDIR */
1297b5bf3908Schristos 
1298b5bf3908Schristos /* Define to 1 if stat needs help when passed a file name with a trailing
1299b5bf3908Schristos    slash */
130015a984a0Schristos #define REPLACE_FUNC_STAT_FILE 1
1301b5bf3908Schristos 
1302b5bf3908Schristos /* Define to 1 if open() should work around the inability to open a directory.
1303b5bf3908Schristos    */
1304b5bf3908Schristos /* #undef REPLACE_OPEN_DIRECTORY */
1305b5bf3908Schristos 
1306b5bf3908Schristos /* Define to 1 if strerror(0) does not return a message implying success. */
1307b5bf3908Schristos #define REPLACE_STRERROR_0 1
1308b5bf3908Schristos 
1309b5bf3908Schristos /* Define to 1 if setlocale (LC_ALL, NULL) is multithread-safe. */
1310b5bf3908Schristos #define SETLOCALE_NULL_ALL_MTSAFE 0
1311b5bf3908Schristos 
1312b5bf3908Schristos /* Define to 1 if setlocale (category, NULL) is multithread-safe. */
1313b5bf3908Schristos #define SETLOCALE_NULL_ONE_MTSAFE 1
1314b5bf3908Schristos 
1315b5bf3908Schristos /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
1316b5bf3908Schristos    'sig_atomic_t'. */
1317b5bf3908Schristos /* #undef SIG_ATOMIC_T_SUFFIX */
1318b5bf3908Schristos 
1319b5bf3908Schristos /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
1320b5bf3908Schristos    'size_t'. */
1321b5bf3908Schristos /* #undef SIZE_T_SUFFIX */
1322b5bf3908Schristos 
1323b5bf3908Schristos /* If using the C implementation of alloca, define if you know the
1324b5bf3908Schristos    direction of stack growth for your system; otherwise it will be
1325b5bf3908Schristos    automatically deduced at runtime.
1326b5bf3908Schristos         STACK_DIRECTION > 0 => grows toward higher addresses
1327b5bf3908Schristos         STACK_DIRECTION < 0 => grows toward lower addresses
1328b5bf3908Schristos         STACK_DIRECTION = 0 => direction of growth unknown */
1329b5bf3908Schristos /* #undef STACK_DIRECTION */
1330b5bf3908Schristos 
1331b5bf3908Schristos /* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
1332b5bf3908Schristos /* #undef STAT_MACROS_BROKEN */
1333b5bf3908Schristos 
1334b5bf3908Schristos /* Define to 1 if you have the ANSI C header files. */
1335b5bf3908Schristos #define STDC_HEADERS 1
1336b5bf3908Schristos 
1337b5bf3908Schristos /* Define to 1 if strerror_r returns char *. */
1338b5bf3908Schristos /* #undef STRERROR_R_CHAR_P */
1339b5bf3908Schristos 
1340b5bf3908Schristos /* Define to 1 if the type of the st_atim member of a struct stat is struct
1341b5bf3908Schristos    timespec. */
1342b5bf3908Schristos #define TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC 1
1343b5bf3908Schristos 
1344b5bf3908Schristos /* Define if the combination of the ISO C and POSIX multithreading APIs can be
1345b5bf3908Schristos    used. */
1346b5bf3908Schristos /* #undef USE_ISOC_AND_POSIX_THREADS */
1347b5bf3908Schristos 
1348b5bf3908Schristos /* Define if the ISO C multithreading library can be used. */
1349b5bf3908Schristos /* #undef USE_ISOC_THREADS */
1350b5bf3908Schristos 
1351b5bf3908Schristos /* Define if the POSIX multithreading library can be used. */
1352b5bf3908Schristos #define USE_POSIX_THREADS 1
1353b5bf3908Schristos 
135415a984a0Schristos /* Define if references to the POSIX multithreading library are satisfied by
135515a984a0Schristos    libc. */
135615a984a0Schristos /* #undef USE_POSIX_THREADS_FROM_LIBC */
135715a984a0Schristos 
1358b5bf3908Schristos /* Define if references to the POSIX multithreading library should be made
1359b5bf3908Schristos    weak. */
1360b5bf3908Schristos #define USE_POSIX_THREADS_WEAK 1
1361b5bf3908Schristos 
1362b5bf3908Schristos /* Enable extensions on AIX 3, Interix.  */
1363b5bf3908Schristos #ifndef _ALL_SOURCE
1364b5bf3908Schristos # define _ALL_SOURCE 1
1365b5bf3908Schristos #endif
1366b5bf3908Schristos /* Enable general extensions on macOS.  */
1367b5bf3908Schristos #ifndef _DARWIN_C_SOURCE
1368b5bf3908Schristos # define _DARWIN_C_SOURCE 1
1369b5bf3908Schristos #endif
137015a984a0Schristos /* Enable general extensions on Solaris.  */
137115a984a0Schristos #ifndef __EXTENSIONS__
137215a984a0Schristos # define __EXTENSIONS__ 1
137315a984a0Schristos #endif
1374b5bf3908Schristos /* Enable GNU extensions on systems that have them.  */
1375b5bf3908Schristos #ifndef _GNU_SOURCE
1376b5bf3908Schristos # define _GNU_SOURCE 1
1377b5bf3908Schristos #endif
137815a984a0Schristos /* Enable X/Open compliant socket functions that do not require linking
137915a984a0Schristos    with -lxnet on HP-UX 11.11.  */
138015a984a0Schristos #ifndef _HPUX_ALT_XOPEN_SOCKET_API
138115a984a0Schristos # define _HPUX_ALT_XOPEN_SOCKET_API 1
138215a984a0Schristos #endif
138315a984a0Schristos /* Identify the host operating system as Minix.
138415a984a0Schristos    This macro does not affect the system headers' behavior.
138515a984a0Schristos    A future release of Autoconf may stop defining this macro.  */
138615a984a0Schristos #ifndef _MINIX
138715a984a0Schristos /* # undef _MINIX */
138815a984a0Schristos #endif
138915a984a0Schristos /* Enable general extensions on NetBSD.
139015a984a0Schristos    Enable NetBSD compatibility extensions on Minix.  */
1391b5bf3908Schristos #ifndef _NETBSD_SOURCE
1392b5bf3908Schristos # define _NETBSD_SOURCE 1
1393b5bf3908Schristos #endif
139415a984a0Schristos /* Enable OpenBSD compatibility extensions on NetBSD.
139515a984a0Schristos    Oddly enough, this does nothing on OpenBSD.  */
1396b5bf3908Schristos #ifndef _OPENBSD_SOURCE
1397b5bf3908Schristos # define _OPENBSD_SOURCE 1
1398b5bf3908Schristos #endif
139915a984a0Schristos /* Define to 1 if needed for POSIX-compatible behavior.  */
140015a984a0Schristos #ifndef _POSIX_SOURCE
140115a984a0Schristos /* # undef _POSIX_SOURCE */
140215a984a0Schristos #endif
140315a984a0Schristos /* Define to 2 if needed for POSIX-compatible behavior.  */
140415a984a0Schristos #ifndef _POSIX_1_SOURCE
140515a984a0Schristos /* # undef _POSIX_1_SOURCE */
140615a984a0Schristos #endif
140715a984a0Schristos /* Enable POSIX-compatible threading on Solaris.  */
1408b5bf3908Schristos #ifndef _POSIX_PTHREAD_SEMANTICS
1409b5bf3908Schristos # define _POSIX_PTHREAD_SEMANTICS 1
1410b5bf3908Schristos #endif
1411b5bf3908Schristos /* Enable extensions specified by ISO/IEC TS 18661-5:2014.  */
1412b5bf3908Schristos #ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__
1413b5bf3908Schristos # define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
1414b5bf3908Schristos #endif
1415b5bf3908Schristos /* Enable extensions specified by ISO/IEC TS 18661-1:2014.  */
1416b5bf3908Schristos #ifndef __STDC_WANT_IEC_60559_BFP_EXT__
1417b5bf3908Schristos # define __STDC_WANT_IEC_60559_BFP_EXT__ 1
1418b5bf3908Schristos #endif
1419b5bf3908Schristos /* Enable extensions specified by ISO/IEC TS 18661-2:2015.  */
1420b5bf3908Schristos #ifndef __STDC_WANT_IEC_60559_DFP_EXT__
1421b5bf3908Schristos # define __STDC_WANT_IEC_60559_DFP_EXT__ 1
1422b5bf3908Schristos #endif
1423b5bf3908Schristos /* Enable extensions specified by ISO/IEC TS 18661-4:2015.  */
1424b5bf3908Schristos #ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__
1425b5bf3908Schristos # define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
1426b5bf3908Schristos #endif
1427b5bf3908Schristos /* Enable extensions specified by ISO/IEC TS 18661-3:2015.  */
1428b5bf3908Schristos #ifndef __STDC_WANT_IEC_60559_TYPES_EXT__
1429b5bf3908Schristos # define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
1430b5bf3908Schristos #endif
1431b5bf3908Schristos /* Enable extensions specified by ISO/IEC TR 24731-2:2010.  */
1432b5bf3908Schristos #ifndef __STDC_WANT_LIB_EXT2__
1433b5bf3908Schristos # define __STDC_WANT_LIB_EXT2__ 1
1434b5bf3908Schristos #endif
1435b5bf3908Schristos /* Enable extensions specified by ISO/IEC 24747:2009.  */
1436b5bf3908Schristos #ifndef __STDC_WANT_MATH_SPEC_FUNCS__
1437b5bf3908Schristos # define __STDC_WANT_MATH_SPEC_FUNCS__ 1
1438b5bf3908Schristos #endif
1439b5bf3908Schristos /* Enable extensions on HP NonStop.  */
1440b5bf3908Schristos #ifndef _TANDEM_SOURCE
1441b5bf3908Schristos # define _TANDEM_SOURCE 1
1442b5bf3908Schristos #endif
144315a984a0Schristos /* Enable X/Open extensions.  Define to 500 only if necessary
144415a984a0Schristos    to make mbstate_t available.  */
1445b5bf3908Schristos #ifndef _XOPEN_SOURCE
1446b5bf3908Schristos /* # undef _XOPEN_SOURCE */
1447b5bf3908Schristos #endif
1448b5bf3908Schristos 
1449b5bf3908Schristos 
1450b5bf3908Schristos /* Define if the native Windows multithreading API can be used. */
1451b5bf3908Schristos /* #undef USE_WINDOWS_THREADS */
1452b5bf3908Schristos 
1453b5bf3908Schristos /* Define to 1 if unsetenv returns void instead of int. */
1454b5bf3908Schristos /* #undef VOID_UNSETENV */
1455b5bf3908Schristos 
1456b5bf3908Schristos /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
1457b5bf3908Schristos    'wchar_t'. */
1458b5bf3908Schristos /* #undef WCHAR_T_SUFFIX */
1459b5bf3908Schristos 
146015a984a0Schristos /* Define if WSAStartup is needed. */
146115a984a0Schristos /* #undef WINDOWS_SOCKETS */
146215a984a0Schristos 
1463b5bf3908Schristos /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
1464b5bf3908Schristos    'wint_t'. */
1465b5bf3908Schristos /* #undef WINT_T_SUFFIX */
1466b5bf3908Schristos 
1467b5bf3908Schristos /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
1468b5bf3908Schristos    significant byte first (like Motorola and SPARC, unlike Intel). */
1469b5bf3908Schristos #if defined AC_APPLE_UNIVERSAL_BUILD
1470b5bf3908Schristos # if defined __BIG_ENDIAN__
1471b5bf3908Schristos #  define WORDS_BIGENDIAN 1
1472b5bf3908Schristos # endif
1473b5bf3908Schristos #else
1474b5bf3908Schristos # ifndef WORDS_BIGENDIAN
1475b5bf3908Schristos #  define WORDS_BIGENDIAN 1
1476b5bf3908Schristos # endif
1477b5bf3908Schristos #endif
1478b5bf3908Schristos 
1479b5bf3908Schristos /* Number of bits in a file offset, on hosts where this is settable. */
1480b5bf3908Schristos /* #undef _FILE_OFFSET_BITS */
1481b5bf3908Schristos 
1482b5bf3908Schristos /* True if the compiler says it groks GNU C version MAJOR.MINOR.  */
1483b5bf3908Schristos #if defined __GNUC__ && defined __GNUC_MINOR__
1484b5bf3908Schristos # define _GL_GNUC_PREREQ(major, minor) \
1485b5bf3908Schristos     ((major) < __GNUC__ + ((minor) <= __GNUC_MINOR__))
1486b5bf3908Schristos #else
1487b5bf3908Schristos # define _GL_GNUC_PREREQ(major, minor) 0
1488b5bf3908Schristos #endif
1489b5bf3908Schristos 
1490b5bf3908Schristos 
149115a984a0Schristos /* Define to enable the declarations of ISO C 11 types and functions. */
149215a984a0Schristos /* #undef _ISOC11_SOURCE */
149315a984a0Schristos 
1494b5bf3908Schristos /* Define for large files, on AIX-style hosts. */
1495b5bf3908Schristos /* #undef _LARGE_FILES */
1496b5bf3908Schristos 
1497b5bf3908Schristos /* Define to 1 on Solaris. */
1498b5bf3908Schristos /* #undef _LCONV_C99 */
1499b5bf3908Schristos 
1500b5bf3908Schristos /* The _Noreturn keyword of C11.  */
1501b5bf3908Schristos #ifndef _Noreturn
1502b5bf3908Schristos # if (defined __cplusplus \
1503b5bf3908Schristos       && ((201103 <= __cplusplus && !(__GNUC__ == 4 && __GNUC_MINOR__ == 7)) \
1504b5bf3908Schristos           || (defined _MSC_VER && 1900 <= _MSC_VER)) \
1505b5bf3908Schristos       && 0)
1506b5bf3908Schristos     /* [[noreturn]] is not practically usable, because with it the syntax
1507b5bf3908Schristos          extern _Noreturn void func (...);
1508b5bf3908Schristos        would not be valid; such a declaration would only be valid with 'extern'
1509b5bf3908Schristos        and '_Noreturn' swapped, or without the 'extern' keyword.  However, some
1510b5bf3908Schristos        AIX system header files and several gnulib header files use precisely
1511b5bf3908Schristos        this syntax with 'extern'.  */
1512b5bf3908Schristos #  define _Noreturn [[noreturn]]
1513b5bf3908Schristos # elif ((!defined __cplusplus || defined __clang__) \
1514b5bf3908Schristos         && (201112 <= (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) \
151515a984a0Schristos             || (!defined __STRICT_ANSI__ \
151615a984a0Schristos                 && (_GL_GNUC_PREREQ (4, 7) \
1517b5bf3908Schristos                     || (defined __apple_build_version__ \
1518b5bf3908Schristos                         ? 6000000 <= __apple_build_version__ \
151915a984a0Schristos                         : 3 < __clang_major__ + (5 <= __clang_minor__))))))
1520b5bf3908Schristos    /* _Noreturn works as-is.  */
152115a984a0Schristos # elif _GL_GNUC_PREREQ (2, 8) || defined __clang__ || 0x5110 <= __SUNPRO_C
1522b5bf3908Schristos #  define _Noreturn __attribute__ ((__noreturn__))
1523b5bf3908Schristos # elif 1200 <= (defined _MSC_VER ? _MSC_VER : 0)
1524b5bf3908Schristos #  define _Noreturn __declspec (noreturn)
1525b5bf3908Schristos # else
1526b5bf3908Schristos #  define _Noreturn
1527b5bf3908Schristos # endif
1528b5bf3908Schristos #endif
1529b5bf3908Schristos 
1530b5bf3908Schristos 
1531b5bf3908Schristos /* Define to 1 in order to get the POSIX compatible declarations of socket
1532b5bf3908Schristos    functions. */
1533b5bf3908Schristos /* #undef _POSIX_PII_SOCKET */
1534b5bf3908Schristos 
153515a984a0Schristos /* Number of bits in a timestamp, on hosts where this is settable. */
153615a984a0Schristos /* #undef _TIME_BITS */
1537b5bf3908Schristos 
1538b5bf3908Schristos /* For standard stat data types on VMS. */
1539b5bf3908Schristos #define _USE_STD_STAT 1
1540b5bf3908Schristos 
154115a984a0Schristos /* For 64-bit time_t on 32-bit mingw. */
154215a984a0Schristos /* #undef __MINGW_USE_VC2005_COMPAT */
154315a984a0Schristos 
1544b5bf3908Schristos /* Define to 1 if the system <stdint.h> predates C++11. */
1545b5bf3908Schristos /* #undef __STDC_CONSTANT_MACROS */
1546b5bf3908Schristos 
1547b5bf3908Schristos /* Define to 1 if the system <stdint.h> predates C++11. */
1548b5bf3908Schristos /* #undef __STDC_LIMIT_MACROS */
1549b5bf3908Schristos 
155015a984a0Schristos /* Define to 1 if C does not support variable-length arrays, and if the
155115a984a0Schristos    compiler does not already define this. */
155215a984a0Schristos /* #undef __STDC_NO_VLA__ */
155315a984a0Schristos 
1554b5bf3908Schristos /* The _GL_ASYNC_SAFE marker should be attached to functions that are
1555b5bf3908Schristos    signal handlers (for signals other than SIGABRT, SIGPIPE) or can be
1556b5bf3908Schristos    invoked from such signal handlers.  Such functions have some restrictions:
1557b5bf3908Schristos      * All functions that it calls should be marked _GL_ASYNC_SAFE as well,
1558b5bf3908Schristos        or should be listed as async-signal-safe in POSIX
1559b5bf3908Schristos        <https://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_04>
1560b5bf3908Schristos        section 2.4.3.  Note that malloc(), sprintf(), and fwrite(), in
1561b5bf3908Schristos        particular, are NOT async-signal-safe.
1562b5bf3908Schristos      * All memory locations (variables and struct fields) that these functions
1563b5bf3908Schristos        access must be marked 'volatile'.  This holds for both read and write
1564b5bf3908Schristos        accesses.  Otherwise the compiler might optimize away stores to and
1565b5bf3908Schristos        reads from such locations that occur in the program, depending on its
1566b5bf3908Schristos        data flow analysis.  For example, when the program contains a loop
1567b5bf3908Schristos        that is intended to inspect a variable set from within a signal handler
1568b5bf3908Schristos            while (!signal_occurred)
1569b5bf3908Schristos              ;
1570b5bf3908Schristos        the compiler is allowed to transform this into an endless loop if the
1571b5bf3908Schristos        variable 'signal_occurred' is not declared 'volatile'.
1572b5bf3908Schristos    Additionally, recall that:
1573b5bf3908Schristos      * A signal handler should not modify errno (except if it is a handler
1574b5bf3908Schristos        for a fatal signal and ends by raising the same signal again, thus
1575b5bf3908Schristos        provoking the termination of the process).  If it invokes a function
1576b5bf3908Schristos        that may clobber errno, it needs to save and restore the value of
1577b5bf3908Schristos        errno.  */
1578b5bf3908Schristos #define _GL_ASYNC_SAFE
1579b5bf3908Schristos 
1580b5bf3908Schristos 
1581b5bf3908Schristos /* Attributes.  */
158215a984a0Schristos #if (defined __has_attribute \
158315a984a0Schristos      && (!defined __clang_minor__ \
158415a984a0Schristos          || (defined __apple_build_version__ \
158515a984a0Schristos              ? 6000000 <= __apple_build_version__ \
158615a984a0Schristos              : 3 < __clang_major__ + (5 <= __clang_minor__))))
1587b5bf3908Schristos # define _GL_HAS_ATTRIBUTE(attr) __has_attribute (__##attr##__)
1588b5bf3908Schristos #else
1589b5bf3908Schristos # define _GL_HAS_ATTRIBUTE(attr) _GL_ATTR_##attr
1590b5bf3908Schristos # define _GL_ATTR_alloc_size _GL_GNUC_PREREQ (4, 3)
1591b5bf3908Schristos # define _GL_ATTR_always_inline _GL_GNUC_PREREQ (3, 2)
1592b5bf3908Schristos # define _GL_ATTR_artificial _GL_GNUC_PREREQ (4, 3)
1593b5bf3908Schristos # define _GL_ATTR_cold _GL_GNUC_PREREQ (4, 3)
1594b5bf3908Schristos # define _GL_ATTR_const _GL_GNUC_PREREQ (2, 95)
1595b5bf3908Schristos # define _GL_ATTR_deprecated _GL_GNUC_PREREQ (3, 1)
159615a984a0Schristos # define _GL_ATTR_diagnose_if 0
1597b5bf3908Schristos # define _GL_ATTR_error _GL_GNUC_PREREQ (4, 3)
1598b5bf3908Schristos # define _GL_ATTR_externally_visible _GL_GNUC_PREREQ (4, 1)
1599b5bf3908Schristos # define _GL_ATTR_fallthrough _GL_GNUC_PREREQ (7, 0)
1600b5bf3908Schristos # define _GL_ATTR_format _GL_GNUC_PREREQ (2, 7)
1601b5bf3908Schristos # define _GL_ATTR_leaf _GL_GNUC_PREREQ (4, 6)
160215a984a0Schristos # define _GL_ATTR_malloc _GL_GNUC_PREREQ (3, 0)
1603b5bf3908Schristos # ifdef _ICC
1604b5bf3908Schristos #  define _GL_ATTR_may_alias 0
1605b5bf3908Schristos # else
1606b5bf3908Schristos #  define _GL_ATTR_may_alias _GL_GNUC_PREREQ (3, 3)
1607b5bf3908Schristos # endif
1608b5bf3908Schristos # define _GL_ATTR_noinline _GL_GNUC_PREREQ (3, 1)
1609b5bf3908Schristos # define _GL_ATTR_nonnull _GL_GNUC_PREREQ (3, 3)
1610b5bf3908Schristos # define _GL_ATTR_nonstring _GL_GNUC_PREREQ (8, 0)
1611b5bf3908Schristos # define _GL_ATTR_nothrow _GL_GNUC_PREREQ (3, 3)
1612b5bf3908Schristos # define _GL_ATTR_packed _GL_GNUC_PREREQ (2, 7)
1613b5bf3908Schristos # define _GL_ATTR_pure _GL_GNUC_PREREQ (2, 96)
1614b5bf3908Schristos # define _GL_ATTR_returns_nonnull _GL_GNUC_PREREQ (4, 9)
1615b5bf3908Schristos # define _GL_ATTR_sentinel _GL_GNUC_PREREQ (4, 0)
1616b5bf3908Schristos # define _GL_ATTR_unused _GL_GNUC_PREREQ (2, 7)
1617b5bf3908Schristos # define _GL_ATTR_warn_unused_result _GL_GNUC_PREREQ (3, 4)
1618b5bf3908Schristos #endif
1619b5bf3908Schristos 
162015a984a0Schristos #ifdef __has_c_attribute
162115a984a0Schristos # if ((defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) <= 201710 \
162215a984a0Schristos       && _GL_GNUC_PREREQ (4, 6))
162315a984a0Schristos #  pragma GCC diagnostic ignored "-Wpedantic"
162415a984a0Schristos # endif
162515a984a0Schristos # define _GL_HAS_C_ATTRIBUTE(attr) __has_c_attribute (__##attr##__)
162615a984a0Schristos #else
162715a984a0Schristos # define _GL_HAS_C_ATTRIBUTE(attr) 0
162815a984a0Schristos #endif
1629b5bf3908Schristos 
163015a984a0Schristos 
163115a984a0Schristos /* _GL_ATTRIBUTE_ALLOC_SIZE ((N)) declares that the Nth argument of the function
163215a984a0Schristos    is the size of the returned memory block.
163315a984a0Schristos    _GL_ATTRIBUTE_ALLOC_SIZE ((M, N)) declares that the Mth argument multiplied
163415a984a0Schristos    by the Nth argument of the function is the size of the returned memory block.
163515a984a0Schristos  */
163615a984a0Schristos /* Applies to: function, pointer to function, function types.  */
1637b5bf3908Schristos #if _GL_HAS_ATTRIBUTE (alloc_size)
1638b5bf3908Schristos # define _GL_ATTRIBUTE_ALLOC_SIZE(args) __attribute__ ((__alloc_size__ args))
1639b5bf3908Schristos #else
1640b5bf3908Schristos # define _GL_ATTRIBUTE_ALLOC_SIZE(args)
1641b5bf3908Schristos #endif
1642b5bf3908Schristos 
164315a984a0Schristos /* _GL_ATTRIBUTE_ALWAYS_INLINE tells that the compiler should always inline the
164415a984a0Schristos    function and report an error if it cannot do so.  */
164515a984a0Schristos /* Applies to: function.  */
1646b5bf3908Schristos #if _GL_HAS_ATTRIBUTE (always_inline)
1647b5bf3908Schristos # define _GL_ATTRIBUTE_ALWAYS_INLINE __attribute__ ((__always_inline__))
1648b5bf3908Schristos #else
1649b5bf3908Schristos # define _GL_ATTRIBUTE_ALWAYS_INLINE
1650b5bf3908Schristos #endif
1651b5bf3908Schristos 
165215a984a0Schristos /* _GL_ATTRIBUTE_ARTIFICIAL declares that the function is not important to show
165315a984a0Schristos     in stack traces when debugging.  The compiler should omit the function from
165415a984a0Schristos     stack traces.  */
165515a984a0Schristos /* Applies to: function.  */
1656b5bf3908Schristos #if _GL_HAS_ATTRIBUTE (artificial)
1657b5bf3908Schristos # define _GL_ATTRIBUTE_ARTIFICIAL __attribute__ ((__artificial__))
1658b5bf3908Schristos #else
1659b5bf3908Schristos # define _GL_ATTRIBUTE_ARTIFICIAL
1660b5bf3908Schristos #endif
1661b5bf3908Schristos 
166215a984a0Schristos /* _GL_ATTRIBUTE_COLD declares that the function is rarely executed.  */
166315a984a0Schristos /* Applies to: functions.  */
1664b5bf3908Schristos /* Avoid __attribute__ ((cold)) on MinGW; see thread starting at
166515a984a0Schristos    <https://lists.gnu.org/r/emacs-devel/2019-04/msg01152.html>.
166615a984a0Schristos    Also, Oracle Studio 12.6 requires 'cold' not '__cold__'.  */
1667b5bf3908Schristos #if _GL_HAS_ATTRIBUTE (cold) && !defined __MINGW32__
166815a984a0Schristos # ifndef __SUNPRO_C
1669b5bf3908Schristos #  define _GL_ATTRIBUTE_COLD __attribute__ ((__cold__))
1670b5bf3908Schristos # else
167115a984a0Schristos #  define _GL_ATTRIBUTE_COLD __attribute__ ((cold))
167215a984a0Schristos # endif
167315a984a0Schristos #else
1674b5bf3908Schristos # define _GL_ATTRIBUTE_COLD
1675b5bf3908Schristos #endif
1676b5bf3908Schristos 
167715a984a0Schristos /* _GL_ATTRIBUTE_CONST declares that it is OK for a compiler to omit duplicate
167815a984a0Schristos    calls to the function with the same arguments.
167915a984a0Schristos    This attribute is safe for a function that neither depends on nor affects
168015a984a0Schristos    observable state, and always returns exactly once - e.g., does not loop
168115a984a0Schristos    forever, and does not call longjmp.
168215a984a0Schristos    (This attribute is stricter than _GL_ATTRIBUTE_PURE.)  */
168315a984a0Schristos /* Applies to: functions.  */
1684b5bf3908Schristos #if _GL_HAS_ATTRIBUTE (const)
1685b5bf3908Schristos # define _GL_ATTRIBUTE_CONST __attribute__ ((__const__))
1686b5bf3908Schristos #else
1687b5bf3908Schristos # define _GL_ATTRIBUTE_CONST
1688b5bf3908Schristos #endif
1689b5bf3908Schristos 
169015a984a0Schristos /* _GL_ATTRIBUTE_DEALLOC (F, I) declares that the function returns pointers
169115a984a0Schristos    that can be freed by passing them as the Ith argument to the
169215a984a0Schristos    function F.
169315a984a0Schristos    _GL_ATTRIBUTE_DEALLOC_FREE declares that the function returns pointers that
169415a984a0Schristos    can be freed via 'free'; it can be used only after declaring 'free'.  */
169515a984a0Schristos /* Applies to: functions.  Cannot be used on inline functions.  */
169615a984a0Schristos /* Disable on Solaris to avoid GDB PR build/29791.  */
169715a984a0Schristos #if _GL_GNUC_PREREQ (11, 0) && !(defined(__sun__) && defined(__svr4__))
169815a984a0Schristos # define _GL_ATTRIBUTE_DEALLOC(f, i) __attribute__ ((__malloc__ (f, i)))
169915a984a0Schristos #else
170015a984a0Schristos # define _GL_ATTRIBUTE_DEALLOC(f, i)
170115a984a0Schristos #endif
170215a984a0Schristos /* If gnulib's <string.h> or <wchar.h> has already defined this macro, continue
170315a984a0Schristos    to use this earlier definition, since <stdlib.h> may not have been included
170415a984a0Schristos    yet.  */
170515a984a0Schristos #ifndef _GL_ATTRIBUTE_DEALLOC_FREE
170615a984a0Schristos # define _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_DEALLOC (free, 1)
170715a984a0Schristos #endif
170815a984a0Schristos 
170915a984a0Schristos /* _GL_ATTRIBUTE_DEPRECATED: Declares that an entity is deprecated.
171015a984a0Schristos    The compiler may warn if the entity is used.  */
171115a984a0Schristos /* Applies to:
171215a984a0Schristos      - function, variable,
171315a984a0Schristos      - struct, union, struct/union member,
171415a984a0Schristos      - enumeration, enumeration item,
171515a984a0Schristos      - typedef,
171615a984a0Schristos    in C++ also: namespace, class, template specialization.  */
171715a984a0Schristos #if _GL_HAS_C_ATTRIBUTE (deprecated)
1718b5bf3908Schristos # define _GL_ATTRIBUTE_DEPRECATED [[__deprecated__]]
1719b5bf3908Schristos #elif _GL_HAS_ATTRIBUTE (deprecated)
1720b5bf3908Schristos # define _GL_ATTRIBUTE_DEPRECATED __attribute__ ((__deprecated__))
1721b5bf3908Schristos #else
1722b5bf3908Schristos # define _GL_ATTRIBUTE_DEPRECATED
1723b5bf3908Schristos #endif
1724b5bf3908Schristos 
172515a984a0Schristos /* _GL_ATTRIBUTE_ERROR(msg) requests an error if a function is called and
172615a984a0Schristos    the function call is not optimized away.
172715a984a0Schristos    _GL_ATTRIBUTE_WARNING(msg) requests a warning if a function is called and
172815a984a0Schristos    the function call is not optimized away.  */
172915a984a0Schristos /* Applies to: functions.  */
1730b5bf3908Schristos #if _GL_HAS_ATTRIBUTE (error)
1731b5bf3908Schristos # define _GL_ATTRIBUTE_ERROR(msg) __attribute__ ((__error__ (msg)))
1732b5bf3908Schristos # define _GL_ATTRIBUTE_WARNING(msg) __attribute__ ((__warning__ (msg)))
173315a984a0Schristos #elif _GL_HAS_ATTRIBUTE (diagnose_if)
173415a984a0Schristos # define _GL_ATTRIBUTE_ERROR(msg) __attribute__ ((__diagnose_if__ (1, msg, "error")))
173515a984a0Schristos # define _GL_ATTRIBUTE_WARNING(msg) __attribute__ ((__diagnose_if__ (1, msg, "warning")))
1736b5bf3908Schristos #else
1737b5bf3908Schristos # define _GL_ATTRIBUTE_ERROR(msg)
1738b5bf3908Schristos # define _GL_ATTRIBUTE_WARNING(msg)
1739b5bf3908Schristos #endif
1740b5bf3908Schristos 
174115a984a0Schristos /* _GL_ATTRIBUTE_EXTERNALLY_VISIBLE declares that the entity should remain
174215a984a0Schristos    visible to debuggers etc., even with '-fwhole-program'.  */
174315a984a0Schristos /* Applies to: functions, variables.  */
1744b5bf3908Schristos #if _GL_HAS_ATTRIBUTE (externally_visible)
1745b5bf3908Schristos # define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE __attribute__ ((externally_visible))
1746b5bf3908Schristos #else
1747b5bf3908Schristos # define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE
1748b5bf3908Schristos #endif
1749b5bf3908Schristos 
175015a984a0Schristos /* _GL_ATTRIBUTE_FALLTHROUGH declares that it is not a programming mistake if
175115a984a0Schristos    the control flow falls through to the immediately following 'case' or
175215a984a0Schristos    'default' label.  The compiler should not warn in this case.  */
175315a984a0Schristos /* Applies to: Empty statement (;), inside a 'switch' statement.  */
175415a984a0Schristos /* Always expands to something.  */
175515a984a0Schristos #if _GL_HAS_C_ATTRIBUTE (fallthrough)
1756b5bf3908Schristos # define _GL_ATTRIBUTE_FALLTHROUGH [[__fallthrough__]]
1757b5bf3908Schristos #elif _GL_HAS_ATTRIBUTE (fallthrough)
1758b5bf3908Schristos # define _GL_ATTRIBUTE_FALLTHROUGH __attribute__ ((__fallthrough__))
1759b5bf3908Schristos #else
1760b5bf3908Schristos # define _GL_ATTRIBUTE_FALLTHROUGH ((void) 0)
1761b5bf3908Schristos #endif
1762b5bf3908Schristos 
176315a984a0Schristos /* _GL_ATTRIBUTE_FORMAT ((ARCHETYPE, STRING-INDEX, FIRST-TO-CHECK))
176415a984a0Schristos    declares that the STRING-INDEXth function argument is a format string of
176515a984a0Schristos    style ARCHETYPE, which is one of:
176615a984a0Schristos      printf, gnu_printf
176715a984a0Schristos      scanf, gnu_scanf,
176815a984a0Schristos      strftime, gnu_strftime,
176915a984a0Schristos      strfmon,
177015a984a0Schristos    or the same thing prefixed and suffixed with '__'.
177115a984a0Schristos    If FIRST-TO-CHECK is not 0, arguments starting at FIRST-TO_CHECK
177215a984a0Schristos    are suitable for the format string.  */
177315a984a0Schristos /* Applies to: functions.  */
1774b5bf3908Schristos #if _GL_HAS_ATTRIBUTE (format)
1775b5bf3908Schristos # define _GL_ATTRIBUTE_FORMAT(spec) __attribute__ ((__format__ spec))
1776b5bf3908Schristos #else
1777b5bf3908Schristos # define _GL_ATTRIBUTE_FORMAT(spec)
1778b5bf3908Schristos #endif
1779b5bf3908Schristos 
178015a984a0Schristos /* _GL_ATTRIBUTE_LEAF declares that if the function is called from some other
178115a984a0Schristos    compilation unit, it executes code from that unit only by return or by
178215a984a0Schristos    exception handling.  This declaration lets the compiler optimize that unit
178315a984a0Schristos    more aggressively.  */
178415a984a0Schristos /* Applies to: functions.  */
1785b5bf3908Schristos #if _GL_HAS_ATTRIBUTE (leaf)
1786b5bf3908Schristos # define _GL_ATTRIBUTE_LEAF __attribute__ ((__leaf__))
1787b5bf3908Schristos #else
1788b5bf3908Schristos # define _GL_ATTRIBUTE_LEAF
1789b5bf3908Schristos #endif
1790b5bf3908Schristos 
179115a984a0Schristos /* _GL_ATTRIBUTE_MALLOC declares that the function returns a pointer to freshly
179215a984a0Schristos    allocated memory.  */
179315a984a0Schristos /* Applies to: functions.  */
1794b5bf3908Schristos #if _GL_HAS_ATTRIBUTE (malloc)
1795b5bf3908Schristos # define _GL_ATTRIBUTE_MALLOC __attribute__ ((__malloc__))
1796b5bf3908Schristos #else
1797b5bf3908Schristos # define _GL_ATTRIBUTE_MALLOC
1798b5bf3908Schristos #endif
1799b5bf3908Schristos 
180015a984a0Schristos /* _GL_ATTRIBUTE_MAY_ALIAS declares that pointers to the type may point to the
180115a984a0Schristos    same storage as pointers to other types.  Thus this declaration disables
180215a984a0Schristos    strict aliasing optimization.  */
180315a984a0Schristos /* Applies to: types.  */
180415a984a0Schristos /* Oracle Studio 12.6 mishandles may_alias despite __has_attribute OK.  */
180515a984a0Schristos #if _GL_HAS_ATTRIBUTE (may_alias) && !defined __SUNPRO_C
180615a984a0Schristos # define _GL_ATTRIBUTE_MAY_ALIAS __attribute__ ((__may_alias__))
180715a984a0Schristos #else
180815a984a0Schristos # define _GL_ATTRIBUTE_MAY_ALIAS
180915a984a0Schristos #endif
181015a984a0Schristos 
181115a984a0Schristos /* _GL_ATTRIBUTE_MAYBE_UNUSED declares that it is not a programming mistake if
181215a984a0Schristos    the entity is not used.  The compiler should not warn if the entity is not
181315a984a0Schristos    used.  */
181415a984a0Schristos /* Applies to:
181515a984a0Schristos      - function, variable,
181615a984a0Schristos      - struct, union, struct/union member,
181715a984a0Schristos      - enumeration, enumeration item,
181815a984a0Schristos      - typedef,
181915a984a0Schristos    in C++ also: class.  */
182015a984a0Schristos /* In C++ and C2x, this is spelled [[__maybe_unused__]].
182115a984a0Schristos    GCC's syntax is __attribute__ ((__unused__)).
182215a984a0Schristos    clang supports both syntaxes.  */
182315a984a0Schristos #if _GL_HAS_C_ATTRIBUTE (maybe_unused)
182415a984a0Schristos # define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]]
182515a984a0Schristos #else
182615a984a0Schristos # define _GL_ATTRIBUTE_MAYBE_UNUSED _GL_ATTRIBUTE_UNUSED
182715a984a0Schristos #endif
182815a984a0Schristos /* Alternative spelling of this macro, for convenience.  */
182915a984a0Schristos #define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED
183015a984a0Schristos /* Earlier spellings of this macro.  */
183115a984a0Schristos #define _UNUSED_PARAMETER_ _GL_ATTRIBUTE_MAYBE_UNUSED
183215a984a0Schristos 
183315a984a0Schristos /* _GL_ATTRIBUTE_NODISCARD declares that the caller of the function should not
183415a984a0Schristos    discard the return value.  The compiler may warn if the caller does not use
183515a984a0Schristos    the return value, unless the caller uses something like ignore_value.  */
183615a984a0Schristos /* Applies to: function, enumeration, class.  */
183715a984a0Schristos #if _GL_HAS_C_ATTRIBUTE (nodiscard)
1838b5bf3908Schristos # define _GL_ATTRIBUTE_NODISCARD [[__nodiscard__]]
1839b5bf3908Schristos #elif _GL_HAS_ATTRIBUTE (warn_unused_result)
1840b5bf3908Schristos # define _GL_ATTRIBUTE_NODISCARD __attribute__ ((__warn_unused_result__))
1841b5bf3908Schristos #else
1842b5bf3908Schristos # define _GL_ATTRIBUTE_NODISCARD
1843b5bf3908Schristos #endif
1844b5bf3908Schristos 
184515a984a0Schristos /* _GL_ATTRIBUTE_NOINLINE tells that the compiler should not inline the
184615a984a0Schristos    function.  */
184715a984a0Schristos /* Applies to: functions.  */
1848b5bf3908Schristos #if _GL_HAS_ATTRIBUTE (noinline)
1849b5bf3908Schristos # define _GL_ATTRIBUTE_NOINLINE __attribute__ ((__noinline__))
1850b5bf3908Schristos #else
1851b5bf3908Schristos # define _GL_ATTRIBUTE_NOINLINE
1852b5bf3908Schristos #endif
1853b5bf3908Schristos 
185415a984a0Schristos /* _GL_ATTRIBUTE_NONNULL ((N1, N2,...)) declares that the arguments N1, N2,...
185515a984a0Schristos    must not be NULL.
185615a984a0Schristos    _GL_ATTRIBUTE_NONNULL () declares that all pointer arguments must not be
185715a984a0Schristos    null.  */
185815a984a0Schristos /* Applies to: functions.  */
1859b5bf3908Schristos #if _GL_HAS_ATTRIBUTE (nonnull)
1860b5bf3908Schristos # define _GL_ATTRIBUTE_NONNULL(args) __attribute__ ((__nonnull__ args))
1861b5bf3908Schristos #else
1862b5bf3908Schristos # define _GL_ATTRIBUTE_NONNULL(args)
1863b5bf3908Schristos #endif
1864b5bf3908Schristos 
186515a984a0Schristos /* _GL_ATTRIBUTE_NONSTRING declares that the contents of a character array is
186615a984a0Schristos    not meant to be NUL-terminated.  */
186715a984a0Schristos /* Applies to: struct/union members and variables that are arrays of element
186815a984a0Schristos    type '[[un]signed] char'.  */
1869b5bf3908Schristos #if _GL_HAS_ATTRIBUTE (nonstring)
1870b5bf3908Schristos # define _GL_ATTRIBUTE_NONSTRING __attribute__ ((__nonstring__))
1871b5bf3908Schristos #else
1872b5bf3908Schristos # define _GL_ATTRIBUTE_NONSTRING
1873b5bf3908Schristos #endif
1874b5bf3908Schristos 
1875b5bf3908Schristos /* There is no _GL_ATTRIBUTE_NORETURN; use _Noreturn instead.  */
1876b5bf3908Schristos 
187715a984a0Schristos /* _GL_ATTRIBUTE_NOTHROW declares that the function does not throw exceptions.
187815a984a0Schristos  */
187915a984a0Schristos /* Applies to: functions.  */
1880b5bf3908Schristos #if _GL_HAS_ATTRIBUTE (nothrow) && !defined __cplusplus
1881b5bf3908Schristos # define _GL_ATTRIBUTE_NOTHROW __attribute__ ((__nothrow__))
1882b5bf3908Schristos #else
1883b5bf3908Schristos # define _GL_ATTRIBUTE_NOTHROW
1884b5bf3908Schristos #endif
1885b5bf3908Schristos 
188615a984a0Schristos /* _GL_ATTRIBUTE_PACKED declares:
188715a984a0Schristos    For struct members: The member has the smallest possible alignment.
188815a984a0Schristos    For struct, union, class: All members have the smallest possible alignment,
188915a984a0Schristos    minimizing the memory required.  */
189015a984a0Schristos /* Applies to: struct members, struct, union,
189115a984a0Schristos    in C++ also: class.  */
1892b5bf3908Schristos #if _GL_HAS_ATTRIBUTE (packed)
1893b5bf3908Schristos # define _GL_ATTRIBUTE_PACKED __attribute__ ((__packed__))
1894b5bf3908Schristos #else
1895b5bf3908Schristos # define _GL_ATTRIBUTE_PACKED
1896b5bf3908Schristos #endif
1897b5bf3908Schristos 
189815a984a0Schristos /* _GL_ATTRIBUTE_PURE declares that It is OK for a compiler to omit duplicate
189915a984a0Schristos    calls to the function with the same arguments if observable state is not
190015a984a0Schristos    changed between calls.
190115a984a0Schristos    This attribute is safe for a function that does not affect
190215a984a0Schristos    observable state, and always returns exactly once.
190315a984a0Schristos    (This attribute is looser than _GL_ATTRIBUTE_CONST.)  */
190415a984a0Schristos /* Applies to: functions.  */
1905b5bf3908Schristos #if _GL_HAS_ATTRIBUTE (pure)
1906b5bf3908Schristos # define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__))
1907b5bf3908Schristos #else
1908b5bf3908Schristos # define _GL_ATTRIBUTE_PURE
1909b5bf3908Schristos #endif
1910b5bf3908Schristos 
191115a984a0Schristos /* _GL_ATTRIBUTE_RETURNS_NONNULL declares that the function's return value is
191215a984a0Schristos    a non-NULL pointer.  */
191315a984a0Schristos /* Applies to: functions.  */
1914b5bf3908Schristos #if _GL_HAS_ATTRIBUTE (returns_nonnull)
1915b5bf3908Schristos # define _GL_ATTRIBUTE_RETURNS_NONNULL __attribute__ ((__returns_nonnull__))
1916b5bf3908Schristos #else
1917b5bf3908Schristos # define _GL_ATTRIBUTE_RETURNS_NONNULL
1918b5bf3908Schristos #endif
1919b5bf3908Schristos 
192015a984a0Schristos /* _GL_ATTRIBUTE_SENTINEL(pos) declares that the variadic function expects a
192115a984a0Schristos    trailing NULL argument.
192215a984a0Schristos    _GL_ATTRIBUTE_SENTINEL () - The last argument is NULL (requires C99).
192315a984a0Schristos    _GL_ATTRIBUTE_SENTINEL ((N)) - The (N+1)st argument from the end is NULL.  */
192415a984a0Schristos /* Applies to: functions.  */
1925b5bf3908Schristos #if _GL_HAS_ATTRIBUTE (sentinel)
1926b5bf3908Schristos # define _GL_ATTRIBUTE_SENTINEL(pos) __attribute__ ((__sentinel__ pos))
1927b5bf3908Schristos #else
1928b5bf3908Schristos # define _GL_ATTRIBUTE_SENTINEL(pos)
1929b5bf3908Schristos #endif
1930b5bf3908Schristos 
193115a984a0Schristos /* A helper macro.  Don't use it directly.  */
193215a984a0Schristos #if _GL_HAS_ATTRIBUTE (unused)
193315a984a0Schristos # define _GL_ATTRIBUTE_UNUSED __attribute__ ((__unused__))
193415a984a0Schristos #else
193515a984a0Schristos # define _GL_ATTRIBUTE_UNUSED
193615a984a0Schristos #endif
1937b5bf3908Schristos 
193815a984a0Schristos 
193915a984a0Schristos /* _GL_UNUSED_LABEL; declares that it is not a programming mistake if the
194015a984a0Schristos    immediately preceding label is not used.  The compiler should not warn
194115a984a0Schristos    if the label is not used.  */
194215a984a0Schristos /* Applies to: label (both in C and C++).  */
194315a984a0Schristos /* Note that g++ < 4.5 does not support the '__attribute__ ((__unused__)) ;'
194415a984a0Schristos    syntax.  But clang does.  */
194515a984a0Schristos #if !(defined __cplusplus && !_GL_GNUC_PREREQ (4, 5)) || defined __clang__
194615a984a0Schristos # define _GL_UNUSED_LABEL _GL_ATTRIBUTE_UNUSED
1947b5bf3908Schristos #else
1948b5bf3908Schristos # define _GL_UNUSED_LABEL
1949b5bf3908Schristos #endif
1950b5bf3908Schristos 
1951b5bf3908Schristos 
1952b5bf3908Schristos /* Define to `int' if <sys/types.h> doesn't define. */
1953b5bf3908Schristos /* #undef gid_t */
1954b5bf3908Schristos 
1955b5bf3908Schristos /* Define to `__inline__' or `__inline' if that's what the C compiler
1956b5bf3908Schristos    calls it, or to nothing if 'inline' is not supported under any name.  */
1957b5bf3908Schristos #ifndef __cplusplus
1958b5bf3908Schristos /* #undef inline */
1959b5bf3908Schristos #endif
1960b5bf3908Schristos 
1961b5bf3908Schristos /* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports
1962b5bf3908Schristos    the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of
1963b5bf3908Schristos    earlier versions), but does not display it by setting __GNUC_STDC_INLINE__.
1964b5bf3908Schristos    __APPLE__ && __MACH__ test for Mac OS X.
1965b5bf3908Schristos    __APPLE_CC__ tests for the Apple compiler and its version.
1966b5bf3908Schristos    __STDC_VERSION__ tests for the C99 mode.  */
1967b5bf3908Schristos #if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__
1968b5bf3908Schristos # define __GNUC_STDC_INLINE__ 1
1969b5bf3908Schristos #endif
1970b5bf3908Schristos 
1971b5bf3908Schristos /* Define to a type if <wchar.h> does not define. */
1972b5bf3908Schristos /* #undef mbstate_t */
1973b5bf3908Schristos 
197415a984a0Schristos /* _GL_CMP (n1, n2) performs a three-valued comparison on n1 vs. n2, where
197515a984a0Schristos    n1 and n2 are expressions without side effects, that evaluate to real
197615a984a0Schristos    numbers (excluding NaN).
197715a984a0Schristos    It returns
197815a984a0Schristos      1  if n1 > n2
197915a984a0Schristos      0  if n1 == n2
198015a984a0Schristos      -1 if n1 < n2
198115a984a0Schristos    The naïve code   (n1 > n2 ? 1 : n1 < n2 ? -1 : 0)  produces a conditional
198215a984a0Schristos    jump with nearly all GCC versions up to GCC 10.
198315a984a0Schristos    This variant     (n1 < n2 ? -1 : n1 > n2)  produces a conditional with many
198415a984a0Schristos    GCC versions up to GCC 9.
198515a984a0Schristos    The better code  (n1 > n2) - (n1 < n2)  from Hacker's Delight § 2-9
198615a984a0Schristos    avoids conditional jumps in all GCC versions >= 3.4.  */
198715a984a0Schristos #define _GL_CMP(n1, n2) (((n1) > (n2)) - ((n1) < (n2)))
198815a984a0Schristos 
198915a984a0Schristos 
1990b5bf3908Schristos /* Define to `int' if <sys/types.h> does not define. */
1991b5bf3908Schristos /* #undef mode_t */
1992b5bf3908Schristos 
1993b5bf3908Schristos /* Define to the type of st_nlink in struct stat, or a supertype. */
1994b5bf3908Schristos /* #undef nlink_t */
1995b5bf3908Schristos 
199615a984a0Schristos /* Define as a signed integer type capable of holding a process identifier. */
1997b5bf3908Schristos /* #undef pid_t */
1998b5bf3908Schristos 
1999b5bf3908Schristos /* Define to the equivalent of the C99 'restrict' keyword, or to
2000b5bf3908Schristos    nothing if this is not supported.  Do not define if restrict is
200115a984a0Schristos    supported only directly.  */
200215a984a0Schristos #define restrict __restrict__
2003b5bf3908Schristos /* Work around a bug in older versions of Sun C++, which did not
2004b5bf3908Schristos    #define __restrict__ or support _Restrict or __restrict__
2005b5bf3908Schristos    even though the corresponding Sun C compiler ended up with
2006b5bf3908Schristos    "#define restrict _Restrict" or "#define restrict __restrict__"
2007b5bf3908Schristos    in the previous line.  This workaround can be removed once
2008b5bf3908Schristos    we assume Oracle Developer Studio 12.5 (2016) or later.  */
2009b5bf3908Schristos #if defined __SUNPRO_CC && !defined __RESTRICT && !defined __restrict__
2010b5bf3908Schristos # define _Restrict
2011b5bf3908Schristos # define __restrict__
2012b5bf3908Schristos #endif
2013b5bf3908Schristos 
2014b5bf3908Schristos /* Define to `unsigned int' if <sys/types.h> does not define. */
2015b5bf3908Schristos /* #undef size_t */
2016b5bf3908Schristos 
2017b5bf3908Schristos /* type to use in place of socklen_t if not defined */
2018b5bf3908Schristos /* #undef socklen_t */
2019b5bf3908Schristos 
2020b5bf3908Schristos /* Define as a signed type of the same size as size_t. */
2021b5bf3908Schristos /* #undef ssize_t */
2022b5bf3908Schristos 
2023b5bf3908Schristos /* Define to `int' if <sys/types.h> doesn't define. */
2024b5bf3908Schristos /* #undef uid_t */
2025