1*56bb7041Schristos /* This file is automatically generated.  DO NOT EDIT! */
2*56bb7041Schristos /* Generated from: NetBSD: mknative-gdb,v 1.15 2020/12/05 21:27:31 christos Exp  */
3*56bb7041Schristos /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp  */
4*56bb7041Schristos 
5*56bb7041Schristos /* config.h.  Generated from config.in by configure.  */
6*56bb7041Schristos /* config.in.  Generated from configure.ac by autoheader.  */
7*56bb7041Schristos 
8*56bb7041Schristos /* Define if building universal (internal helper macro) */
9*56bb7041Schristos /* #undef AC_APPLE_UNIVERSAL_BUILD */
10*56bb7041Schristos 
11*56bb7041Schristos /* Define to the number of bits in type 'ptrdiff_t'. */
12*56bb7041Schristos /* #undef BITSIZEOF_PTRDIFF_T */
13*56bb7041Schristos 
14*56bb7041Schristos /* Define to the number of bits in type 'sig_atomic_t'. */
15*56bb7041Schristos /* #undef BITSIZEOF_SIG_ATOMIC_T */
16*56bb7041Schristos 
17*56bb7041Schristos /* Define to the number of bits in type 'size_t'. */
18*56bb7041Schristos /* #undef BITSIZEOF_SIZE_T */
19*56bb7041Schristos 
20*56bb7041Schristos /* Define to the number of bits in type 'wchar_t'. */
21*56bb7041Schristos /* #undef BITSIZEOF_WCHAR_T */
22*56bb7041Schristos 
23*56bb7041Schristos /* Define to the number of bits in type 'wint_t'. */
24*56bb7041Schristos /* #undef BITSIZEOF_WINT_T */
25*56bb7041Schristos 
26*56bb7041Schristos /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
27*56bb7041Schristos    systems. This function is required for `alloca.c' support on those systems.
28*56bb7041Schristos    */
29*56bb7041Schristos /* #undef CRAY_STACKSEG_END */
30*56bb7041Schristos 
31*56bb7041Schristos /* Define to 1 if using `alloca.c'. */
32*56bb7041Schristos /* #undef C_ALLOCA */
33*56bb7041Schristos 
34*56bb7041Schristos /* Define as the bit index in the word where to find bit 0 of the exponent of
35*56bb7041Schristos    'double'. */
36*56bb7041Schristos #define DBL_EXPBIT0_BIT 20
37*56bb7041Schristos 
38*56bb7041Schristos /* Define as the word index where to find the exponent of 'double'. */
39*56bb7041Schristos #define DBL_EXPBIT0_WORD 1
40*56bb7041Schristos 
41*56bb7041Schristos /* the name of the file descriptor member of DIR */
42*56bb7041Schristos /* #undef DIR_FD_MEMBER_NAME */
43*56bb7041Schristos 
44*56bb7041Schristos #ifdef DIR_FD_MEMBER_NAME
45*56bb7041Schristos # define DIR_TO_FD(Dir_p) ((Dir_p)->DIR_FD_MEMBER_NAME)
46*56bb7041Schristos #else
47*56bb7041Schristos # define DIR_TO_FD(Dir_p) -1
48*56bb7041Schristos #endif
49*56bb7041Schristos 
50*56bb7041Schristos 
51*56bb7041Schristos /* Define to 1 if // is a file system root distinct from /. */
52*56bb7041Schristos /* #undef DOUBLE_SLASH_IS_DISTINCT_ROOT */
53*56bb7041Schristos 
54*56bb7041Schristos /* Define if struct dirent has a member d_ino that actually works. */
55*56bb7041Schristos /* #undef D_INO_IN_DIRENT */
56*56bb7041Schristos 
57*56bb7041Schristos /* Define this to 1 if F_DUPFD behavior does not match POSIX */
58*56bb7041Schristos /* #undef FCNTL_DUPFD_BUGGY */
59*56bb7041Schristos 
60*56bb7041Schristos /* Define to nothing if C supports flexible array members, and to 1 if it does
61*56bb7041Schristos    not. That way, with a declaration like 'struct s { int n; short
62*56bb7041Schristos    d[FLEXIBLE_ARRAY_MEMBER]; };', the struct hack can be used with pre-C99
63*56bb7041Schristos    compilers. Use 'FLEXSIZEOF (struct s, d, N * sizeof (short))' to calculate
64*56bb7041Schristos    the size in bytes of such a struct containing an N-element array. */
65*56bb7041Schristos #define FLEXIBLE_ARRAY_MEMBER /**/
66*56bb7041Schristos 
67*56bb7041Schristos /* Define to 1 if mkdir mistakenly creates a directory given with a trailing
68*56bb7041Schristos    dot component. */
69*56bb7041Schristos /* #undef FUNC_MKDIR_DOT_BUG */
70*56bb7041Schristos 
71*56bb7041Schristos /* Define to 1 if realpath() can malloc memory, always gives an absolute path,
72*56bb7041Schristos    and handles trailing slash correctly. */
73*56bb7041Schristos /* #undef FUNC_REALPATH_WORKS */
74*56bb7041Schristos 
75*56bb7041Schristos /* Define if gettimeofday clobbers the localtime buffer. */
76*56bb7041Schristos /* #undef GETTIMEOFDAY_CLOBBERS_LOCALTIME */
77*56bb7041Schristos 
78*56bb7041Schristos /* Define this to 'void' or 'struct timezone' to match the system's
79*56bb7041Schristos    declaration of the second argument to gettimeofday. */
80*56bb7041Schristos #define GETTIMEOFDAY_TIMEZONE void
81*56bb7041Schristos 
82*56bb7041Schristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
83*56bb7041Schristos    whether the gnulib module canonicalize-lgpl shall be considered present. */
84*56bb7041Schristos #define GNULIB_CANONICALIZE_LGPL 1
85*56bb7041Schristos 
86*56bb7041Schristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
87*56bb7041Schristos    whether the gnulib module fdopendir shall be considered present. */
88*56bb7041Schristos #define GNULIB_FDOPENDIR 1
89*56bb7041Schristos 
90*56bb7041Schristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
91*56bb7041Schristos    whether the gnulib module fd-safer-flag shall be considered present. */
92*56bb7041Schristos #define GNULIB_FD_SAFER_FLAG 1
93*56bb7041Schristos 
94*56bb7041Schristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
95*56bb7041Schristos    whether the gnulib module fnmatch-gnu shall be considered present. */
96*56bb7041Schristos #define GNULIB_FNMATCH_GNU 1
97*56bb7041Schristos 
98*56bb7041Schristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
99*56bb7041Schristos    whether the gnulib module fscanf shall be considered present. */
100*56bb7041Schristos #define GNULIB_FSCANF 1
101*56bb7041Schristos 
102*56bb7041Schristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
103*56bb7041Schristos    whether the gnulib module getcwd shall be considered present. */
104*56bb7041Schristos #define GNULIB_GETCWD 1
105*56bb7041Schristos 
106*56bb7041Schristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
107*56bb7041Schristos    whether the gnulib module isblank shall be considered present. */
108*56bb7041Schristos #define GNULIB_ISBLANK 1
109*56bb7041Schristos 
110*56bb7041Schristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
111*56bb7041Schristos    whether the gnulib module lock shall be considered present. */
112*56bb7041Schristos #define GNULIB_LOCK 1
113*56bb7041Schristos 
114*56bb7041Schristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
115*56bb7041Schristos    whether the gnulib module mkostemp shall be considered present. */
116*56bb7041Schristos #define GNULIB_MKOSTEMP 1
117*56bb7041Schristos 
118*56bb7041Schristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
119*56bb7041Schristos    whether the gnulib module msvc-nothrow shall be considered present. */
120*56bb7041Schristos #define GNULIB_MSVC_NOTHROW 1
121*56bb7041Schristos 
122*56bb7041Schristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
123*56bb7041Schristos    whether the gnulib module openat shall be considered present. */
124*56bb7041Schristos #define GNULIB_OPENAT 1
125*56bb7041Schristos 
126*56bb7041Schristos /* Define to 1 if printf and friends should be labeled with attribute
127*56bb7041Schristos    "__gnu_printf__" instead of "__printf__" */
128*56bb7041Schristos /* #undef GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU */
129*56bb7041Schristos 
130*56bb7041Schristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
131*56bb7041Schristos    whether the gnulib module scanf shall be considered present. */
132*56bb7041Schristos #define GNULIB_SCANF 1
133*56bb7041Schristos 
134*56bb7041Schristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
135*56bb7041Schristos    whether the gnulib module strerror shall be considered present. */
136*56bb7041Schristos #define GNULIB_STRERROR 1
137*56bb7041Schristos 
138*56bb7041Schristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
139*56bb7041Schristos    whether the gnulib module strerror_r-posix shall be considered present. */
140*56bb7041Schristos #define GNULIB_STRERROR_R_POSIX 1
141*56bb7041Schristos 
142*56bb7041Schristos /* Define to 1 when the gnulib module btowc should be tested. */
143*56bb7041Schristos #define GNULIB_TEST_BTOWC 1
144*56bb7041Schristos 
145*56bb7041Schristos /* Define to 1 when the gnulib module canonicalize_file_name should be tested.
146*56bb7041Schristos    */
147*56bb7041Schristos #define GNULIB_TEST_CANONICALIZE_FILE_NAME 1
148*56bb7041Schristos 
149*56bb7041Schristos /* Define to 1 when the gnulib module chdir should be tested. */
150*56bb7041Schristos #define GNULIB_TEST_CHDIR 1
151*56bb7041Schristos 
152*56bb7041Schristos /* Define to 1 when the gnulib module cloexec should be tested. */
153*56bb7041Schristos #define GNULIB_TEST_CLOEXEC 1
154*56bb7041Schristos 
155*56bb7041Schristos /* Define to 1 when the gnulib module close should be tested. */
156*56bb7041Schristos #define GNULIB_TEST_CLOSE 1
157*56bb7041Schristos 
158*56bb7041Schristos /* Define to 1 when the gnulib module closedir should be tested. */
159*56bb7041Schristos #define GNULIB_TEST_CLOSEDIR 1
160*56bb7041Schristos 
161*56bb7041Schristos /* Define to 1 when the gnulib module dirfd should be tested. */
162*56bb7041Schristos #define GNULIB_TEST_DIRFD 1
163*56bb7041Schristos 
164*56bb7041Schristos /* Define to 1 when the gnulib module dup should be tested. */
165*56bb7041Schristos #define GNULIB_TEST_DUP 1
166*56bb7041Schristos 
167*56bb7041Schristos /* Define to 1 when the gnulib module dup2 should be tested. */
168*56bb7041Schristos #define GNULIB_TEST_DUP2 1
169*56bb7041Schristos 
170*56bb7041Schristos /* Define to 1 when the gnulib module environ should be tested. */
171*56bb7041Schristos #define GNULIB_TEST_ENVIRON 1
172*56bb7041Schristos 
173*56bb7041Schristos /* Define to 1 when the gnulib module fchdir should be tested. */
174*56bb7041Schristos #define GNULIB_TEST_FCHDIR 1
175*56bb7041Schristos 
176*56bb7041Schristos /* Define to 1 when the gnulib module fcntl should be tested. */
177*56bb7041Schristos #define GNULIB_TEST_FCNTL 1
178*56bb7041Schristos 
179*56bb7041Schristos /* Define to 1 when the gnulib module fdopendir should be tested. */
180*56bb7041Schristos #define GNULIB_TEST_FDOPENDIR 1
181*56bb7041Schristos 
182*56bb7041Schristos /* Define to 1 when the gnulib module fnmatch should be tested. */
183*56bb7041Schristos #define GNULIB_TEST_FNMATCH 1
184*56bb7041Schristos 
185*56bb7041Schristos /* Define to 1 when the gnulib module frexp should be tested. */
186*56bb7041Schristos #define GNULIB_TEST_FREXP 1
187*56bb7041Schristos 
188*56bb7041Schristos /* Define to 1 when the gnulib module frexpl should be tested. */
189*56bb7041Schristos #define GNULIB_TEST_FREXPL 1
190*56bb7041Schristos 
191*56bb7041Schristos /* Define to 1 when the gnulib module fstat should be tested. */
192*56bb7041Schristos #define GNULIB_TEST_FSTAT 1
193*56bb7041Schristos 
194*56bb7041Schristos /* Define to 1 when the gnulib module fstatat should be tested. */
195*56bb7041Schristos #define GNULIB_TEST_FSTATAT 1
196*56bb7041Schristos 
197*56bb7041Schristos /* Define to 1 when the gnulib module getcwd should be tested. */
198*56bb7041Schristos #define GNULIB_TEST_GETCWD 1
199*56bb7041Schristos 
200*56bb7041Schristos /* Define to 1 when the gnulib module getdtablesize should be tested. */
201*56bb7041Schristos #define GNULIB_TEST_GETDTABLESIZE 1
202*56bb7041Schristos 
203*56bb7041Schristos /* Define to 1 when the gnulib module getlogin_r should be tested. */
204*56bb7041Schristos #define GNULIB_TEST_GETLOGIN_R 1
205*56bb7041Schristos 
206*56bb7041Schristos /* Define to 1 when the gnulib module getrandom should be tested. */
207*56bb7041Schristos #define GNULIB_TEST_GETRANDOM 1
208*56bb7041Schristos 
209*56bb7041Schristos /* Define to 1 when the gnulib module gettimeofday should be tested. */
210*56bb7041Schristos #define GNULIB_TEST_GETTIMEOFDAY 1
211*56bb7041Schristos 
212*56bb7041Schristos /* Define to 1 when the gnulib module glob should be tested. */
213*56bb7041Schristos #define GNULIB_TEST_GLOB 1
214*56bb7041Schristos 
215*56bb7041Schristos /* Define to 1 when the gnulib module lstat should be tested. */
216*56bb7041Schristos #define GNULIB_TEST_LSTAT 1
217*56bb7041Schristos 
218*56bb7041Schristos /* Define to 1 when the gnulib module malloc-posix should be tested. */
219*56bb7041Schristos #define GNULIB_TEST_MALLOC_POSIX 1
220*56bb7041Schristos 
221*56bb7041Schristos /* Define to 1 when the gnulib module mbrtowc should be tested. */
222*56bb7041Schristos #define GNULIB_TEST_MBRTOWC 1
223*56bb7041Schristos 
224*56bb7041Schristos /* Define to 1 when the gnulib module mbsinit should be tested. */
225*56bb7041Schristos #define GNULIB_TEST_MBSINIT 1
226*56bb7041Schristos 
227*56bb7041Schristos /* Define to 1 when the gnulib module mbsrtowcs should be tested. */
228*56bb7041Schristos #define GNULIB_TEST_MBSRTOWCS 1
229*56bb7041Schristos 
230*56bb7041Schristos /* Define to 1 when the gnulib module mbtowc should be tested. */
231*56bb7041Schristos #define GNULIB_TEST_MBTOWC 1
232*56bb7041Schristos 
233*56bb7041Schristos /* Define to 1 when the gnulib module memchr should be tested. */
234*56bb7041Schristos #define GNULIB_TEST_MEMCHR 1
235*56bb7041Schristos 
236*56bb7041Schristos /* Define to 1 when the gnulib module memmem should be tested. */
237*56bb7041Schristos #define GNULIB_TEST_MEMMEM 1
238*56bb7041Schristos 
239*56bb7041Schristos /* Define to 1 when the gnulib module mempcpy should be tested. */
240*56bb7041Schristos #define GNULIB_TEST_MEMPCPY 1
241*56bb7041Schristos 
242*56bb7041Schristos /* Define to 1 when the gnulib module memrchr should be tested. */
243*56bb7041Schristos #define GNULIB_TEST_MEMRCHR 1
244*56bb7041Schristos 
245*56bb7041Schristos /* Define to 1 when the gnulib module mkdtemp should be tested. */
246*56bb7041Schristos #define GNULIB_TEST_MKDTEMP 1
247*56bb7041Schristos 
248*56bb7041Schristos /* Define to 1 when the gnulib module mkostemp should be tested. */
249*56bb7041Schristos #define GNULIB_TEST_MKOSTEMP 1
250*56bb7041Schristos 
251*56bb7041Schristos /* Define to 1 when the gnulib module open should be tested. */
252*56bb7041Schristos #define GNULIB_TEST_OPEN 1
253*56bb7041Schristos 
254*56bb7041Schristos /* Define to 1 when the gnulib module openat should be tested. */
255*56bb7041Schristos #define GNULIB_TEST_OPENAT 1
256*56bb7041Schristos 
257*56bb7041Schristos /* Define to 1 when the gnulib module opendir should be tested. */
258*56bb7041Schristos #define GNULIB_TEST_OPENDIR 1
259*56bb7041Schristos 
260*56bb7041Schristos /* Define to 1 when the gnulib module rawmemchr should be tested. */
261*56bb7041Schristos #define GNULIB_TEST_RAWMEMCHR 1
262*56bb7041Schristos 
263*56bb7041Schristos /* Define to 1 when the gnulib module readdir should be tested. */
264*56bb7041Schristos #define GNULIB_TEST_READDIR 1
265*56bb7041Schristos 
266*56bb7041Schristos /* Define to 1 when the gnulib module readlink should be tested. */
267*56bb7041Schristos #define GNULIB_TEST_READLINK 1
268*56bb7041Schristos 
269*56bb7041Schristos /* Define to 1 when the gnulib module realloc-posix should be tested. */
270*56bb7041Schristos #define GNULIB_TEST_REALLOC_POSIX 1
271*56bb7041Schristos 
272*56bb7041Schristos /* Define to 1 when the gnulib module realpath should be tested. */
273*56bb7041Schristos #define GNULIB_TEST_REALPATH 1
274*56bb7041Schristos 
275*56bb7041Schristos /* Define to 1 when the gnulib module rename should be tested. */
276*56bb7041Schristos #define GNULIB_TEST_RENAME 1
277*56bb7041Schristos 
278*56bb7041Schristos /* Define to 1 when the gnulib module rewinddir should be tested. */
279*56bb7041Schristos #define GNULIB_TEST_REWINDDIR 1
280*56bb7041Schristos 
281*56bb7041Schristos /* Define to 1 when the gnulib module rmdir should be tested. */
282*56bb7041Schristos #define GNULIB_TEST_RMDIR 1
283*56bb7041Schristos 
284*56bb7041Schristos /* Define to 1 when the gnulib module setenv should be tested. */
285*56bb7041Schristos #define GNULIB_TEST_SETENV 1
286*56bb7041Schristos 
287*56bb7041Schristos /* Define to 1 when the gnulib module setlocale_null should be tested. */
288*56bb7041Schristos #define GNULIB_TEST_SETLOCALE_NULL 1
289*56bb7041Schristos 
290*56bb7041Schristos /* Define to 1 when the gnulib module stat should be tested. */
291*56bb7041Schristos #define GNULIB_TEST_STAT 1
292*56bb7041Schristos 
293*56bb7041Schristos /* Define to 1 when the gnulib module strchrnul should be tested. */
294*56bb7041Schristos #define GNULIB_TEST_STRCHRNUL 1
295*56bb7041Schristos 
296*56bb7041Schristos /* Define to 1 when the gnulib module strdup should be tested. */
297*56bb7041Schristos #define GNULIB_TEST_STRDUP 1
298*56bb7041Schristos 
299*56bb7041Schristos /* Define to 1 when the gnulib module strerror should be tested. */
300*56bb7041Schristos #define GNULIB_TEST_STRERROR 1
301*56bb7041Schristos 
302*56bb7041Schristos /* Define to 1 when the gnulib module strerror_r should be tested. */
303*56bb7041Schristos #define GNULIB_TEST_STRERROR_R 1
304*56bb7041Schristos 
305*56bb7041Schristos /* Define to 1 when the gnulib module strnlen should be tested. */
306*56bb7041Schristos #define GNULIB_TEST_STRNLEN 1
307*56bb7041Schristos 
308*56bb7041Schristos /* Define to 1 when the gnulib module strstr should be tested. */
309*56bb7041Schristos #define GNULIB_TEST_STRSTR 1
310*56bb7041Schristos 
311*56bb7041Schristos /* Define to 1 when the gnulib module strtok_r should be tested. */
312*56bb7041Schristos #define GNULIB_TEST_STRTOK_R 1
313*56bb7041Schristos 
314*56bb7041Schristos /* Define to 1 when the gnulib module time_r should be tested. */
315*56bb7041Schristos #define GNULIB_TEST_TIME_R 1
316*56bb7041Schristos 
317*56bb7041Schristos /* Define to 1 when the gnulib module unsetenv should be tested. */
318*56bb7041Schristos #define GNULIB_TEST_UNSETENV 1
319*56bb7041Schristos 
320*56bb7041Schristos /* Define to 1 when the gnulib module wmemchr should be tested. */
321*56bb7041Schristos #define GNULIB_TEST_WMEMCHR 1
322*56bb7041Schristos 
323*56bb7041Schristos /* Define to 1 when the gnulib module wmempcpy should be tested. */
324*56bb7041Schristos #define GNULIB_TEST_WMEMPCPY 1
325*56bb7041Schristos 
326*56bb7041Schristos /* Define to 1 if you have 'alloca' after including <alloca.h>, a header that
327*56bb7041Schristos    may be supplied by this distribution. */
328*56bb7041Schristos #define HAVE_ALLOCA 1
329*56bb7041Schristos 
330*56bb7041Schristos /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
331*56bb7041Schristos    */
332*56bb7041Schristos /* #undef HAVE_ALLOCA_H */
333*56bb7041Schristos 
334*56bb7041Schristos /* Define to 1 if you have the <arpa/inet.h> header file. */
335*56bb7041Schristos #define HAVE_ARPA_INET_H 1
336*56bb7041Schristos 
337*56bb7041Schristos /* Define to 1 if you have the <bcrypt.h> header file. */
338*56bb7041Schristos /* #undef HAVE_BCRYPT_H */
339*56bb7041Schristos 
340*56bb7041Schristos /* Define to 1 if you have the <bp-sym.h> header file. */
341*56bb7041Schristos /* #undef HAVE_BP_SYM_H */
342*56bb7041Schristos 
343*56bb7041Schristos /* Define to 1 if you have the `btowc' function. */
344*56bb7041Schristos #define HAVE_BTOWC 1
345*56bb7041Schristos 
346*56bb7041Schristos /* Define to 1 if you have the `canonicalize_file_name' function. */
347*56bb7041Schristos /* #undef HAVE_CANONICALIZE_FILE_NAME */
348*56bb7041Schristos 
349*56bb7041Schristos /* Define to 1 if you have the `catgets' function. */
350*56bb7041Schristos #define HAVE_CATGETS 1
351*56bb7041Schristos 
352*56bb7041Schristos /* Define to 1 if you have the `closedir' function. */
353*56bb7041Schristos #define HAVE_CLOSEDIR 1
354*56bb7041Schristos 
355*56bb7041Schristos /* Define to 1 if you have the <crtdefs.h> header file. */
356*56bb7041Schristos /* #undef HAVE_CRTDEFS_H */
357*56bb7041Schristos 
358*56bb7041Schristos /* Define to 1 if you have the declaration of `alarm', and to 0 if you don't.
359*56bb7041Schristos    */
360*56bb7041Schristos #define HAVE_DECL_ALARM 1
361*56bb7041Schristos 
362*56bb7041Schristos /* Define to 1 if you have the declaration of `dirfd', and to 0 if you don't.
363*56bb7041Schristos    */
364*56bb7041Schristos #define HAVE_DECL_DIRFD 1
365*56bb7041Schristos 
366*56bb7041Schristos /* Define to 1 if you have the declaration of `fchdir', and to 0 if you don't.
367*56bb7041Schristos    */
368*56bb7041Schristos #define HAVE_DECL_FCHDIR 1
369*56bb7041Schristos 
370*56bb7041Schristos /* Define to 1 if you have the declaration of `fdopendir', and to 0 if you
371*56bb7041Schristos    don't. */
372*56bb7041Schristos #define HAVE_DECL_FDOPENDIR 1
373*56bb7041Schristos 
374*56bb7041Schristos /* Define to 1 if you have the declaration of `getcwd', and to 0 if you don't.
375*56bb7041Schristos    */
376*56bb7041Schristos #define HAVE_DECL_GETCWD 1
377*56bb7041Schristos 
378*56bb7041Schristos /* Define to 1 if you have the declaration of `getdtablesize', and to 0 if you
379*56bb7041Schristos    don't. */
380*56bb7041Schristos #define HAVE_DECL_GETDTABLESIZE 1
381*56bb7041Schristos 
382*56bb7041Schristos /* Define to 1 if you have the declaration of `getlogin', and to 0 if you
383*56bb7041Schristos    don't. */
384*56bb7041Schristos #define HAVE_DECL_GETLOGIN 1
385*56bb7041Schristos 
386*56bb7041Schristos /* Define to 1 if you have the declaration of `getlogin_r', and to 0 if you
387*56bb7041Schristos    don't. */
388*56bb7041Schristos #define HAVE_DECL_GETLOGIN_R 1
389*56bb7041Schristos 
390*56bb7041Schristos /* Define to 1 if you have the declaration of `inet_ntop', and to 0 if you
391*56bb7041Schristos    don't. */
392*56bb7041Schristos #define HAVE_DECL_INET_NTOP 1
393*56bb7041Schristos 
394*56bb7041Schristos /* Define to 1 if you have the declaration of `localtime_r', and to 0 if you
395*56bb7041Schristos    don't. */
396*56bb7041Schristos #define HAVE_DECL_LOCALTIME_R 1
397*56bb7041Schristos 
398*56bb7041Schristos /* Define to 1 if you have the declaration of `mbrtowc', and to 0 if you
399*56bb7041Schristos    don't. */
400*56bb7041Schristos /* #undef HAVE_DECL_MBRTOWC */
401*56bb7041Schristos 
402*56bb7041Schristos /* Define to 1 if you have the declaration of `mbsinit', and to 0 if you
403*56bb7041Schristos    don't. */
404*56bb7041Schristos /* #undef HAVE_DECL_MBSINIT */
405*56bb7041Schristos 
406*56bb7041Schristos /* Define to 1 if you have the declaration of `mbsrtowcs', and to 0 if you
407*56bb7041Schristos    don't. */
408*56bb7041Schristos /* #undef HAVE_DECL_MBSRTOWCS */
409*56bb7041Schristos 
410*56bb7041Schristos /* Define to 1 if you have the declaration of `memmem', and to 0 if you don't.
411*56bb7041Schristos    */
412*56bb7041Schristos #define HAVE_DECL_MEMMEM 1
413*56bb7041Schristos 
414*56bb7041Schristos /* Define to 1 if you have the declaration of `memrchr', and to 0 if you
415*56bb7041Schristos    don't. */
416*56bb7041Schristos #define HAVE_DECL_MEMRCHR 1
417*56bb7041Schristos 
418*56bb7041Schristos /* Define to 1 if you have the declaration of `program_invocation_name', and
419*56bb7041Schristos    to 0 if you don't. */
420*56bb7041Schristos #define HAVE_DECL_PROGRAM_INVOCATION_NAME 0
421*56bb7041Schristos 
422*56bb7041Schristos /* Define to 1 if you have the declaration of `program_invocation_short_name',
423*56bb7041Schristos    and to 0 if you don't. */
424*56bb7041Schristos #define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME 0
425*56bb7041Schristos 
426*56bb7041Schristos /* Define to 1 if you have the declaration of `setenv', and to 0 if you don't.
427*56bb7041Schristos    */
428*56bb7041Schristos #define HAVE_DECL_SETENV 1
429*56bb7041Schristos 
430*56bb7041Schristos /* Define to 1 if you have the declaration of `strdup', and to 0 if you don't.
431*56bb7041Schristos    */
432*56bb7041Schristos #define HAVE_DECL_STRDUP 1
433*56bb7041Schristos 
434*56bb7041Schristos /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
435*56bb7041Schristos    don't. */
436*56bb7041Schristos #define HAVE_DECL_STRERROR_R 1
437*56bb7041Schristos 
438*56bb7041Schristos /* Define to 1 if you have the declaration of `strnlen', and to 0 if you
439*56bb7041Schristos    don't. */
440*56bb7041Schristos #define HAVE_DECL_STRNLEN 1
441*56bb7041Schristos 
442*56bb7041Schristos /* Define to 1 if you have the declaration of `strtok_r', and to 0 if you
443*56bb7041Schristos    don't. */
444*56bb7041Schristos #define HAVE_DECL_STRTOK_R 1
445*56bb7041Schristos 
446*56bb7041Schristos /* Define to 1 if you have the declaration of `towlower', and to 0 if you
447*56bb7041Schristos    don't. */
448*56bb7041Schristos /* #undef HAVE_DECL_TOWLOWER */
449*56bb7041Schristos 
450*56bb7041Schristos /* Define to 1 if you have the declaration of `unsetenv', and to 0 if you
451*56bb7041Schristos    don't. */
452*56bb7041Schristos #define HAVE_DECL_UNSETENV 1
453*56bb7041Schristos 
454*56bb7041Schristos /* Define to 1 if you have the declaration of `__argv', and to 0 if you don't.
455*56bb7041Schristos    */
456*56bb7041Schristos #define HAVE_DECL___ARGV 0
457*56bb7041Schristos 
458*56bb7041Schristos /* Define to 1 if you have the <dirent.h> header file. */
459*56bb7041Schristos #define HAVE_DIRENT_H 1
460*56bb7041Schristos 
461*56bb7041Schristos /* Define to 1 if you have the `dirfd' function. */
462*56bb7041Schristos /* #undef HAVE_DIRFD */
463*56bb7041Schristos 
464*56bb7041Schristos /* Define to 1 if you have the <dlfcn.h> header file. */
465*56bb7041Schristos #define HAVE_DLFCN_H 1
466*56bb7041Schristos 
467*56bb7041Schristos /* Define to 1 if you have the 'dup2' function. */
468*56bb7041Schristos #define HAVE_DUP2 1
469*56bb7041Schristos 
470*56bb7041Schristos /* Define if you have the declaration of environ. */
471*56bb7041Schristos /* #undef HAVE_ENVIRON_DECL */
472*56bb7041Schristos 
473*56bb7041Schristos /* Define to 1 if you have the `fchdir' function. */
474*56bb7041Schristos #define HAVE_FCHDIR 1
475*56bb7041Schristos 
476*56bb7041Schristos /* Define to 1 if you have the `fcntl' function. */
477*56bb7041Schristos #define HAVE_FCNTL 1
478*56bb7041Schristos 
479*56bb7041Schristos /* Define to 1 if you have the `fdopendir' function. */
480*56bb7041Schristos #define HAVE_FDOPENDIR 1
481*56bb7041Schristos 
482*56bb7041Schristos /* Define to 1 if you have the <features.h> header file. */
483*56bb7041Schristos /* #undef HAVE_FEATURES_H */
484*56bb7041Schristos 
485*56bb7041Schristos /* Define to 1 if you have the `fnmatch' function. */
486*56bb7041Schristos #define HAVE_FNMATCH 1
487*56bb7041Schristos 
488*56bb7041Schristos /* Define to 1 if you have the <fnmatch.h> header file. */
489*56bb7041Schristos #define HAVE_FNMATCH_H 1
490*56bb7041Schristos 
491*56bb7041Schristos /* Define if the frexp() function is available and works. */
492*56bb7041Schristos #define HAVE_FREXP 1
493*56bb7041Schristos 
494*56bb7041Schristos /* Define if the frexpl() function is available. */
495*56bb7041Schristos #define HAVE_FREXPL 1
496*56bb7041Schristos 
497*56bb7041Schristos /* Define to 1 if you have the `fstatat' function. */
498*56bb7041Schristos #define HAVE_FSTATAT 1
499*56bb7041Schristos 
500*56bb7041Schristos /* Define to 1 if you have the `getcwd' function. */
501*56bb7041Schristos #define HAVE_GETCWD 1
502*56bb7041Schristos 
503*56bb7041Schristos /* Define to 1 if getcwd works, but with shorter paths than is generally
504*56bb7041Schristos    tested with the replacement. */
505*56bb7041Schristos /* #undef HAVE_GETCWD_SHORTER */
506*56bb7041Schristos 
507*56bb7041Schristos /* Define to 1 if you have the `getdtablesize' function. */
508*56bb7041Schristos #define HAVE_GETDTABLESIZE 1
509*56bb7041Schristos 
510*56bb7041Schristos /* Define to 1 if you have the `getexecname' function. */
511*56bb7041Schristos /* #undef HAVE_GETEXECNAME */
512*56bb7041Schristos 
513*56bb7041Schristos /* Define to 1 if you have the `getlogin_r' function. */
514*56bb7041Schristos #define HAVE_GETLOGIN_R 1
515*56bb7041Schristos 
516*56bb7041Schristos /* Define to 1 if the system has the 'getpagesize' function. */
517*56bb7041Schristos /* #undef HAVE_GETPAGESIZE */
518*56bb7041Schristos 
519*56bb7041Schristos /* Define to 1 if you have the `getprogname' function. */
520*56bb7041Schristos #define HAVE_GETPROGNAME 1
521*56bb7041Schristos 
522*56bb7041Schristos /* Define to 1 if you have the `getpwnam_r' function. */
523*56bb7041Schristos #define HAVE_GETPWNAM_R 1
524*56bb7041Schristos 
525*56bb7041Schristos /* Define to 1 if you have the `getrandom' function. */
526*56bb7041Schristos #define HAVE_GETRANDOM 1
527*56bb7041Schristos 
528*56bb7041Schristos /* Define to 1 if you have the `gettimeofday' function. */
529*56bb7041Schristos #define HAVE_GETTIMEOFDAY 1
530*56bb7041Schristos 
531*56bb7041Schristos /* Define to 1 if you have the `glob' function. */
532*56bb7041Schristos #define HAVE_GLOB 1
533*56bb7041Schristos 
534*56bb7041Schristos /* Define to 1 if you have the <glob.h> header file. */
535*56bb7041Schristos #define HAVE_GLOB_H 1
536*56bb7041Schristos 
537*56bb7041Schristos /* Define to 1 if you have the `glob_pattern_p' function. */
538*56bb7041Schristos #define HAVE_GLOB_PATTERN_P 1
539*56bb7041Schristos 
540*56bb7041Schristos /* Define to 1 if you have the `inet_ntop' function. */
541*56bb7041Schristos /* #undef HAVE_INET_NTOP */
542*56bb7041Schristos 
543*56bb7041Schristos /* Define to 1 if you have the <inttypes.h> header file. */
544*56bb7041Schristos #define HAVE_INTTYPES_H 1
545*56bb7041Schristos 
546*56bb7041Schristos /* Define to 1 if <sys/socket.h> defines AF_INET. */
547*56bb7041Schristos #define HAVE_IPV4 1
548*56bb7041Schristos 
549*56bb7041Schristos /* Define to 1 if <sys/socket.h> defines AF_INET6. */
550*56bb7041Schristos #define HAVE_IPV6 1
551*56bb7041Schristos 
552*56bb7041Schristos /* Define to 1 if you have the `isblank' function. */
553*56bb7041Schristos #define HAVE_ISBLANK 1
554*56bb7041Schristos 
555*56bb7041Schristos /* Define if the isnan(double) function is available in libc. */
556*56bb7041Schristos #define HAVE_ISNAND_IN_LIBC 1
557*56bb7041Schristos 
558*56bb7041Schristos /* Define if the isnan(long double) function is available in libc. */
559*56bb7041Schristos #define HAVE_ISNANL_IN_LIBC 1
560*56bb7041Schristos 
561*56bb7041Schristos /* Define to 1 if you have the `iswcntrl' function. */
562*56bb7041Schristos #define HAVE_ISWCNTRL 1
563*56bb7041Schristos 
564*56bb7041Schristos /* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
565*56bb7041Schristos #define HAVE_LANGINFO_CODESET 1
566*56bb7041Schristos 
567*56bb7041Schristos /* Define to 1 if the bcrypt library is guaranteed to be present. */
568*56bb7041Schristos /* #undef HAVE_LIB_BCRYPT */
569*56bb7041Schristos 
570*56bb7041Schristos /* Define to 1 if you have the <limits.h> header file. */
571*56bb7041Schristos #define HAVE_LIMITS_H 1
572*56bb7041Schristos 
573*56bb7041Schristos /* Define to 1 if you have the `link' function. */
574*56bb7041Schristos #define HAVE_LINK 1
575*56bb7041Schristos 
576*56bb7041Schristos /* Define to 1 if you have the `localtime_r' function. */
577*56bb7041Schristos #define HAVE_LOCALTIME_R 1
578*56bb7041Schristos 
579*56bb7041Schristos /* Define to 1 if the system has the type 'long long int'. */
580*56bb7041Schristos #define HAVE_LONG_LONG_INT 1
581*56bb7041Schristos 
582*56bb7041Schristos /* Define to 1 if you have the `lstat' function. */
583*56bb7041Schristos #define HAVE_LSTAT 1
584*56bb7041Schristos 
585*56bb7041Schristos /* Define if the 'malloc' function is POSIX compliant. */
586*56bb7041Schristos #define HAVE_MALLOC_POSIX 1
587*56bb7041Schristos 
588*56bb7041Schristos /* Define to 1 if mmap()'s MAP_ANONYMOUS flag is available after including
589*56bb7041Schristos    config.h and <sys/mman.h>. */
590*56bb7041Schristos #define HAVE_MAP_ANONYMOUS 1
591*56bb7041Schristos 
592*56bb7041Schristos /* Define to 1 if you have the <math.h> header file. */
593*56bb7041Schristos #define HAVE_MATH_H 1
594*56bb7041Schristos 
595*56bb7041Schristos /* Define to 1 if you have the `mbrtowc' function. */
596*56bb7041Schristos #define HAVE_MBRTOWC 1
597*56bb7041Schristos 
598*56bb7041Schristos /* Define to 1 if you have the `mbsinit' function. */
599*56bb7041Schristos #define HAVE_MBSINIT 1
600*56bb7041Schristos 
601*56bb7041Schristos /* Define to 1 if you have the `mbsrtowcs' function. */
602*56bb7041Schristos #define HAVE_MBSRTOWCS 1
603*56bb7041Schristos 
604*56bb7041Schristos /* Define to 1 if <wchar.h> declares mbstate_t. */
605*56bb7041Schristos #define HAVE_MBSTATE_T 1
606*56bb7041Schristos 
607*56bb7041Schristos /* Define to 1 if you have the `mbtowc' function. */
608*56bb7041Schristos #define HAVE_MBTOWC 1
609*56bb7041Schristos 
610*56bb7041Schristos /* Define to 1 if you have the `memmem' function. */
611*56bb7041Schristos #define HAVE_MEMMEM 1
612*56bb7041Schristos 
613*56bb7041Schristos /* Define to 1 if you have the <memory.h> header file. */
614*56bb7041Schristos #define HAVE_MEMORY_H 1
615*56bb7041Schristos 
616*56bb7041Schristos /* Define to 1 if you have the `mempcpy' function. */
617*56bb7041Schristos /* #undef HAVE_MEMPCPY */
618*56bb7041Schristos 
619*56bb7041Schristos /* Define to 1 if you have the `memrchr' function. */
620*56bb7041Schristos #define HAVE_MEMRCHR 1
621*56bb7041Schristos 
622*56bb7041Schristos /* Define to 1 if getcwd minimally works, that is, its result can be trusted
623*56bb7041Schristos    when it succeeds. */
624*56bb7041Schristos /* #undef HAVE_MINIMALLY_WORKING_GETCWD */
625*56bb7041Schristos 
626*56bb7041Schristos /* Define to 1 if <limits.h> defines the MIN and MAX macros. */
627*56bb7041Schristos /* #undef HAVE_MINMAX_IN_LIMITS_H */
628*56bb7041Schristos 
629*56bb7041Schristos /* Define to 1 if <sys/param.h> defines the MIN and MAX macros. */
630*56bb7041Schristos #define HAVE_MINMAX_IN_SYS_PARAM_H 1
631*56bb7041Schristos 
632*56bb7041Schristos /* Define to 1 if you have the `mkdtemp' function. */
633*56bb7041Schristos #define HAVE_MKDTEMP 1
634*56bb7041Schristos 
635*56bb7041Schristos /* Define to 1 if you have the `mkostemp' function. */
636*56bb7041Schristos #define HAVE_MKOSTEMP 1
637*56bb7041Schristos 
638*56bb7041Schristos /* Define to 1 if you have the `mprotect' function. */
639*56bb7041Schristos #define HAVE_MPROTECT 1
640*56bb7041Schristos 
641*56bb7041Schristos /* Define to 1 on MSVC platforms that have the "invalid parameter handler"
642*56bb7041Schristos    concept. */
643*56bb7041Schristos /* #undef HAVE_MSVC_INVALID_PARAMETER_HANDLER */
644*56bb7041Schristos 
645*56bb7041Schristos /* Define to 1 if you have the <netdb.h> header file. */
646*56bb7041Schristos #define HAVE_NETDB_H 1
647*56bb7041Schristos 
648*56bb7041Schristos /* Define to 1 if you have the <netinet/in.h> header file. */
649*56bb7041Schristos #define HAVE_NETINET_IN_H 1
650*56bb7041Schristos 
651*56bb7041Schristos /* Define to 1 if you have the `openat' function. */
652*56bb7041Schristos #define HAVE_OPENAT 1
653*56bb7041Schristos 
654*56bb7041Schristos /* Define to 1 if you have the `opendir' function. */
655*56bb7041Schristos #define HAVE_OPENDIR 1
656*56bb7041Schristos 
657*56bb7041Schristos /* Define to 1 if getcwd works, except it sometimes fails when it shouldn't,
658*56bb7041Schristos    setting errno to ERANGE, ENAMETOOLONG, or ENOENT. */
659*56bb7041Schristos /* #undef HAVE_PARTLY_WORKING_GETCWD */
660*56bb7041Schristos 
661*56bb7041Schristos /* Define to 1 if you have the `pipe' function. */
662*56bb7041Schristos #define HAVE_PIPE 1
663*56bb7041Schristos 
664*56bb7041Schristos /* Define if you have the <pthread.h> header and the POSIX threads API. */
665*56bb7041Schristos #define HAVE_PTHREAD_API 1
666*56bb7041Schristos 
667*56bb7041Schristos /* Define if the <pthread.h> defines PTHREAD_MUTEX_RECURSIVE. */
668*56bb7041Schristos #define HAVE_PTHREAD_MUTEX_RECURSIVE 1
669*56bb7041Schristos 
670*56bb7041Schristos /* Define if the POSIX multithreading library has read/write locks. */
671*56bb7041Schristos #define HAVE_PTHREAD_RWLOCK 1
672*56bb7041Schristos 
673*56bb7041Schristos /* Define if the 'pthread_rwlock_rdlock' function prefers a writer to a
674*56bb7041Schristos    reader. */
675*56bb7041Schristos /* #undef HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER */
676*56bb7041Schristos 
677*56bb7041Schristos /* Define to 1 if you have the `rawmemchr' function. */
678*56bb7041Schristos /* #undef HAVE_RAWMEMCHR */
679*56bb7041Schristos 
680*56bb7041Schristos /* Define to 1 if you have the `readdir' function. */
681*56bb7041Schristos #define HAVE_READDIR 1
682*56bb7041Schristos 
683*56bb7041Schristos /* Define to 1 if you have the `readlink' function. */
684*56bb7041Schristos #define HAVE_READLINK 1
685*56bb7041Schristos 
686*56bb7041Schristos /* Define if the 'realloc' function is POSIX compliant. */
687*56bb7041Schristos #define HAVE_REALLOC_POSIX 1
688*56bb7041Schristos 
689*56bb7041Schristos /* Define to 1 if you have the `realpath' function. */
690*56bb7041Schristos #define HAVE_REALPATH 1
691*56bb7041Schristos 
692*56bb7041Schristos /* Define to 1 if you have the `rewinddir' function. */
693*56bb7041Schristos #define HAVE_REWINDDIR 1
694*56bb7041Schristos 
695*56bb7041Schristos /* Define to 1 if 'long double' and 'double' have the same representation. */
696*56bb7041Schristos /* #undef HAVE_SAME_LONG_DOUBLE_AS_DOUBLE */
697*56bb7041Schristos 
698*56bb7041Schristos /* Define to 1 if the system has the type `sa_family_t'. */
699*56bb7041Schristos #define HAVE_SA_FAMILY_T 1
700*56bb7041Schristos 
701*56bb7041Schristos /* Define to 1 if you have the <search.h> header file. */
702*56bb7041Schristos #define HAVE_SEARCH_H 1
703*56bb7041Schristos 
704*56bb7041Schristos /* Define to 1 if you have the `setdtablesize' function. */
705*56bb7041Schristos /* #undef HAVE_SETDTABLESIZE */
706*56bb7041Schristos 
707*56bb7041Schristos /* Define to 1 if you have the `setenv' function. */
708*56bb7041Schristos #define HAVE_SETENV 1
709*56bb7041Schristos 
710*56bb7041Schristos /* Define to 1 if you have the `shutdown' function. */
711*56bb7041Schristos #define HAVE_SHUTDOWN 1
712*56bb7041Schristos 
713*56bb7041Schristos /* Define to 1 if 'sig_atomic_t' is a signed integer type. */
714*56bb7041Schristos /* #undef HAVE_SIGNED_SIG_ATOMIC_T */
715*56bb7041Schristos 
716*56bb7041Schristos /* Define to 1 if 'wchar_t' is a signed integer type. */
717*56bb7041Schristos /* #undef HAVE_SIGNED_WCHAR_T */
718*56bb7041Schristos 
719*56bb7041Schristos /* Define to 1 if 'wint_t' is a signed integer type. */
720*56bb7041Schristos /* #undef HAVE_SIGNED_WINT_T */
721*56bb7041Schristos 
722*56bb7041Schristos /* Define to 1 if the system has the type `sigset_t'. */
723*56bb7041Schristos #define HAVE_SIGSET_T 1
724*56bb7041Schristos 
725*56bb7041Schristos /* Define to 1 if you have the `snprintf' function. */
726*56bb7041Schristos #define HAVE_SNPRINTF 1
727*56bb7041Schristos 
728*56bb7041Schristos /* Define to 1 if you have the <stdint.h> header file. */
729*56bb7041Schristos #define HAVE_STDINT_H 1
730*56bb7041Schristos 
731*56bb7041Schristos /* Define to 1 if you have the <stdlib.h> header file. */
732*56bb7041Schristos #define HAVE_STDLIB_H 1
733*56bb7041Schristos 
734*56bb7041Schristos /* Define to 1 if you have the `strchrnul' function. */
735*56bb7041Schristos #define HAVE_STRCHRNUL 1
736*56bb7041Schristos 
737*56bb7041Schristos /* Define to 1 if you have the `strdup' function. */
738*56bb7041Schristos #define HAVE_STRDUP 1
739*56bb7041Schristos 
740*56bb7041Schristos /* Define to 1 if you have the `strerror_r' function. */
741*56bb7041Schristos #define HAVE_STRERROR_R 1
742*56bb7041Schristos 
743*56bb7041Schristos /* Define to 1 if you have the <strings.h> header file. */
744*56bb7041Schristos #define HAVE_STRINGS_H 1
745*56bb7041Schristos 
746*56bb7041Schristos /* Define to 1 if you have the <string.h> header file. */
747*56bb7041Schristos #define HAVE_STRING_H 1
748*56bb7041Schristos 
749*56bb7041Schristos /* Define to 1 if you have the `strtok_r' function. */
750*56bb7041Schristos #define HAVE_STRTOK_R 1
751*56bb7041Schristos 
752*56bb7041Schristos /* Define if there is a member named d_type in the struct describing directory
753*56bb7041Schristos    headers. */
754*56bb7041Schristos #define HAVE_STRUCT_DIRENT_D_TYPE 1
755*56bb7041Schristos 
756*56bb7041Schristos /* Define to 1 if the system has the type `struct sockaddr_storage'. */
757*56bb7041Schristos #define HAVE_STRUCT_SOCKADDR_STORAGE 1
758*56bb7041Schristos 
759*56bb7041Schristos /* Define to 1 if `ss_family' is a member of `struct sockaddr_storage'. */
760*56bb7041Schristos #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1
761*56bb7041Schristos 
762*56bb7041Schristos /* Define to 1 if `st_atimensec' is a member of `struct stat'. */
763*56bb7041Schristos /* #undef HAVE_STRUCT_STAT_ST_ATIMENSEC */
764*56bb7041Schristos 
765*56bb7041Schristos /* Define to 1 if `st_atimespec.tv_nsec' is a member of `struct stat'. */
766*56bb7041Schristos /* #undef HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC */
767*56bb7041Schristos 
768*56bb7041Schristos /* Define to 1 if `st_atim.st__tim.tv_nsec' is a member of `struct stat'. */
769*56bb7041Schristos /* #undef HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC */
770*56bb7041Schristos 
771*56bb7041Schristos /* Define to 1 if `st_atim.tv_nsec' is a member of `struct stat'. */
772*56bb7041Schristos #define HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC 1
773*56bb7041Schristos 
774*56bb7041Schristos /* Define to 1 if `st_birthtimensec' is a member of `struct stat'. */
775*56bb7041Schristos /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC */
776*56bb7041Schristos 
777*56bb7041Schristos /* Define to 1 if `st_birthtimespec.tv_nsec' is a member of `struct stat'. */
778*56bb7041Schristos #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC 1
779*56bb7041Schristos 
780*56bb7041Schristos /* Define to 1 if `st_birthtim.tv_nsec' is a member of `struct stat'. */
781*56bb7041Schristos /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIM_TV_NSEC */
782*56bb7041Schristos 
783*56bb7041Schristos /* Define to 1 if you have the `symlink' function. */
784*56bb7041Schristos #define HAVE_SYMLINK 1
785*56bb7041Schristos 
786*56bb7041Schristos /* Define to 1 if you have the <sys/bitypes.h> header file. */
787*56bb7041Schristos /* #undef HAVE_SYS_BITYPES_H */
788*56bb7041Schristos 
789*56bb7041Schristos /* Define to 1 if you have the <sys/inttypes.h> header file. */
790*56bb7041Schristos /* #undef HAVE_SYS_INTTYPES_H */
791*56bb7041Schristos 
792*56bb7041Schristos /* Define to 1 if you have the <sys/mman.h> header file. */
793*56bb7041Schristos #define HAVE_SYS_MMAN_H 1
794*56bb7041Schristos 
795*56bb7041Schristos /* Define to 1 if you have the <sys/param.h> header file. */
796*56bb7041Schristos #define HAVE_SYS_PARAM_H 1
797*56bb7041Schristos 
798*56bb7041Schristos /* Define to 1 if you have the <sys/random.h> header file. */
799*56bb7041Schristos #define HAVE_SYS_RANDOM_H 1
800*56bb7041Schristos 
801*56bb7041Schristos /* Define to 1 if you have the <sys/socket.h> header file. */
802*56bb7041Schristos #define HAVE_SYS_SOCKET_H 1
803*56bb7041Schristos 
804*56bb7041Schristos /* Define to 1 if you have the <sys/stat.h> header file. */
805*56bb7041Schristos #define HAVE_SYS_STAT_H 1
806*56bb7041Schristos 
807*56bb7041Schristos /* Define to 1 if you have the <sys/time.h> header file. */
808*56bb7041Schristos #define HAVE_SYS_TIME_H 1
809*56bb7041Schristos 
810*56bb7041Schristos /* Define to 1 if you have the <sys/types.h> header file. */
811*56bb7041Schristos #define HAVE_SYS_TYPES_H 1
812*56bb7041Schristos 
813*56bb7041Schristos /* Define to 1 if you have the <sys/uio.h> header file. */
814*56bb7041Schristos #define HAVE_SYS_UIO_H 1
815*56bb7041Schristos 
816*56bb7041Schristos /* Define to 1 if you have the `thrd_create' function. */
817*56bb7041Schristos /* #undef HAVE_THRD_CREATE */
818*56bb7041Schristos 
819*56bb7041Schristos /* Define to 1 if you have the <threads.h> header file. */
820*56bb7041Schristos #define HAVE_THREADS_H 1
821*56bb7041Schristos 
822*56bb7041Schristos /* Define to 1 if you have the `towlower' function. */
823*56bb7041Schristos #define HAVE_TOWLOWER 1
824*56bb7041Schristos 
825*56bb7041Schristos /* Define to 1 if you have the `tsearch' function. */
826*56bb7041Schristos #define HAVE_TSEARCH 1
827*56bb7041Schristos 
828*56bb7041Schristos /* Define to 1 if you have the <unistd.h> header file. */
829*56bb7041Schristos #define HAVE_UNISTD_H 1
830*56bb7041Schristos 
831*56bb7041Schristos /* Define to 1 if you have the `unsetenv' function. */
832*56bb7041Schristos #define HAVE_UNSETENV 1
833*56bb7041Schristos 
834*56bb7041Schristos /* Define to 1 if the system has the type 'unsigned long long int'. */
835*56bb7041Schristos #define HAVE_UNSIGNED_LONG_LONG_INT 1
836*56bb7041Schristos 
837*56bb7041Schristos /* Define if you have a global __progname variable */
838*56bb7041Schristos #define HAVE_VAR___PROGNAME 1
839*56bb7041Schristos 
840*56bb7041Schristos /* Define to 1 or 0, depending whether the compiler supports simple visibility
841*56bb7041Schristos    declarations. */
842*56bb7041Schristos #define HAVE_VISIBILITY 1
843*56bb7041Schristos 
844*56bb7041Schristos /* Define to 1 if you have the <wchar.h> header file. */
845*56bb7041Schristos #define HAVE_WCHAR_H 1
846*56bb7041Schristos 
847*56bb7041Schristos /* Define if you have the 'wchar_t' type. */
848*56bb7041Schristos #define HAVE_WCHAR_T 1
849*56bb7041Schristos 
850*56bb7041Schristos /* Define to 1 if you have the <wctype.h> header file. */
851*56bb7041Schristos #define HAVE_WCTYPE_H 1
852*56bb7041Schristos 
853*56bb7041Schristos /* Define to 1 if the compiler and linker support weak declarations of
854*56bb7041Schristos    symbols. */
855*56bb7041Schristos #define HAVE_WEAK_SYMBOLS 1
856*56bb7041Schristos 
857*56bb7041Schristos /* Define to 1 if you have the <windows.h> header file. */
858*56bb7041Schristos /* #undef HAVE_WINDOWS_H */
859*56bb7041Schristos 
860*56bb7041Schristos /* Define to 1 if you have the <winsock2.h> header file. */
861*56bb7041Schristos /* #undef HAVE_WINSOCK2_H */
862*56bb7041Schristos 
863*56bb7041Schristos /* Define if you have the 'wint_t' type. */
864*56bb7041Schristos #define HAVE_WINT_T 1
865*56bb7041Schristos 
866*56bb7041Schristos /* Define to 1 if you have the `wmempcpy' function. */
867*56bb7041Schristos /* #undef HAVE_WMEMPCPY */
868*56bb7041Schristos 
869*56bb7041Schristos /* Define to 1 if fstatat (..., 0) works. For example, it does not work in AIX
870*56bb7041Schristos    7.1. */
871*56bb7041Schristos /* #undef HAVE_WORKING_FSTATAT_ZERO_FLAG */
872*56bb7041Schristos 
873*56bb7041Schristos /* Define to 1 if O_NOATIME works. */
874*56bb7041Schristos #define HAVE_WORKING_O_NOATIME 0
875*56bb7041Schristos 
876*56bb7041Schristos /* Define to 1 if O_NOFOLLOW works. */
877*56bb7041Schristos #define HAVE_WORKING_O_NOFOLLOW 0
878*56bb7041Schristos 
879*56bb7041Schristos /* Define to 1 if you have the <ws2tcpip.h> header file. */
880*56bb7041Schristos /* #undef HAVE_WS2TCPIP_H */
881*56bb7041Schristos 
882*56bb7041Schristos /* Define to 1 if you have the <xlocale.h> header file. */
883*56bb7041Schristos /* #undef HAVE_XLOCALE_H */
884*56bb7041Schristos 
885*56bb7041Schristos /* Define to 1 if the system has the type `_Bool'. */
886*56bb7041Schristos #define HAVE__BOOL 1
887*56bb7041Schristos 
888*56bb7041Schristos /* Define to 1 if you have the `_set_invalid_parameter_handler' function. */
889*56bb7041Schristos /* #undef HAVE__SET_INVALID_PARAMETER_HANDLER */
890*56bb7041Schristos 
891*56bb7041Schristos /* Define to 1 if the compiler supports __builtin_expect,
892*56bb7041Schristos    and to 2 if <builtins.h> does.  */
893*56bb7041Schristos #define HAVE___BUILTIN_EXPECT 1
894*56bb7041Schristos #ifndef HAVE___BUILTIN_EXPECT
895*56bb7041Schristos # define __builtin_expect(e, c) (e)
896*56bb7041Schristos #elif HAVE___BUILTIN_EXPECT == 2
897*56bb7041Schristos # include <builtins.h>
898*56bb7041Schristos #endif
899*56bb7041Schristos 
900*56bb7041Schristos 
901*56bb7041Schristos /* Define to 1 if the compiler supports the keyword '__inline'. */
902*56bb7041Schristos #define HAVE___INLINE 1
903*56bb7041Schristos 
904*56bb7041Schristos /* Define to 1 if you have the `__xpg_strerror_r' function. */
905*56bb7041Schristos /* #undef HAVE___XPG_STRERROR_R */
906*56bb7041Schristos 
907*56bb7041Schristos /* Define as the bit index in the word where to find bit 0 of the exponent of
908*56bb7041Schristos    'long double'. */
909*56bb7041Schristos /* #undef LDBL_EXPBIT0_BIT */
910*56bb7041Schristos 
911*56bb7041Schristos /* Define as the word index where to find the exponent of 'long double'. */
912*56bb7041Schristos /* #undef LDBL_EXPBIT0_WORD */
913*56bb7041Schristos 
914*56bb7041Schristos /* Define to 1 if 'lstat' dereferences a symlink specified with a trailing
915*56bb7041Schristos    slash. */
916*56bb7041Schristos #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
917*56bb7041Schristos 
918*56bb7041Schristos /* If malloc(0) is != NULL, define this to 1. Otherwise define this to 0. */
919*56bb7041Schristos #define MALLOC_0_IS_NONNULL 1
920*56bb7041Schristos 
921*56bb7041Schristos /* Define to a substitute value for mmap()'s MAP_ANONYMOUS flag. */
922*56bb7041Schristos /* #undef MAP_ANONYMOUS */
923*56bb7041Schristos 
924*56bb7041Schristos /* Define if the mbrtowc function does not return (size_t) -2 for empty input.
925*56bb7041Schristos    */
926*56bb7041Schristos /* #undef MBRTOWC_EMPTY_INPUT_BUG */
927*56bb7041Schristos 
928*56bb7041Schristos /* Define if the mbrtowc function may signal encoding errors in the C locale.
929*56bb7041Schristos    */
930*56bb7041Schristos /* #undef MBRTOWC_IN_C_LOCALE_MAYBE_EILSEQ */
931*56bb7041Schristos 
932*56bb7041Schristos /* Define if the mbrtowc function has the NULL pwc argument bug. */
933*56bb7041Schristos /* #undef MBRTOWC_NULL_ARG1_BUG */
934*56bb7041Schristos 
935*56bb7041Schristos /* Define if the mbrtowc function has the NULL string argument bug. */
936*56bb7041Schristos /* #undef MBRTOWC_NULL_ARG2_BUG */
937*56bb7041Schristos 
938*56bb7041Schristos /* Define if the mbrtowc function does not return 0 for a NUL character. */
939*56bb7041Schristos /* #undef MBRTOWC_NUL_RETVAL_BUG */
940*56bb7041Schristos 
941*56bb7041Schristos /* Define if the mbrtowc function returns a wrong return value. */
942*56bb7041Schristos /* #undef MBRTOWC_RETVAL_BUG */
943*56bb7041Schristos 
944*56bb7041Schristos /* Define if the mbrtowc function stores a wide character when reporting
945*56bb7041Schristos    incomplete input. */
946*56bb7041Schristos /* #undef MBRTOWC_STORES_INCOMPLETE_BUG */
947*56bb7041Schristos 
948*56bb7041Schristos /* Use GNU style printf and scanf.  */
949*56bb7041Schristos #ifndef __USE_MINGW_ANSI_STDIO
950*56bb7041Schristos # define __USE_MINGW_ANSI_STDIO 1
951*56bb7041Schristos #endif
952*56bb7041Schristos 
953*56bb7041Schristos 
954*56bb7041Schristos /* Define to 1 if open() fails to recognize a trailing slash. */
955*56bb7041Schristos /* #undef OPEN_TRAILING_SLASH_BUG */
956*56bb7041Schristos 
957*56bb7041Schristos /* Define to the address where bug reports for this package should be sent. */
958*56bb7041Schristos #define PACKAGE_BUGREPORT ""
959*56bb7041Schristos 
960*56bb7041Schristos /* Define to the full name of this package. */
961*56bb7041Schristos #define PACKAGE_NAME "libgnu"
962*56bb7041Schristos 
963*56bb7041Schristos /* Define to the full name and version of this package. */
964*56bb7041Schristos #define PACKAGE_STRING "libgnu UNUSED-VERSION"
965*56bb7041Schristos 
966*56bb7041Schristos /* Define to the one symbol short name of this package. */
967*56bb7041Schristos #define PACKAGE_TARNAME "libgnu"
968*56bb7041Schristos 
969*56bb7041Schristos /* Define to the home page for this package. */
970*56bb7041Schristos #define PACKAGE_URL ""
971*56bb7041Schristos 
972*56bb7041Schristos /* Define to the version of this package. */
973*56bb7041Schristos #define PACKAGE_VERSION "UNUSED-VERSION"
974*56bb7041Schristos 
975*56bb7041Schristos /* Define if <inttypes.h> exists and defines unusable PRI* macros. */
976*56bb7041Schristos /* #undef PRI_MACROS_BROKEN */
977*56bb7041Schristos 
978*56bb7041Schristos /* Define to the type that is the result of default argument promotions of
979*56bb7041Schristos    type mode_t. */
980*56bb7041Schristos #define PROMOTED_MODE_T mode_t
981*56bb7041Schristos 
982*56bb7041Schristos /* Define if the pthread_in_use() detection is hard. */
983*56bb7041Schristos /* #undef PTHREAD_IN_USE_DETECTION_HARD */
984*56bb7041Schristos 
985*56bb7041Schristos /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
986*56bb7041Schristos    'ptrdiff_t'. */
987*56bb7041Schristos /* #undef PTRDIFF_T_SUFFIX */
988*56bb7041Schristos 
989*56bb7041Schristos /* Define to 1 if readlink fails to recognize a trailing slash. */
990*56bb7041Schristos /* #undef READLINK_TRAILING_SLASH_BUG */
991*56bb7041Schristos 
992*56bb7041Schristos /* Define if rename does not work when the destination file exists, as on
993*56bb7041Schristos    Cygwin 1.5 or Windows. */
994*56bb7041Schristos /* #undef RENAME_DEST_EXISTS_BUG */
995*56bb7041Schristos 
996*56bb7041Schristos /* Define if rename fails to leave hard links alone, as on NetBSD 1.6 or
997*56bb7041Schristos    Cygwin 1.5. */
998*56bb7041Schristos /* #undef RENAME_HARD_LINK_BUG */
999*56bb7041Schristos 
1000*56bb7041Schristos /* Define if rename does not correctly handle slashes on the destination
1001*56bb7041Schristos    argument, such as on Solaris 11 or NetBSD 1.6. */
1002*56bb7041Schristos /* #undef RENAME_TRAILING_SLASH_DEST_BUG */
1003*56bb7041Schristos 
1004*56bb7041Schristos /* Define if rename does not correctly handle slashes on the source argument,
1005*56bb7041Schristos    such as on Solaris 9 or cygwin 1.5. */
1006*56bb7041Schristos /* #undef RENAME_TRAILING_SLASH_SOURCE_BUG */
1007*56bb7041Schristos 
1008*56bb7041Schristos /* Define to 1 if gnulib's dirfd() replacement is used. */
1009*56bb7041Schristos /* #undef REPLACE_DIRFD */
1010*56bb7041Schristos 
1011*56bb7041Schristos /* Define to 1 if gnulib's fchdir() replacement is used. */
1012*56bb7041Schristos /* #undef REPLACE_FCHDIR */
1013*56bb7041Schristos 
1014*56bb7041Schristos /* Define to 1 if stat needs help when passed a file name with a trailing
1015*56bb7041Schristos    slash */
1016*56bb7041Schristos /* #undef REPLACE_FUNC_STAT_FILE */
1017*56bb7041Schristos 
1018*56bb7041Schristos /* Define to 1 if open() should work around the inability to open a directory.
1019*56bb7041Schristos    */
1020*56bb7041Schristos /* #undef REPLACE_OPEN_DIRECTORY */
1021*56bb7041Schristos 
1022*56bb7041Schristos /* Define to 1 if strerror(0) does not return a message implying success. */
1023*56bb7041Schristos #define REPLACE_STRERROR_0 1
1024*56bb7041Schristos 
1025*56bb7041Schristos /* Define to 1 if setlocale (LC_ALL, NULL) is multithread-safe. */
1026*56bb7041Schristos #define SETLOCALE_NULL_ALL_MTSAFE 0
1027*56bb7041Schristos 
1028*56bb7041Schristos /* Define to 1 if setlocale (category, NULL) is multithread-safe. */
1029*56bb7041Schristos #define SETLOCALE_NULL_ONE_MTSAFE 1
1030*56bb7041Schristos 
1031*56bb7041Schristos /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
1032*56bb7041Schristos    'sig_atomic_t'. */
1033*56bb7041Schristos /* #undef SIG_ATOMIC_T_SUFFIX */
1034*56bb7041Schristos 
1035*56bb7041Schristos /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
1036*56bb7041Schristos    'size_t'. */
1037*56bb7041Schristos /* #undef SIZE_T_SUFFIX */
1038*56bb7041Schristos 
1039*56bb7041Schristos /* If using the C implementation of alloca, define if you know the
1040*56bb7041Schristos    direction of stack growth for your system; otherwise it will be
1041*56bb7041Schristos    automatically deduced at runtime.
1042*56bb7041Schristos 	STACK_DIRECTION > 0 => grows toward higher addresses
1043*56bb7041Schristos 	STACK_DIRECTION < 0 => grows toward lower addresses
1044*56bb7041Schristos 	STACK_DIRECTION = 0 => direction of growth unknown */
1045*56bb7041Schristos /* #undef STACK_DIRECTION */
1046*56bb7041Schristos 
1047*56bb7041Schristos /* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
1048*56bb7041Schristos /* #undef STAT_MACROS_BROKEN */
1049*56bb7041Schristos 
1050*56bb7041Schristos /* Define to 1 if you have the ANSI C header files. */
1051*56bb7041Schristos #define STDC_HEADERS 1
1052*56bb7041Schristos 
1053*56bb7041Schristos /* Define to 1 if strerror_r returns char *. */
1054*56bb7041Schristos /* #undef STRERROR_R_CHAR_P */
1055*56bb7041Schristos 
1056*56bb7041Schristos /* Define to 1 if the type of the st_atim member of a struct stat is struct
1057*56bb7041Schristos    timespec. */
1058*56bb7041Schristos #define TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC 1
1059*56bb7041Schristos 
1060*56bb7041Schristos /* Define if the combination of the ISO C and POSIX multithreading APIs can be
1061*56bb7041Schristos    used. */
1062*56bb7041Schristos /* #undef USE_ISOC_AND_POSIX_THREADS */
1063*56bb7041Schristos 
1064*56bb7041Schristos /* Define if the ISO C multithreading library can be used. */
1065*56bb7041Schristos /* #undef USE_ISOC_THREADS */
1066*56bb7041Schristos 
1067*56bb7041Schristos /* Define if the POSIX multithreading library can be used. */
1068*56bb7041Schristos #define USE_POSIX_THREADS 1
1069*56bb7041Schristos 
1070*56bb7041Schristos /* Define if references to the POSIX multithreading library should be made
1071*56bb7041Schristos    weak. */
1072*56bb7041Schristos #define USE_POSIX_THREADS_WEAK 1
1073*56bb7041Schristos 
1074*56bb7041Schristos /* Enable extensions on AIX 3, Interix.  */
1075*56bb7041Schristos #ifndef _ALL_SOURCE
1076*56bb7041Schristos # define _ALL_SOURCE 1
1077*56bb7041Schristos #endif
1078*56bb7041Schristos /* Enable general extensions on macOS.  */
1079*56bb7041Schristos #ifndef _DARWIN_C_SOURCE
1080*56bb7041Schristos # define _DARWIN_C_SOURCE 1
1081*56bb7041Schristos #endif
1082*56bb7041Schristos /* Enable GNU extensions on systems that have them.  */
1083*56bb7041Schristos #ifndef _GNU_SOURCE
1084*56bb7041Schristos # define _GNU_SOURCE 1
1085*56bb7041Schristos #endif
1086*56bb7041Schristos /* Enable NetBSD extensions on NetBSD.  */
1087*56bb7041Schristos #ifndef _NETBSD_SOURCE
1088*56bb7041Schristos # define _NETBSD_SOURCE 1
1089*56bb7041Schristos #endif
1090*56bb7041Schristos /* Enable OpenBSD extensions on NetBSD.  */
1091*56bb7041Schristos #ifndef _OPENBSD_SOURCE
1092*56bb7041Schristos # define _OPENBSD_SOURCE 1
1093*56bb7041Schristos #endif
1094*56bb7041Schristos /* Enable threading extensions on Solaris.  */
1095*56bb7041Schristos #ifndef _POSIX_PTHREAD_SEMANTICS
1096*56bb7041Schristos # define _POSIX_PTHREAD_SEMANTICS 1
1097*56bb7041Schristos #endif
1098*56bb7041Schristos /* Enable extensions specified by ISO/IEC TS 18661-5:2014.  */
1099*56bb7041Schristos #ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__
1100*56bb7041Schristos # define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
1101*56bb7041Schristos #endif
1102*56bb7041Schristos /* Enable extensions specified by ISO/IEC TS 18661-1:2014.  */
1103*56bb7041Schristos #ifndef __STDC_WANT_IEC_60559_BFP_EXT__
1104*56bb7041Schristos # define __STDC_WANT_IEC_60559_BFP_EXT__ 1
1105*56bb7041Schristos #endif
1106*56bb7041Schristos /* Enable extensions specified by ISO/IEC TS 18661-2:2015.  */
1107*56bb7041Schristos #ifndef __STDC_WANT_IEC_60559_DFP_EXT__
1108*56bb7041Schristos # define __STDC_WANT_IEC_60559_DFP_EXT__ 1
1109*56bb7041Schristos #endif
1110*56bb7041Schristos /* Enable extensions specified by ISO/IEC TS 18661-4:2015.  */
1111*56bb7041Schristos #ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__
1112*56bb7041Schristos # define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
1113*56bb7041Schristos #endif
1114*56bb7041Schristos /* Enable extensions specified by ISO/IEC TS 18661-3:2015.  */
1115*56bb7041Schristos #ifndef __STDC_WANT_IEC_60559_TYPES_EXT__
1116*56bb7041Schristos # define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
1117*56bb7041Schristos #endif
1118*56bb7041Schristos /* Enable extensions specified by ISO/IEC TR 24731-2:2010.  */
1119*56bb7041Schristos #ifndef __STDC_WANT_LIB_EXT2__
1120*56bb7041Schristos # define __STDC_WANT_LIB_EXT2__ 1
1121*56bb7041Schristos #endif
1122*56bb7041Schristos /* Enable extensions specified by ISO/IEC 24747:2009.  */
1123*56bb7041Schristos #ifndef __STDC_WANT_MATH_SPEC_FUNCS__
1124*56bb7041Schristos # define __STDC_WANT_MATH_SPEC_FUNCS__ 1
1125*56bb7041Schristos #endif
1126*56bb7041Schristos /* Enable extensions on HP NonStop.  */
1127*56bb7041Schristos #ifndef _TANDEM_SOURCE
1128*56bb7041Schristos # define _TANDEM_SOURCE 1
1129*56bb7041Schristos #endif
1130*56bb7041Schristos /* Enable X/Open extensions if necessary.  HP-UX 11.11 defines
1131*56bb7041Schristos    mbstate_t only if _XOPEN_SOURCE is defined to 500, regardless of
1132*56bb7041Schristos    whether compiling with -Ae or -D_HPUX_SOURCE=1.  */
1133*56bb7041Schristos #ifndef _XOPEN_SOURCE
1134*56bb7041Schristos /* # undef _XOPEN_SOURCE */
1135*56bb7041Schristos #endif
1136*56bb7041Schristos /* Enable X/Open compliant socket functions that do not require linking
1137*56bb7041Schristos    with -lxnet on HP-UX 11.11.  */
1138*56bb7041Schristos #ifndef _HPUX_ALT_XOPEN_SOCKET_API
1139*56bb7041Schristos # define _HPUX_ALT_XOPEN_SOCKET_API 1
1140*56bb7041Schristos #endif
1141*56bb7041Schristos /* Enable general extensions on Solaris.  */
1142*56bb7041Schristos #ifndef __EXTENSIONS__
1143*56bb7041Schristos # define __EXTENSIONS__ 1
1144*56bb7041Schristos #endif
1145*56bb7041Schristos 
1146*56bb7041Schristos 
1147*56bb7041Schristos /* Define if the native Windows multithreading API can be used. */
1148*56bb7041Schristos /* #undef USE_WINDOWS_THREADS */
1149*56bb7041Schristos 
1150*56bb7041Schristos /* Define to 1 if unsetenv returns void instead of int. */
1151*56bb7041Schristos /* #undef VOID_UNSETENV */
1152*56bb7041Schristos 
1153*56bb7041Schristos /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
1154*56bb7041Schristos    'wchar_t'. */
1155*56bb7041Schristos /* #undef WCHAR_T_SUFFIX */
1156*56bb7041Schristos 
1157*56bb7041Schristos /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
1158*56bb7041Schristos    'wint_t'. */
1159*56bb7041Schristos /* #undef WINT_T_SUFFIX */
1160*56bb7041Schristos 
1161*56bb7041Schristos /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
1162*56bb7041Schristos    significant byte first (like Motorola and SPARC, unlike Intel). */
1163*56bb7041Schristos #if defined AC_APPLE_UNIVERSAL_BUILD
1164*56bb7041Schristos # if defined __BIG_ENDIAN__
1165*56bb7041Schristos #  define WORDS_BIGENDIAN 1
1166*56bb7041Schristos # endif
1167*56bb7041Schristos #else
1168*56bb7041Schristos # ifndef WORDS_BIGENDIAN
1169*56bb7041Schristos /* #  undef WORDS_BIGENDIAN */
1170*56bb7041Schristos # endif
1171*56bb7041Schristos #endif
1172*56bb7041Schristos 
1173*56bb7041Schristos /* Number of bits in a file offset, on hosts where this is settable. */
1174*56bb7041Schristos /* #undef _FILE_OFFSET_BITS */
1175*56bb7041Schristos 
1176*56bb7041Schristos /* True if the compiler says it groks GNU C version MAJOR.MINOR.  */
1177*56bb7041Schristos #if defined __GNUC__ && defined __GNUC_MINOR__
1178*56bb7041Schristos # define _GL_GNUC_PREREQ(major, minor) \
1179*56bb7041Schristos     ((major) < __GNUC__ + ((minor) <= __GNUC_MINOR__))
1180*56bb7041Schristos #else
1181*56bb7041Schristos # define _GL_GNUC_PREREQ(major, minor) 0
1182*56bb7041Schristos #endif
1183*56bb7041Schristos 
1184*56bb7041Schristos 
1185*56bb7041Schristos /* Define for large files, on AIX-style hosts. */
1186*56bb7041Schristos /* #undef _LARGE_FILES */
1187*56bb7041Schristos 
1188*56bb7041Schristos /* Define to 1 on Solaris. */
1189*56bb7041Schristos /* #undef _LCONV_C99 */
1190*56bb7041Schristos 
1191*56bb7041Schristos /* Define to 1 if on MINIX. */
1192*56bb7041Schristos /* #undef _MINIX */
1193*56bb7041Schristos 
1194*56bb7041Schristos /* Define to 1 to make NetBSD features available. MINIX 3 needs this. */
1195*56bb7041Schristos #define _NETBSD_SOURCE 1
1196*56bb7041Schristos 
1197*56bb7041Schristos /* The _Noreturn keyword of C11.  */
1198*56bb7041Schristos #ifndef _Noreturn
1199*56bb7041Schristos # if (defined __cplusplus \
1200*56bb7041Schristos       && ((201103 <= __cplusplus && !(__GNUC__ == 4 && __GNUC_MINOR__ == 7)) \
1201*56bb7041Schristos           || (defined _MSC_VER && 1900 <= _MSC_VER)) \
1202*56bb7041Schristos       && 0)
1203*56bb7041Schristos     /* [[noreturn]] is not practically usable, because with it the syntax
1204*56bb7041Schristos          extern _Noreturn void func (...);
1205*56bb7041Schristos        would not be valid; such a declaration would only be valid with 'extern'
1206*56bb7041Schristos        and '_Noreturn' swapped, or without the 'extern' keyword.  However, some
1207*56bb7041Schristos        AIX system header files and several gnulib header files use precisely
1208*56bb7041Schristos        this syntax with 'extern'.  */
1209*56bb7041Schristos #  define _Noreturn [[noreturn]]
1210*56bb7041Schristos # elif ((!defined __cplusplus || defined __clang__) \
1211*56bb7041Schristos         && (201112 <= (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0)  \
1212*56bb7041Schristos             || _GL_GNUC_PREREQ (4, 7) \
1213*56bb7041Schristos             || (defined __apple_build_version__ \
1214*56bb7041Schristos                 ? 6000000 <= __apple_build_version__ \
1215*56bb7041Schristos                 : 3 < __clang_major__ + (5 <= __clang_minor__))))
1216*56bb7041Schristos    /* _Noreturn works as-is.  */
1217*56bb7041Schristos # elif _GL_GNUC_PREREQ (2, 8) || 0x5110 <= __SUNPRO_C
1218*56bb7041Schristos #  define _Noreturn __attribute__ ((__noreturn__))
1219*56bb7041Schristos # elif 1200 <= (defined _MSC_VER ? _MSC_VER : 0)
1220*56bb7041Schristos #  define _Noreturn __declspec (noreturn)
1221*56bb7041Schristos # else
1222*56bb7041Schristos #  define _Noreturn
1223*56bb7041Schristos # endif
1224*56bb7041Schristos #endif
1225*56bb7041Schristos 
1226*56bb7041Schristos 
1227*56bb7041Schristos /* Define to 2 if the system does not provide POSIX.1 features except with
1228*56bb7041Schristos    this defined. */
1229*56bb7041Schristos /* #undef _POSIX_1_SOURCE */
1230*56bb7041Schristos 
1231*56bb7041Schristos /* Define to 1 in order to get the POSIX compatible declarations of socket
1232*56bb7041Schristos    functions. */
1233*56bb7041Schristos /* #undef _POSIX_PII_SOCKET */
1234*56bb7041Schristos 
1235*56bb7041Schristos /* Define to 1 if you need to in order for 'stat' and other things to work. */
1236*56bb7041Schristos /* #undef _POSIX_SOURCE */
1237*56bb7041Schristos 
1238*56bb7041Schristos /* For standard stat data types on VMS. */
1239*56bb7041Schristos #define _USE_STD_STAT 1
1240*56bb7041Schristos 
1241*56bb7041Schristos /* Define to 1 if the system <stdint.h> predates C++11. */
1242*56bb7041Schristos /* #undef __STDC_CONSTANT_MACROS */
1243*56bb7041Schristos 
1244*56bb7041Schristos /* Define to 1 if the system <stdint.h> predates C++11. */
1245*56bb7041Schristos /* #undef __STDC_LIMIT_MACROS */
1246*56bb7041Schristos 
1247*56bb7041Schristos /* The _GL_ASYNC_SAFE marker should be attached to functions that are
1248*56bb7041Schristos    signal handlers (for signals other than SIGABRT, SIGPIPE) or can be
1249*56bb7041Schristos    invoked from such signal handlers.  Such functions have some restrictions:
1250*56bb7041Schristos      * All functions that it calls should be marked _GL_ASYNC_SAFE as well,
1251*56bb7041Schristos        or should be listed as async-signal-safe in POSIX
1252*56bb7041Schristos        <https://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_04>
1253*56bb7041Schristos        section 2.4.3.  Note that malloc(), sprintf(), and fwrite(), in
1254*56bb7041Schristos        particular, are NOT async-signal-safe.
1255*56bb7041Schristos      * All memory locations (variables and struct fields) that these functions
1256*56bb7041Schristos        access must be marked 'volatile'.  This holds for both read and write
1257*56bb7041Schristos        accesses.  Otherwise the compiler might optimize away stores to and
1258*56bb7041Schristos        reads from such locations that occur in the program, depending on its
1259*56bb7041Schristos        data flow analysis.  For example, when the program contains a loop
1260*56bb7041Schristos        that is intended to inspect a variable set from within a signal handler
1261*56bb7041Schristos            while (!signal_occurred)
1262*56bb7041Schristos              ;
1263*56bb7041Schristos        the compiler is allowed to transform this into an endless loop if the
1264*56bb7041Schristos        variable 'signal_occurred' is not declared 'volatile'.
1265*56bb7041Schristos    Additionally, recall that:
1266*56bb7041Schristos      * A signal handler should not modify errno (except if it is a handler
1267*56bb7041Schristos        for a fatal signal and ends by raising the same signal again, thus
1268*56bb7041Schristos        provoking the termination of the process).  If it invokes a function
1269*56bb7041Schristos        that may clobber errno, it needs to save and restore the value of
1270*56bb7041Schristos        errno.  */
1271*56bb7041Schristos #define _GL_ASYNC_SAFE
1272*56bb7041Schristos 
1273*56bb7041Schristos 
1274*56bb7041Schristos /* Attributes.  */
1275*56bb7041Schristos #ifdef __has_attribute
1276*56bb7041Schristos # define _GL_HAS_ATTRIBUTE(attr) __has_attribute (__##attr##__)
1277*56bb7041Schristos #else
1278*56bb7041Schristos # define _GL_HAS_ATTRIBUTE(attr) _GL_ATTR_##attr
1279*56bb7041Schristos # define _GL_ATTR_alloc_size _GL_GNUC_PREREQ (4, 3)
1280*56bb7041Schristos # define _GL_ATTR_always_inline _GL_GNUC_PREREQ (3, 2)
1281*56bb7041Schristos # define _GL_ATTR_artificial _GL_GNUC_PREREQ (4, 3)
1282*56bb7041Schristos # define _GL_ATTR_cold _GL_GNUC_PREREQ (4, 3)
1283*56bb7041Schristos # define _GL_ATTR_const _GL_GNUC_PREREQ (2, 95)
1284*56bb7041Schristos # define _GL_ATTR_deprecated _GL_GNUC_PREREQ (3, 1)
1285*56bb7041Schristos # define _GL_ATTR_error _GL_GNUC_PREREQ (4, 3)
1286*56bb7041Schristos # define _GL_ATTR_externally_visible _GL_GNUC_PREREQ (4, 1)
1287*56bb7041Schristos # define _GL_ATTR_fallthrough _GL_GNUC_PREREQ (7, 0)
1288*56bb7041Schristos # define _GL_ATTR_format _GL_GNUC_PREREQ (2, 7)
1289*56bb7041Schristos # define _GL_ATTR_leaf _GL_GNUC_PREREQ (4, 6)
1290*56bb7041Schristos # ifdef _ICC
1291*56bb7041Schristos #  define _GL_ATTR_may_alias 0
1292*56bb7041Schristos # else
1293*56bb7041Schristos #  define _GL_ATTR_may_alias _GL_GNUC_PREREQ (3, 3)
1294*56bb7041Schristos # endif
1295*56bb7041Schristos # define _GL_ATTR_malloc _GL_GNUC_PREREQ (3, 0)
1296*56bb7041Schristos # define _GL_ATTR_noinline _GL_GNUC_PREREQ (3, 1)
1297*56bb7041Schristos # define _GL_ATTR_nonnull _GL_GNUC_PREREQ (3, 3)
1298*56bb7041Schristos # define _GL_ATTR_nonstring _GL_GNUC_PREREQ (8, 0)
1299*56bb7041Schristos # define _GL_ATTR_nothrow _GL_GNUC_PREREQ (3, 3)
1300*56bb7041Schristos # define _GL_ATTR_packed _GL_GNUC_PREREQ (2, 7)
1301*56bb7041Schristos # define _GL_ATTR_pure _GL_GNUC_PREREQ (2, 96)
1302*56bb7041Schristos # define _GL_ATTR_returns_nonnull _GL_GNUC_PREREQ (4, 9)
1303*56bb7041Schristos # define _GL_ATTR_sentinel _GL_GNUC_PREREQ (4, 0)
1304*56bb7041Schristos # define _GL_ATTR_unused _GL_GNUC_PREREQ (2, 7)
1305*56bb7041Schristos # define _GL_ATTR_warn_unused_result _GL_GNUC_PREREQ (3, 4)
1306*56bb7041Schristos #endif
1307*56bb7041Schristos 
1308*56bb7041Schristos 
1309*56bb7041Schristos #if _GL_HAS_ATTRIBUTE (alloc_size)
1310*56bb7041Schristos # define _GL_ATTRIBUTE_ALLOC_SIZE(args) __attribute__ ((__alloc_size__ args))
1311*56bb7041Schristos #else
1312*56bb7041Schristos # define _GL_ATTRIBUTE_ALLOC_SIZE(args)
1313*56bb7041Schristos #endif
1314*56bb7041Schristos 
1315*56bb7041Schristos #if _GL_HAS_ATTRIBUTE (always_inline)
1316*56bb7041Schristos # define _GL_ATTRIBUTE_ALWAYS_INLINE __attribute__ ((__always_inline__))
1317*56bb7041Schristos #else
1318*56bb7041Schristos # define _GL_ATTRIBUTE_ALWAYS_INLINE
1319*56bb7041Schristos #endif
1320*56bb7041Schristos 
1321*56bb7041Schristos #if _GL_HAS_ATTRIBUTE (artificial)
1322*56bb7041Schristos # define _GL_ATTRIBUTE_ARTIFICIAL __attribute__ ((__artificial__))
1323*56bb7041Schristos #else
1324*56bb7041Schristos # define _GL_ATTRIBUTE_ARTIFICIAL
1325*56bb7041Schristos #endif
1326*56bb7041Schristos 
1327*56bb7041Schristos /* Avoid __attribute__ ((cold)) on MinGW; see thread starting at
1328*56bb7041Schristos    <https://lists.gnu.org/r/emacs-devel/2019-04/msg01152.html>. */
1329*56bb7041Schristos #if _GL_HAS_ATTRIBUTE (cold) && !defined __MINGW32__
1330*56bb7041Schristos # define _GL_ATTRIBUTE_COLD __attribute__ ((__cold__))
1331*56bb7041Schristos #else
1332*56bb7041Schristos # define _GL_ATTRIBUTE_COLD
1333*56bb7041Schristos #endif
1334*56bb7041Schristos 
1335*56bb7041Schristos #if _GL_HAS_ATTRIBUTE (const)
1336*56bb7041Schristos # define _GL_ATTRIBUTE_CONST __attribute__ ((__const__))
1337*56bb7041Schristos #else
1338*56bb7041Schristos # define _GL_ATTRIBUTE_CONST
1339*56bb7041Schristos #endif
1340*56bb7041Schristos 
1341*56bb7041Schristos #if 201710L < __STDC_VERSION__
1342*56bb7041Schristos # define _GL_ATTRIBUTE_DEPRECATED [[__deprecated__]]
1343*56bb7041Schristos #elif _GL_HAS_ATTRIBUTE (deprecated)
1344*56bb7041Schristos # define _GL_ATTRIBUTE_DEPRECATED __attribute__ ((__deprecated__))
1345*56bb7041Schristos #else
1346*56bb7041Schristos # define _GL_ATTRIBUTE_DEPRECATED
1347*56bb7041Schristos #endif
1348*56bb7041Schristos 
1349*56bb7041Schristos #if _GL_HAS_ATTRIBUTE (error)
1350*56bb7041Schristos # define _GL_ATTRIBUTE_ERROR(msg) __attribute__ ((__error__ (msg)))
1351*56bb7041Schristos # define _GL_ATTRIBUTE_WARNING(msg) __attribute__ ((__warning__ (msg)))
1352*56bb7041Schristos #else
1353*56bb7041Schristos # define _GL_ATTRIBUTE_ERROR(msg)
1354*56bb7041Schristos # define _GL_ATTRIBUTE_WARNING(msg)
1355*56bb7041Schristos #endif
1356*56bb7041Schristos 
1357*56bb7041Schristos #if _GL_HAS_ATTRIBUTE (externally_visible)
1358*56bb7041Schristos # define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE __attribute__ ((externally_visible))
1359*56bb7041Schristos #else
1360*56bb7041Schristos # define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE
1361*56bb7041Schristos #endif
1362*56bb7041Schristos 
1363*56bb7041Schristos /* FALLTHROUGH is special, because it always expands to something.  */
1364*56bb7041Schristos #if 201710L < __STDC_VERSION__
1365*56bb7041Schristos # define _GL_ATTRIBUTE_FALLTHROUGH [[__fallthrough__]]
1366*56bb7041Schristos #elif _GL_HAS_ATTRIBUTE (fallthrough)
1367*56bb7041Schristos # define _GL_ATTRIBUTE_FALLTHROUGH __attribute__ ((__fallthrough__))
1368*56bb7041Schristos #else
1369*56bb7041Schristos # define _GL_ATTRIBUTE_FALLTHROUGH ((void) 0)
1370*56bb7041Schristos #endif
1371*56bb7041Schristos 
1372*56bb7041Schristos #if _GL_HAS_ATTRIBUTE (format)
1373*56bb7041Schristos # define _GL_ATTRIBUTE_FORMAT(spec) __attribute__ ((__format__ spec))
1374*56bb7041Schristos #else
1375*56bb7041Schristos # define _GL_ATTRIBUTE_FORMAT(spec)
1376*56bb7041Schristos #endif
1377*56bb7041Schristos 
1378*56bb7041Schristos #if _GL_HAS_ATTRIBUTE (leaf)
1379*56bb7041Schristos # define _GL_ATTRIBUTE_LEAF __attribute__ ((__leaf__))
1380*56bb7041Schristos #else
1381*56bb7041Schristos # define _GL_ATTRIBUTE_LEAF
1382*56bb7041Schristos #endif
1383*56bb7041Schristos 
1384*56bb7041Schristos #if _GL_HAS_ATTRIBUTE (may_alias)
1385*56bb7041Schristos # define _GL_ATTRIBUTE_MAY_ALIAS __attribute__ ((__may_alias__))
1386*56bb7041Schristos #else
1387*56bb7041Schristos # define _GL_ATTRIBUTE_MAY_ALIAS
1388*56bb7041Schristos #endif
1389*56bb7041Schristos 
1390*56bb7041Schristos #if 201710L < __STDC_VERSION__
1391*56bb7041Schristos # define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]]
1392*56bb7041Schristos #elif _GL_HAS_ATTRIBUTE (unused)
1393*56bb7041Schristos # define _GL_ATTRIBUTE_MAYBE_UNUSED __attribute__ ((__unused__))
1394*56bb7041Schristos #else
1395*56bb7041Schristos # define _GL_ATTRIBUTE_MAYBE_UNUSED
1396*56bb7041Schristos #endif
1397*56bb7041Schristos /* Earlier spellings of this macro.  */
1398*56bb7041Schristos #define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED
1399*56bb7041Schristos #define _UNUSED_PARAMETER_ _GL_ATTRIBUTE_MAYBE_UNUSED
1400*56bb7041Schristos 
1401*56bb7041Schristos #if _GL_HAS_ATTRIBUTE (malloc)
1402*56bb7041Schristos # define _GL_ATTRIBUTE_MALLOC __attribute__ ((__malloc__))
1403*56bb7041Schristos #else
1404*56bb7041Schristos # define _GL_ATTRIBUTE_MALLOC
1405*56bb7041Schristos #endif
1406*56bb7041Schristos 
1407*56bb7041Schristos #if 201710L < __STDC_VERSION__
1408*56bb7041Schristos # define _GL_ATTRIBUTE_NODISCARD [[__nodiscard__]]
1409*56bb7041Schristos #elif _GL_HAS_ATTRIBUTE (warn_unused_result)
1410*56bb7041Schristos # define _GL_ATTRIBUTE_NODISCARD __attribute__ ((__warn_unused_result__))
1411*56bb7041Schristos #else
1412*56bb7041Schristos # define _GL_ATTRIBUTE_NODISCARD
1413*56bb7041Schristos #endif
1414*56bb7041Schristos 
1415*56bb7041Schristos #if _GL_HAS_ATTRIBUTE (noinline)
1416*56bb7041Schristos # define _GL_ATTRIBUTE_NOINLINE __attribute__ ((__noinline__))
1417*56bb7041Schristos #else
1418*56bb7041Schristos # define _GL_ATTRIBUTE_NOINLINE
1419*56bb7041Schristos #endif
1420*56bb7041Schristos 
1421*56bb7041Schristos #if _GL_HAS_ATTRIBUTE (nonnull)
1422*56bb7041Schristos # define _GL_ATTRIBUTE_NONNULL(args) __attribute__ ((__nonnull__ args))
1423*56bb7041Schristos #else
1424*56bb7041Schristos # define _GL_ATTRIBUTE_NONNULL(args)
1425*56bb7041Schristos #endif
1426*56bb7041Schristos 
1427*56bb7041Schristos #if _GL_HAS_ATTRIBUTE (nonstring)
1428*56bb7041Schristos # define _GL_ATTRIBUTE_NONSTRING __attribute__ ((__nonstring__))
1429*56bb7041Schristos #else
1430*56bb7041Schristos # define _GL_ATTRIBUTE_NONSTRING
1431*56bb7041Schristos #endif
1432*56bb7041Schristos 
1433*56bb7041Schristos /* There is no _GL_ATTRIBUTE_NORETURN; use _Noreturn instead.  */
1434*56bb7041Schristos 
1435*56bb7041Schristos #if _GL_HAS_ATTRIBUTE (nothrow) && !defined __cplusplus
1436*56bb7041Schristos # define _GL_ATTRIBUTE_NOTHROW __attribute__ ((__nothrow__))
1437*56bb7041Schristos #else
1438*56bb7041Schristos # define _GL_ATTRIBUTE_NOTHROW
1439*56bb7041Schristos #endif
1440*56bb7041Schristos 
1441*56bb7041Schristos #if _GL_HAS_ATTRIBUTE (packed)
1442*56bb7041Schristos # define _GL_ATTRIBUTE_PACKED __attribute__ ((__packed__))
1443*56bb7041Schristos #else
1444*56bb7041Schristos # define _GL_ATTRIBUTE_PACKED
1445*56bb7041Schristos #endif
1446*56bb7041Schristos 
1447*56bb7041Schristos #if _GL_HAS_ATTRIBUTE (pure)
1448*56bb7041Schristos # define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__))
1449*56bb7041Schristos #else
1450*56bb7041Schristos # define _GL_ATTRIBUTE_PURE
1451*56bb7041Schristos #endif
1452*56bb7041Schristos 
1453*56bb7041Schristos #if _GL_HAS_ATTRIBUTE (returns_nonnull)
1454*56bb7041Schristos # define _GL_ATTRIBUTE_RETURNS_NONNULL __attribute__ ((__returns_nonnull__))
1455*56bb7041Schristos #else
1456*56bb7041Schristos # define _GL_ATTRIBUTE_RETURNS_NONNULL
1457*56bb7041Schristos #endif
1458*56bb7041Schristos 
1459*56bb7041Schristos #if _GL_HAS_ATTRIBUTE (sentinel)
1460*56bb7041Schristos # define _GL_ATTRIBUTE_SENTINEL(pos) __attribute__ ((__sentinel__ pos))
1461*56bb7041Schristos #else
1462*56bb7041Schristos # define _GL_ATTRIBUTE_SENTINEL(pos)
1463*56bb7041Schristos #endif
1464*56bb7041Schristos 
1465*56bb7041Schristos 
1466*56bb7041Schristos /* To support C++ as well as C, use _GL_UNUSED_LABEL with trailing ';'.  */
1467*56bb7041Schristos #if !defined __cplusplus || _GL_GNUC_PREREQ (4, 5)
1468*56bb7041Schristos # define _GL_UNUSED_LABEL _GL_ATTRIBUTE_MAYBE_UNUSED
1469*56bb7041Schristos #else
1470*56bb7041Schristos # define _GL_UNUSED_LABEL
1471*56bb7041Schristos #endif
1472*56bb7041Schristos 
1473*56bb7041Schristos 
1474*56bb7041Schristos /* Please see the Gnulib manual for how to use these macros.
1475*56bb7041Schristos 
1476*56bb7041Schristos    Suppress extern inline with HP-UX cc, as it appears to be broken; see
1477*56bb7041Schristos    <https://lists.gnu.org/r/bug-texinfo/2013-02/msg00030.html>.
1478*56bb7041Schristos 
1479*56bb7041Schristos    Suppress extern inline with Sun C in standards-conformance mode, as it
1480*56bb7041Schristos    mishandles inline functions that call each other.  E.g., for 'inline void f
1481*56bb7041Schristos    (void) { } inline void g (void) { f (); }', c99 incorrectly complains
1482*56bb7041Schristos    'reference to static identifier "f" in extern inline function'.
1483*56bb7041Schristos    This bug was observed with Sun C 5.12 SunOS_i386 2011/11/16.
1484*56bb7041Schristos 
1485*56bb7041Schristos    Suppress extern inline (with or without __attribute__ ((__gnu_inline__)))
1486*56bb7041Schristos    on configurations that mistakenly use 'static inline' to implement
1487*56bb7041Schristos    functions or macros in standard C headers like <ctype.h>.  For example,
1488*56bb7041Schristos    if isdigit is mistakenly implemented via a static inline function,
1489*56bb7041Schristos    a program containing an extern inline function that calls isdigit
1490*56bb7041Schristos    may not work since the C standard prohibits extern inline functions
1491*56bb7041Schristos    from calling static functions (ISO C 99 section 6.7.4.(3).
1492*56bb7041Schristos    This bug is known to occur on:
1493*56bb7041Schristos 
1494*56bb7041Schristos      OS X 10.8 and earlier; see:
1495*56bb7041Schristos      https://lists.gnu.org/r/bug-gnulib/2012-12/msg00023.html
1496*56bb7041Schristos 
1497*56bb7041Schristos      DragonFly; see
1498*56bb7041Schristos      http://muscles.dragonflybsd.org/bulk/clang-master-potential/20141111_102002/logs/ah-tty-0.3.12.log
1499*56bb7041Schristos 
1500*56bb7041Schristos      FreeBSD; see:
1501*56bb7041Schristos      https://lists.gnu.org/r/bug-gnulib/2014-07/msg00104.html
1502*56bb7041Schristos 
1503*56bb7041Schristos    OS X 10.9 has a macro __header_inline indicating the bug is fixed for C and
1504*56bb7041Schristos    for clang but remains for g++; see <https://trac.macports.org/ticket/41033>.
1505*56bb7041Schristos    Assume DragonFly and FreeBSD will be similar.
1506*56bb7041Schristos 
1507*56bb7041Schristos    GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99
1508*56bb7041Schristos    inline semantics, unless -fgnu89-inline is used.  It defines a macro
1509*56bb7041Schristos    __GNUC_STDC_INLINE__ to indicate this situation or a macro
1510*56bb7041Schristos    __GNUC_GNU_INLINE__ to indicate the opposite situation.
1511*56bb7041Schristos    GCC 4.2 with -std=c99 or -std=gnu99 implements the GNU C inline
1512*56bb7041Schristos    semantics but warns, unless -fgnu89-inline is used:
1513*56bb7041Schristos      warning: C99 inline functions are not supported; using GNU89
1514*56bb7041Schristos      warning: to disable this warning use -fgnu89-inline or the gnu_inline function attribute
1515*56bb7041Schristos    It defines a macro __GNUC_GNU_INLINE__ to indicate this situation.
1516*56bb7041Schristos  */
1517*56bb7041Schristos #if (((defined __APPLE__ && defined __MACH__) \
1518*56bb7041Schristos       || defined __DragonFly__ || defined __FreeBSD__) \
1519*56bb7041Schristos      && (defined __header_inline \
1520*56bb7041Schristos          ? (defined __cplusplus && defined __GNUC_STDC_INLINE__ \
1521*56bb7041Schristos             && ! defined __clang__) \
1522*56bb7041Schristos          : ((! defined _DONT_USE_CTYPE_INLINE_ \
1523*56bb7041Schristos              && (defined __GNUC__ || defined __cplusplus)) \
1524*56bb7041Schristos             || (defined _FORTIFY_SOURCE && 0 < _FORTIFY_SOURCE \
1525*56bb7041Schristos                 && defined __GNUC__ && ! defined __cplusplus))))
1526*56bb7041Schristos # define _GL_EXTERN_INLINE_STDHEADER_BUG
1527*56bb7041Schristos #endif
1528*56bb7041Schristos #if ((__GNUC__ \
1529*56bb7041Schristos       ? defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ \
1530*56bb7041Schristos       : (199901L <= __STDC_VERSION__ \
1531*56bb7041Schristos          && !defined __HP_cc \
1532*56bb7041Schristos          && !defined __PGI \
1533*56bb7041Schristos          && !(defined __SUNPRO_C && __STDC__))) \
1534*56bb7041Schristos      && !defined _GL_EXTERN_INLINE_STDHEADER_BUG)
1535*56bb7041Schristos # define _GL_INLINE inline
1536*56bb7041Schristos # define _GL_EXTERN_INLINE extern inline
1537*56bb7041Schristos # define _GL_EXTERN_INLINE_IN_USE
1538*56bb7041Schristos #elif (2 < __GNUC__ + (7 <= __GNUC_MINOR__) && !defined __STRICT_ANSI__ \
1539*56bb7041Schristos        && !defined _GL_EXTERN_INLINE_STDHEADER_BUG)
1540*56bb7041Schristos # if defined __GNUC_GNU_INLINE__ && __GNUC_GNU_INLINE__
1541*56bb7041Schristos    /* __gnu_inline__ suppresses a GCC 4.2 diagnostic.  */
1542*56bb7041Schristos #  define _GL_INLINE extern inline __attribute__ ((__gnu_inline__))
1543*56bb7041Schristos # else
1544*56bb7041Schristos #  define _GL_INLINE extern inline
1545*56bb7041Schristos # endif
1546*56bb7041Schristos # define _GL_EXTERN_INLINE extern
1547*56bb7041Schristos # define _GL_EXTERN_INLINE_IN_USE
1548*56bb7041Schristos #else
1549*56bb7041Schristos # define _GL_INLINE static _GL_UNUSED
1550*56bb7041Schristos # define _GL_EXTERN_INLINE static _GL_UNUSED
1551*56bb7041Schristos #endif
1552*56bb7041Schristos 
1553*56bb7041Schristos /* In GCC 4.6 (inclusive) to 5.1 (exclusive),
1554*56bb7041Schristos    suppress bogus "no previous prototype for 'FOO'"
1555*56bb7041Schristos    and "no previous declaration for 'FOO'" diagnostics,
1556*56bb7041Schristos    when FOO is an inline function in the header; see
1557*56bb7041Schristos    <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54113> and
1558*56bb7041Schristos    <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63877>.  */
1559*56bb7041Schristos #if __GNUC__ == 4 && 6 <= __GNUC_MINOR__
1560*56bb7041Schristos # if defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__
1561*56bb7041Schristos #  define _GL_INLINE_HEADER_CONST_PRAGMA
1562*56bb7041Schristos # else
1563*56bb7041Schristos #  define _GL_INLINE_HEADER_CONST_PRAGMA \
1564*56bb7041Schristos      _Pragma ("GCC diagnostic ignored \"-Wsuggest-attribute=const\"")
1565*56bb7041Schristos # endif
1566*56bb7041Schristos # define _GL_INLINE_HEADER_BEGIN \
1567*56bb7041Schristos     _Pragma ("GCC diagnostic push") \
1568*56bb7041Schristos     _Pragma ("GCC diagnostic ignored \"-Wmissing-prototypes\"") \
1569*56bb7041Schristos     _Pragma ("GCC diagnostic ignored \"-Wmissing-declarations\"") \
1570*56bb7041Schristos     _GL_INLINE_HEADER_CONST_PRAGMA
1571*56bb7041Schristos # define _GL_INLINE_HEADER_END \
1572*56bb7041Schristos     _Pragma ("GCC diagnostic pop")
1573*56bb7041Schristos #else
1574*56bb7041Schristos # define _GL_INLINE_HEADER_BEGIN
1575*56bb7041Schristos # define _GL_INLINE_HEADER_END
1576*56bb7041Schristos #endif
1577*56bb7041Schristos 
1578*56bb7041Schristos /* Define to `int' if <sys/types.h> doesn't define. */
1579*56bb7041Schristos /* #undef gid_t */
1580*56bb7041Schristos 
1581*56bb7041Schristos /* Define to `__inline__' or `__inline' if that's what the C compiler
1582*56bb7041Schristos    calls it, or to nothing if 'inline' is not supported under any name.  */
1583*56bb7041Schristos #ifndef __cplusplus
1584*56bb7041Schristos /* #undef inline */
1585*56bb7041Schristos #endif
1586*56bb7041Schristos 
1587*56bb7041Schristos /* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports
1588*56bb7041Schristos    the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of
1589*56bb7041Schristos    earlier versions), but does not display it by setting __GNUC_STDC_INLINE__.
1590*56bb7041Schristos    __APPLE__ && __MACH__ test for Mac OS X.
1591*56bb7041Schristos    __APPLE_CC__ tests for the Apple compiler and its version.
1592*56bb7041Schristos    __STDC_VERSION__ tests for the C99 mode.  */
1593*56bb7041Schristos #if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__
1594*56bb7041Schristos # define __GNUC_STDC_INLINE__ 1
1595*56bb7041Schristos #endif
1596*56bb7041Schristos 
1597*56bb7041Schristos /* Define to a type if <wchar.h> does not define. */
1598*56bb7041Schristos /* #undef mbstate_t */
1599*56bb7041Schristos 
1600*56bb7041Schristos /* Define to `int' if <sys/types.h> does not define. */
1601*56bb7041Schristos /* #undef mode_t */
1602*56bb7041Schristos 
1603*56bb7041Schristos /* Define to the type of st_nlink in struct stat, or a supertype. */
1604*56bb7041Schristos /* #undef nlink_t */
1605*56bb7041Schristos 
1606*56bb7041Schristos /* Define to `int' if <sys/types.h> does not define. */
1607*56bb7041Schristos /* #undef pid_t */
1608*56bb7041Schristos 
1609*56bb7041Schristos /* Define to the equivalent of the C99 'restrict' keyword, or to
1610*56bb7041Schristos    nothing if this is not supported.  Do not define if restrict is
1611*56bb7041Schristos    supported directly.  */
1612*56bb7041Schristos #define restrict __restrict
1613*56bb7041Schristos /* Work around a bug in older versions of Sun C++, which did not
1614*56bb7041Schristos    #define __restrict__ or support _Restrict or __restrict__
1615*56bb7041Schristos    even though the corresponding Sun C compiler ended up with
1616*56bb7041Schristos    "#define restrict _Restrict" or "#define restrict __restrict__"
1617*56bb7041Schristos    in the previous line.  This workaround can be removed once
1618*56bb7041Schristos    we assume Oracle Developer Studio 12.5 (2016) or later.  */
1619*56bb7041Schristos #if defined __SUNPRO_CC && !defined __RESTRICT && !defined __restrict__
1620*56bb7041Schristos # define _Restrict
1621*56bb7041Schristos # define __restrict__
1622*56bb7041Schristos #endif
1623*56bb7041Schristos 
1624*56bb7041Schristos /* Define to `unsigned int' if <sys/types.h> does not define. */
1625*56bb7041Schristos /* #undef size_t */
1626*56bb7041Schristos 
1627*56bb7041Schristos /* type to use in place of socklen_t if not defined */
1628*56bb7041Schristos /* #undef socklen_t */
1629*56bb7041Schristos 
1630*56bb7041Schristos /* Define as a signed type of the same size as size_t. */
1631*56bb7041Schristos /* #undef ssize_t */
1632*56bb7041Schristos 
1633*56bb7041Schristos /* Define to `int' if <sys/types.h> doesn't define. */
1634*56bb7041Schristos /* #undef uid_t */
1635