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