| 1 |
/* config.h.in. Generated from configure.ac by autoheader. */ |
| 2 |
|
| 3 |
/* Define if building universal (internal helper macro) */ |
| 4 |
#undef AC_APPLE_UNIVERSAL_BUILD |
| 5 |
|
| 6 |
/* Define to the number of bits in type 'ptrdiff_t'. */ |
| 7 |
#undef BITSIZEOF_PTRDIFF_T |
| 8 |
|
| 9 |
/* Define to the number of bits in type 'sig_atomic_t'. */ |
| 10 |
#undef BITSIZEOF_SIG_ATOMIC_T |
| 11 |
|
| 12 |
/* Define to the number of bits in type 'size_t'. */ |
| 13 |
#undef BITSIZEOF_SIZE_T |
| 14 |
|
| 15 |
/* Define to the number of bits in type 'wchar_t'. */ |
| 16 |
#undef BITSIZEOF_WCHAR_T |
| 17 |
|
| 18 |
/* Define to the number of bits in type 'wint_t'. */ |
| 19 |
#undef BITSIZEOF_WINT_T |
| 20 |
|
| 21 |
/* Define if you wish *printf() functions that have a safe handling of |
| 22 |
non-IEEE-754 'long double' values. */ |
| 23 |
#undef CHECK_PRINTF_SAFE |
| 24 |
|
| 25 |
/* Define to 1 if using 'alloca.c'. */ |
| 26 |
#undef C_ALLOCA |
| 27 |
|
| 28 |
/* Define as the bit index in the word where to find bit 0 of the exponent of |
| 29 |
'double'. */ |
| 30 |
#undef DBL_EXPBIT0_BIT |
| 31 |
|
| 32 |
/* Define as the word index where to find the exponent of 'double'. */ |
| 33 |
#undef DBL_EXPBIT0_WORD |
| 34 |
|
| 35 |
/* Define as the bit index in the word where to find the sign of 'double'. */ |
| 36 |
#undef DBL_SIGNBIT_BIT |
| 37 |
|
| 38 |
/* Define as the word index where to find the sign of 'double'. */ |
| 39 |
#undef DBL_SIGNBIT_WORD |
| 40 |
|
| 41 |
/* Define to 1 if // is a file system root distinct from /. */ |
| 42 |
#undef DOUBLE_SLASH_IS_DISTINCT_ROOT |
| 43 |
|
| 44 |
/* Define to 1 if translation of program messages to the user's native |
| 45 |
language is requested. */ |
| 46 |
#undef ENABLE_NLS |
| 47 |
|
| 48 |
/* Define this to 1 if F_DUPFD behavior does not match POSIX */ |
| 49 |
#undef FCNTL_DUPFD_BUGGY |
| 50 |
|
| 51 |
/* Define as the bit index in the word where to find bit 0 of the exponent of |
| 52 |
'float'. */ |
| 53 |
#undef FLT_EXPBIT0_BIT |
| 54 |
|
| 55 |
/* Define as the word index where to find the exponent of 'float'. */ |
| 56 |
#undef FLT_EXPBIT0_WORD |
| 57 |
|
| 58 |
/* Define as the bit index in the word where to find the sign of 'float'. */ |
| 59 |
#undef FLT_SIGNBIT_BIT |
| 60 |
|
| 61 |
/* Define as the word index where to find the sign of 'float'. */ |
| 62 |
#undef FLT_SIGNBIT_WORD |
| 63 |
|
| 64 |
/* Define to 1 if mkdir mistakenly creates a directory given with a trailing |
| 65 |
dot component. */ |
| 66 |
#undef FUNC_MKDIR_DOT_BUG |
| 67 |
|
| 68 |
/* Define to 1 if realpath() can malloc memory, always gives an absolute path, |
| 69 |
and handles a trailing slash correctly. */ |
| 70 |
#undef FUNC_REALPATH_NEARLY_WORKS |
| 71 |
|
| 72 |
/* Define to 1 if realpath() can malloc memory, always gives an absolute path, |
| 73 |
and handles leading slashes and a trailing slash correctly. */ |
| 74 |
#undef FUNC_REALPATH_WORKS |
| 75 |
|
| 76 |
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending |
| 77 |
whether the gnulib module canonicalize-lgpl shall be considered present. */ |
| 78 |
#undef GNULIB_CANONICALIZE_LGPL |
| 79 |
|
| 80 |
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending |
| 81 |
whether the gnulib module dirname shall be considered present. */ |
| 82 |
#undef GNULIB_DIRNAME |
| 83 |
|
| 84 |
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending |
| 85 |
whether the gnulib module fscanf shall be considered present. */ |
| 86 |
#undef GNULIB_FSCANF |
| 87 |
|
| 88 |
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending |
| 89 |
whether the gnulib module mkstemps shall be considered present. */ |
| 90 |
#undef GNULIB_MKSTEMPS |
| 91 |
|
| 92 |
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending |
| 93 |
whether the gnulib module msvc-nothrow shall be considered present. */ |
| 94 |
#undef GNULIB_MSVC_NOTHROW |
| 95 |
|
| 96 |
/* Define to 1 if printf and friends should be labeled with attribute |
| 97 |
"__gnu_printf__" instead of "__printf__" */ |
| 98 |
#undef GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU |
| 99 |
|
| 100 |
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending |
| 101 |
whether the gnulib module reallocarray shall be considered present. */ |
| 102 |
#undef GNULIB_REALLOCARRAY |
| 103 |
|
| 104 |
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending |
| 105 |
whether the gnulib module scanf shall be considered present. */ |
| 106 |
#undef GNULIB_SCANF |
| 107 |
|
| 108 |
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending |
| 109 |
whether the gnulib module strerror shall be considered present. */ |
| 110 |
#undef GNULIB_STRERROR |
| 111 |
|
| 112 |
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending |
| 113 |
whether the gnulib module tempname shall be considered present. */ |
| 114 |
#undef GNULIB_TEMPNAME |
| 115 |
|
| 116 |
/* Define to 1 when the gnulib module calloc-gnu should be tested. */ |
| 117 |
#undef GNULIB_TEST_CALLOC_GNU |
| 118 |
|
| 119 |
/* Define to 1 when the gnulib module calloc-posix should be tested. */ |
| 120 |
#undef GNULIB_TEST_CALLOC_POSIX |
| 121 |
|
| 122 |
/* Define to 1 when the gnulib module canonicalize_file_name should be tested. |
| 123 |
*/ |
| 124 |
#undef GNULIB_TEST_CANONICALIZE_FILE_NAME |
| 125 |
|
| 126 |
/* Define to 1 when the gnulib module cloexec should be tested. */ |
| 127 |
#undef GNULIB_TEST_CLOEXEC |
| 128 |
|
| 129 |
/* Define to 1 when the gnulib module close should be tested. */ |
| 130 |
#undef GNULIB_TEST_CLOSE |
| 131 |
|
| 132 |
/* Define to 1 when the gnulib module dup2 should be tested. */ |
| 133 |
#undef GNULIB_TEST_DUP2 |
| 134 |
|
| 135 |
/* Define to 1 when the gnulib module fcntl should be tested. */ |
| 136 |
#undef GNULIB_TEST_FCNTL |
| 137 |
|
| 138 |
/* Define to 1 when the gnulib module fgetc should be tested. */ |
| 139 |
#undef GNULIB_TEST_FGETC |
| 140 |
|
| 141 |
/* Define to 1 when the gnulib module fgets should be tested. */ |
| 142 |
#undef GNULIB_TEST_FGETS |
| 143 |
|
| 144 |
/* Define to 1 when the gnulib module fprintf should be tested. */ |
| 145 |
#undef GNULIB_TEST_FPRINTF |
| 146 |
|
| 147 |
/* Define to 1 when the gnulib module fputc should be tested. */ |
| 148 |
#undef GNULIB_TEST_FPUTC |
| 149 |
|
| 150 |
/* Define to 1 when the gnulib module fputs should be tested. */ |
| 151 |
#undef GNULIB_TEST_FPUTS |
| 152 |
|
| 153 |
/* Define to 1 when the gnulib module fread should be tested. */ |
| 154 |
#undef GNULIB_TEST_FREAD |
| 155 |
|
| 156 |
/* Define to 1 when the gnulib module free-posix should be tested. */ |
| 157 |
#undef GNULIB_TEST_FREE_POSIX |
| 158 |
|
| 159 |
/* Define to 1 when the gnulib module frexp should be tested. */ |
| 160 |
#undef GNULIB_TEST_FREXP |
| 161 |
|
| 162 |
/* Define to 1 when the gnulib module frexpl should be tested. */ |
| 163 |
#undef GNULIB_TEST_FREXPL |
| 164 |
|
| 165 |
/* Define to 1 when the gnulib module fscanf should be tested. */ |
| 166 |
#undef GNULIB_TEST_FSCANF |
| 167 |
|
| 168 |
/* Define to 1 when the gnulib module fstat should be tested. */ |
| 169 |
#undef GNULIB_TEST_FSTAT |
| 170 |
|
| 171 |
/* Define to 1 when the gnulib module fwrite should be tested. */ |
| 172 |
#undef GNULIB_TEST_FWRITE |
| 173 |
|
| 174 |
/* Define to 1 when the gnulib module getc should be tested. */ |
| 175 |
#undef GNULIB_TEST_GETC |
| 176 |
|
| 177 |
/* Define to 1 when the gnulib module getchar should be tested. */ |
| 178 |
#undef GNULIB_TEST_GETCHAR |
| 179 |
|
| 180 |
/* Define to 1 when the gnulib module getdtablesize should be tested. */ |
| 181 |
#undef GNULIB_TEST_GETDTABLESIZE |
| 182 |
|
| 183 |
/* Define to 1 when the gnulib module getopt-posix should be tested. */ |
| 184 |
#undef GNULIB_TEST_GETOPT_POSIX |
| 185 |
|
| 186 |
/* Define to 1 when the gnulib module getprogname should be tested. */ |
| 187 |
#undef GNULIB_TEST_GETPROGNAME |
| 188 |
|
| 189 |
/* Define to 1 when the gnulib module getrandom should be tested. */ |
| 190 |
#undef GNULIB_TEST_GETRANDOM |
| 191 |
|
| 192 |
/* Define to 1 when the gnulib module isatty should be tested. */ |
| 193 |
#undef GNULIB_TEST_ISATTY |
| 194 |
|
| 195 |
/* Define to 1 when the gnulib module lstat should be tested. */ |
| 196 |
#undef GNULIB_TEST_LSTAT |
| 197 |
|
| 198 |
/* Define to 1 when the gnulib module malloc-gnu should be tested. */ |
| 199 |
#undef GNULIB_TEST_MALLOC_GNU |
| 200 |
|
| 201 |
/* Define to 1 when the gnulib module malloc-posix should be tested. */ |
| 202 |
#undef GNULIB_TEST_MALLOC_POSIX |
| 203 |
|
| 204 |
/* Define to 1 when the gnulib module mbrtowc should be tested. */ |
| 205 |
#undef GNULIB_TEST_MBRTOWC |
| 206 |
|
| 207 |
/* Define to 1 when the gnulib module mbsinit should be tested. */ |
| 208 |
#undef GNULIB_TEST_MBSINIT |
| 209 |
|
| 210 |
/* Define to 1 when the gnulib module memchr should be tested. */ |
| 211 |
#undef GNULIB_TEST_MEMCHR |
| 212 |
|
| 213 |
/* Define to 1 when the gnulib module mempcpy should be tested. */ |
| 214 |
#undef GNULIB_TEST_MEMPCPY |
| 215 |
|
| 216 |
/* Define to 1 when the gnulib module mkdir should be tested. */ |
| 217 |
#undef GNULIB_TEST_MKDIR |
| 218 |
|
| 219 |
/* Define to 1 when the gnulib module mkstemps should be tested. */ |
| 220 |
#undef GNULIB_TEST_MKSTEMPS |
| 221 |
|
| 222 |
/* Define to 1 when the gnulib module open should be tested. */ |
| 223 |
#undef GNULIB_TEST_OPEN |
| 224 |
|
| 225 |
/* Define to 1 when the gnulib module pipe should be tested. */ |
| 226 |
#undef GNULIB_TEST_PIPE |
| 227 |
|
| 228 |
/* Define to 1 when the gnulib module printf should be tested. */ |
| 229 |
#undef GNULIB_TEST_PRINTF |
| 230 |
|
| 231 |
/* Define to 1 when the gnulib module putc should be tested. */ |
| 232 |
#undef GNULIB_TEST_PUTC |
| 233 |
|
| 234 |
/* Define to 1 when the gnulib module putchar should be tested. */ |
| 235 |
#undef GNULIB_TEST_PUTCHAR |
| 236 |
|
| 237 |
/* Define to 1 when the gnulib module puts should be tested. */ |
| 238 |
#undef GNULIB_TEST_PUTS |
| 239 |
|
| 240 |
/* Define to 1 when the gnulib module raise should be tested. */ |
| 241 |
#undef GNULIB_TEST_RAISE |
| 242 |
|
| 243 |
/* Define to 1 when the gnulib module rawmemchr should be tested. */ |
| 244 |
#undef GNULIB_TEST_RAWMEMCHR |
| 245 |
|
| 246 |
/* Define to 1 when the gnulib module readlink should be tested. */ |
| 247 |
#undef GNULIB_TEST_READLINK |
| 248 |
|
| 249 |
/* Define to 1 when the gnulib module reallocarray should be tested. */ |
| 250 |
#undef GNULIB_TEST_REALLOCARRAY |
| 251 |
|
| 252 |
/* Define to 1 when the gnulib module realloc-gnu should be tested. */ |
| 253 |
#undef GNULIB_TEST_REALLOC_GNU |
| 254 |
|
| 255 |
/* Define to 1 when the gnulib module realloc-posix should be tested. */ |
| 256 |
#undef GNULIB_TEST_REALLOC_POSIX |
| 257 |
|
| 258 |
/* Define to 1 when the gnulib module realpath should be tested. */ |
| 259 |
#undef GNULIB_TEST_REALPATH |
| 260 |
|
| 261 |
/* Define to 1 when the gnulib module scanf should be tested. */ |
| 262 |
#undef GNULIB_TEST_SCANF |
| 263 |
|
| 264 |
/* Define to 1 when the gnulib module setlocale_null should be tested. */ |
| 265 |
#undef GNULIB_TEST_SETLOCALE_NULL |
| 266 |
|
| 267 |
/* Define to 1 when the gnulib module sigaction should be tested. */ |
| 268 |
#undef GNULIB_TEST_SIGACTION |
| 269 |
|
| 270 |
/* Define to 1 when the gnulib module signbit should be tested. */ |
| 271 |
#undef GNULIB_TEST_SIGNBIT |
| 272 |
|
| 273 |
/* Define to 1 when the gnulib module sigprocmask should be tested. */ |
| 274 |
#undef GNULIB_TEST_SIGPROCMASK |
| 275 |
|
| 276 |
/* Define to 1 when the gnulib module stat should be tested. */ |
| 277 |
#undef GNULIB_TEST_STAT |
| 278 |
|
| 279 |
/* Define to 1 when the gnulib module strerror should be tested. */ |
| 280 |
#undef GNULIB_TEST_STRERROR |
| 281 |
|
| 282 |
/* Define to 1 when the gnulib module strndup should be tested. */ |
| 283 |
#undef GNULIB_TEST_STRNDUP |
| 284 |
|
| 285 |
/* Define to 1 when the gnulib module strnlen should be tested. */ |
| 286 |
#undef GNULIB_TEST_STRNLEN |
| 287 |
|
| 288 |
/* Define to 1 when the gnulib module utime should be tested. */ |
| 289 |
#undef GNULIB_TEST_UTIME |
| 290 |
|
| 291 |
/* Define to 1 when the gnulib module vasprintf should be tested. */ |
| 292 |
#undef GNULIB_TEST_VASPRINTF |
| 293 |
|
| 294 |
/* Define to 1 when the gnulib module vfprintf should be tested. */ |
| 295 |
#undef GNULIB_TEST_VFPRINTF |
| 296 |
|
| 297 |
/* Define to 1 when the gnulib module vfprintf-posix should be tested. */ |
| 298 |
#undef GNULIB_TEST_VFPRINTF_POSIX |
| 299 |
|
| 300 |
/* Define to 1 when the gnulib module vprintf should be tested. */ |
| 301 |
#undef GNULIB_TEST_VPRINTF |
| 302 |
|
| 303 |
/* Define to 1 when the gnulib module vprintf-posix should be tested. */ |
| 304 |
#undef GNULIB_TEST_VPRINTF_POSIX |
| 305 |
|
| 306 |
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending |
| 307 |
whether the gnulib module vfprintf-posix shall be considered present. */ |
| 308 |
#undef GNULIB_VFPRINTF_POSIX |
| 309 |
|
| 310 |
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending |
| 311 |
whether the gnulib module vprintf-posix shall be considered present. */ |
| 312 |
#undef GNULIB_VPRINTF_POSIX |
| 313 |
|
| 314 |
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending |
| 315 |
whether the gnulib module xalloc shall be considered present. */ |
| 316 |
#undef GNULIB_XALLOC |
| 317 |
|
| 318 |
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending |
| 319 |
whether the gnulib module xalloc-die shall be considered present. */ |
| 320 |
#undef GNULIB_XALLOC_DIE |
| 321 |
|
| 322 |
/* Define to 1 if you have 'alloca' after including <alloca.h>, a header that |
| 323 |
may be supplied by this distribution. */ |
| 324 |
#undef HAVE_ALLOCA |
| 325 |
|
| 326 |
/* Define to 1 if <alloca.h> works. */ |
| 327 |
#undef HAVE_ALLOCA_H |
| 328 |
|
| 329 |
/* Define to 1 if you have the <bcrypt.h> header file. */ |
| 330 |
#undef HAVE_BCRYPT_H |
| 331 |
|
| 332 |
/* Define to 1 if you have the <bp-sym.h> header file. */ |
| 333 |
#undef HAVE_BP_SYM_H |
| 334 |
|
| 335 |
/* Define to 1 if you have the `canonicalize_file_name' function. */ |
| 336 |
#undef HAVE_CANONICALIZE_FILE_NAME |
| 337 |
|
| 338 |
/* Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the |
| 339 |
CoreFoundation framework. */ |
| 340 |
#undef HAVE_CFLOCALECOPYCURRENT |
| 341 |
|
| 342 |
/* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in |
| 343 |
the CoreFoundation framework. */ |
| 344 |
#undef HAVE_CFPREFERENCESCOPYAPPVALUE |
| 345 |
|
| 346 |
/* Define to 1 if you have the `clock_getres' function. */ |
| 347 |
#undef HAVE_CLOCK_GETRES |
| 348 |
|
| 349 |
/* Define to 1 if you have the `clock_gettime' function. */ |
| 350 |
#undef HAVE_CLOCK_GETTIME |
| 351 |
|
| 352 |
/* Define to 1 if you have the `clock_settime' function. */ |
| 353 |
#undef HAVE_CLOCK_SETTIME |
| 354 |
|
| 355 |
/* Define if the copysignf function is declared in <math.h> and available in |
| 356 |
libc. */ |
| 357 |
#undef HAVE_COPYSIGNF_IN_LIBC |
| 358 |
|
| 359 |
/* Define if the copysignl function is declared in <math.h> and available in |
| 360 |
libc. */ |
| 361 |
#undef HAVE_COPYSIGNL_IN_LIBC |
| 362 |
|
| 363 |
/* Define if the copysign function is declared in <math.h> and available in |
| 364 |
libc. */ |
| 365 |
#undef HAVE_COPYSIGN_IN_LIBC |
| 366 |
|
| 367 |
/* Define to 1 if you have the <crtdefs.h> header file. */ |
| 368 |
#undef HAVE_CRTDEFS_H |
| 369 |
|
| 370 |
/* Define to 1 if the alignas and alignof keywords work. */ |
| 371 |
#undef HAVE_C_ALIGNASOF |
| 372 |
|
| 373 |
/* Define to 1 if bool, true and false work as per C2023. */ |
| 374 |
#undef HAVE_C_BOOL |
| 375 |
|
| 376 |
/* Define to 1 if the static_assert keyword works. */ |
| 377 |
#undef HAVE_C_STATIC_ASSERT |
| 378 |
|
| 379 |
/* Define to 1 if C supports variable-length arrays. */ |
| 380 |
#undef HAVE_C_VARARRAYS |
| 381 |
|
| 382 |
/* Define if the GNU dcgettext() function is already present or preinstalled. |
| 383 |
*/ |
| 384 |
#undef HAVE_DCGETTEXT |
| 385 |
|
| 386 |
/* Define to 1 if you have the declaration of `alarm', and to 0 if you don't. |
| 387 |
*/ |
| 388 |
#undef HAVE_DECL_ALARM |
| 389 |
|
| 390 |
/* Define to 1 if you have the declaration of `copysign', and to 0 if you |
| 391 |
don't. */ |
| 392 |
#undef HAVE_DECL_COPYSIGN |
| 393 |
|
| 394 |
/* Define to 1 if you have the declaration of `copysignf', and to 0 if you |
| 395 |
don't. */ |
| 396 |
#undef HAVE_DECL_COPYSIGNF |
| 397 |
|
| 398 |
/* Define to 1 if you have the declaration of `copysignl', and to 0 if you |
| 399 |
don't. */ |
| 400 |
#undef HAVE_DECL_COPYSIGNL |
| 401 |
|
| 402 |
/* Define to 1 if you have the declaration of `ecvt', and to 0 if you don't. |
| 403 |
*/ |
| 404 |
#undef HAVE_DECL_ECVT |
| 405 |
|
| 406 |
/* Define to 1 if you have the declaration of `execvpe', and to 0 if you |
| 407 |
don't. */ |
| 408 |
#undef HAVE_DECL_EXECVPE |
| 409 |
|
| 410 |
/* Define to 1 if you have the declaration of `fcloseall', and to 0 if you |
| 411 |
don't. */ |
| 412 |
#undef HAVE_DECL_FCLOSEALL |
| 413 |
|
| 414 |
/* Define to 1 if you have the declaration of `fcvt', and to 0 if you don't. |
| 415 |
*/ |
| 416 |
#undef HAVE_DECL_FCVT |
| 417 |
|
| 418 |
/* Define to 1 if you have the declaration of `gcvt', and to 0 if you don't. |
| 419 |
*/ |
| 420 |
#undef HAVE_DECL_GCVT |
| 421 |
|
| 422 |
/* Define to 1 if you have the declaration of `getdtablesize', and to 0 if you |
| 423 |
don't. */ |
| 424 |
#undef HAVE_DECL_GETDTABLESIZE |
| 425 |
|
| 426 |
/* Define to 1 if you have the declaration of `getw', and to 0 if you don't. |
| 427 |
*/ |
| 428 |
#undef HAVE_DECL_GETW |
| 429 |
|
| 430 |
/* Define to 1 if you have the declaration of `mbrtowc', and to 0 if you |
| 431 |
don't. */ |
| 432 |
#undef HAVE_DECL_MBRTOWC |
| 433 |
|
| 434 |
/* Define to 1 if you have the declaration of `mbsinit', and to 0 if you |
| 435 |
don't. */ |
| 436 |
#undef HAVE_DECL_MBSINIT |
| 437 |
|
| 438 |
/* Define to 1 if you have the declaration of `program_invocation_name', and |
| 439 |
to 0 if you don't. */ |
| 440 |
#undef HAVE_DECL_PROGRAM_INVOCATION_NAME |
| 441 |
|
| 442 |
/* Define to 1 if you have the declaration of `program_invocation_short_name', |
| 443 |
and to 0 if you don't. */ |
| 444 |
#undef HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME |
| 445 |
|
| 446 |
/* Define to 1 if you have the declaration of `putw', and to 0 if you don't. |
| 447 |
*/ |
| 448 |
#undef HAVE_DECL_PUTW |
| 449 |
|
| 450 |
/* Define to 1 if you have the declaration of `strerror_r', and to 0 if you |
| 451 |
don't. */ |
| 452 |
#undef HAVE_DECL_STRERROR_R |
| 453 |
|
| 454 |
/* Define to 1 if you have the declaration of `strndup', and to 0 if you |
| 455 |
don't. */ |
| 456 |
#undef HAVE_DECL_STRNDUP |
| 457 |
|
| 458 |
/* Define to 1 if you have the declaration of `strnlen', and to 0 if you |
| 459 |
don't. */ |
| 460 |
#undef HAVE_DECL_STRNLEN |
| 461 |
|
| 462 |
/* Define to 1 if you have the declaration of `towlower', and to 0 if you |
| 463 |
don't. */ |
| 464 |
#undef HAVE_DECL_TOWLOWER |
| 465 |
|
| 466 |
/* Define to 1 if you have the declaration of `wcsdup', and to 0 if you don't. |
| 467 |
*/ |
| 468 |
#undef HAVE_DECL_WCSDUP |
| 469 |
|
| 470 |
/* Define to 1 if you have the declaration of `_snprintf', and to 0 if you |
| 471 |
don't. */ |
| 472 |
#undef HAVE_DECL__SNPRINTF |
| 473 |
|
| 474 |
/* Define to 1 if you have the declaration of `__argv', and to 0 if you don't. |
| 475 |
*/ |
| 476 |
#undef HAVE_DECL___ARGV |
| 477 |
|
| 478 |
/* Define to 1 if you have the <dlfcn.h> header file. */ |
| 479 |
#undef HAVE_DLFCN_H |
| 480 |
|
| 481 |
/* Define to 1 if you have the `error' function. */ |
| 482 |
#undef HAVE_ERROR |
| 483 |
|
| 484 |
/* Define to 1 if you have the `faccessat' function. */ |
| 485 |
#undef HAVE_FACCESSAT |
| 486 |
|
| 487 |
/* Define to 1 if you have the `fcntl' function. */ |
| 488 |
#undef HAVE_FCNTL |
| 489 |
|
| 490 |
/* Define to 1 if you have the <features.h> header file. */ |
| 491 |
#undef HAVE_FEATURES_H |
| 492 |
|
| 493 |
/* Define if the 'free' function is guaranteed to preserve errno. */ |
| 494 |
#undef HAVE_FREE_POSIX |
| 495 |
|
| 496 |
/* Define if the frexpl function is available in libc. */ |
| 497 |
#undef HAVE_FREXPL_IN_LIBC |
| 498 |
|
| 499 |
/* Define if the frexp function is available in libc. */ |
| 500 |
#undef HAVE_FREXP_IN_LIBC |
| 501 |
|
| 502 |
/* Define to 1 if you have the `getcwd' function. */ |
| 503 |
#undef HAVE_GETCWD |
| 504 |
|
| 505 |
/* Define to 1 if you have the `getdtablesize' function. */ |
| 506 |
#undef HAVE_GETDTABLESIZE |
| 507 |
|
| 508 |
/* Define to 1 if you have the `getexecname' function. */ |
| 509 |
#undef HAVE_GETEXECNAME |
| 510 |
|
| 511 |
/* Define to 1 if you have the <getopt.h> header file. */ |
| 512 |
#undef HAVE_GETOPT_H |
| 513 |
|
| 514 |
/* Define to 1 if you have the `getopt_long_only' function. */ |
| 515 |
#undef HAVE_GETOPT_LONG_ONLY |
| 516 |
|
| 517 |
/* Define to 1 if you have the `getprogname' function. */ |
| 518 |
#undef HAVE_GETPROGNAME |
| 519 |
|
| 520 |
/* Define to 1 if you have the `getrandom' function. */ |
| 521 |
#undef HAVE_GETRANDOM |
| 522 |
|
| 523 |
/* Define if the GNU gettext() function is already present or preinstalled. */ |
| 524 |
#undef HAVE_GETTEXT |
| 525 |
|
| 526 |
/* Define if you have the iconv() function and it works. */ |
| 527 |
#undef HAVE_ICONV |
| 528 |
|
| 529 |
/* Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>. */ |
| 530 |
#undef HAVE_INTMAX_T |
| 531 |
|
| 532 |
/* Define to 1 if you have the <inttypes.h> header file. */ |
| 533 |
#undef HAVE_INTTYPES_H |
| 534 |
|
| 535 |
/* Define if <inttypes.h> exists, doesn't clash with <sys/types.h>, and |
| 536 |
declares uintmax_t. */ |
| 537 |
#undef HAVE_INTTYPES_H_WITH_UINTMAX |
| 538 |
|
| 539 |
/* Define if the isnan(double) function is available in libc. */ |
| 540 |
#undef HAVE_ISNAND_IN_LIBC |
| 541 |
|
| 542 |
/* Define if the isnan(float) function is available in libc. */ |
| 543 |
#undef HAVE_ISNANF_IN_LIBC |
| 544 |
|
| 545 |
/* Define if the isnan(long double) function is available in libc. */ |
| 546 |
#undef HAVE_ISNANL_IN_LIBC |
| 547 |
|
| 548 |
/* Define to 1 if you have the `iswcntrl' function. */ |
| 549 |
#undef HAVE_ISWCNTRL |
| 550 |
|
| 551 |
/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */ |
| 552 |
#undef HAVE_LANGINFO_CODESET |
| 553 |
|
| 554 |
/* Define if the ldexpl function is available in libc. */ |
| 555 |
#undef HAVE_LDEXPL_IN_LIBC |
| 556 |
|
| 557 |
/* Define if the ldexp function is available in libc. */ |
| 558 |
#undef HAVE_LDEXP_IN_LIBC |
| 559 |
|
| 560 |
/* Define to 1 if the bcrypt library is guaranteed to be present. */ |
| 561 |
#undef HAVE_LIB_BCRYPT |
| 562 |
|
| 563 |
/* Define to 1 if you have the <limits.h> header file. */ |
| 564 |
#undef HAVE_LIMITS_H |
| 565 |
|
| 566 |
/* Define to 1 if the system has the type 'long long int'. */ |
| 567 |
#undef HAVE_LONG_LONG_INT |
| 568 |
|
| 569 |
/* Define to 1 if you have the `lstat' function. */ |
| 570 |
#undef HAVE_LSTAT |
| 571 |
|
| 572 |
/* Define if malloc, realloc, and calloc set errno on allocation failure. */ |
| 573 |
#undef HAVE_MALLOC_POSIX |
| 574 |
|
| 575 |
/* Define to 1 if mmap()'s MAP_ANONYMOUS flag is available after including |
| 576 |
config.h and <sys/mman.h>. */ |
| 577 |
#undef HAVE_MAP_ANONYMOUS |
| 578 |
|
| 579 |
/* Define to 1 if you have the <math.h> header file. */ |
| 580 |
#undef HAVE_MATH_H |
| 581 |
|
| 582 |
/* Define to 1 if you have the `mbrtowc' function. */ |
| 583 |
#undef HAVE_MBRTOWC |
| 584 |
|
| 585 |
/* Define to 1 if you have the `mbsinit' function. */ |
| 586 |
#undef HAVE_MBSINIT |
| 587 |
|
| 588 |
/* Define to 1 if <wchar.h> declares mbstate_t. */ |
| 589 |
#undef HAVE_MBSTATE_T |
| 590 |
|
| 591 |
/* Define to 1 if you have the `mempcpy' function. */ |
| 592 |
#undef HAVE_MEMPCPY |
| 593 |
|
| 594 |
/* Define to 1 if you have the <minix/config.h> header file. */ |
| 595 |
#undef HAVE_MINIX_CONFIG_H |
| 596 |
|
| 597 |
/* Define to 1 if <limits.h> defines the MIN and MAX macros. */ |
| 598 |
#undef HAVE_MINMAX_IN_LIMITS_H |
| 599 |
|
| 600 |
/* Define to 1 if <sys/param.h> defines the MIN and MAX macros. */ |
| 601 |
#undef HAVE_MINMAX_IN_SYS_PARAM_H |
| 602 |
|
| 603 |
/* Define to 1 if you have the `mkstemps' function. */ |
| 604 |
#undef HAVE_MKSTEMPS |
| 605 |
|
| 606 |
/* Define to 1 if you have the `mprotect' function. */ |
| 607 |
#undef HAVE_MPROTECT |
| 608 |
|
| 609 |
/* Define to 1 on MSVC platforms that have the "invalid parameter handler" |
| 610 |
concept. */ |
| 611 |
#undef HAVE_MSVC_INVALID_PARAMETER_HANDLER |
| 612 |
|
| 613 |
/* Define to 1 if you have the `nl_langinfo' function. */ |
| 614 |
#undef HAVE_NL_LANGINFO |
| 615 |
|
| 616 |
/* Define to 1 if you have the `pipe' function. */ |
| 617 |
#undef HAVE_PIPE |
| 618 |
|
| 619 |
/* Define if you have the <pthread.h> header and the POSIX threads API. */ |
| 620 |
#undef HAVE_PTHREAD_API |
| 621 |
|
| 622 |
/* Define to 1 if you have the `raise' function. */ |
| 623 |
#undef HAVE_RAISE |
| 624 |
|
| 625 |
/* Define to 1 if you have the `rawmemchr' function. */ |
| 626 |
#undef HAVE_RAWMEMCHR |
| 627 |
|
| 628 |
/* Define to 1 if you have the `readlink' function. */ |
| 629 |
#undef HAVE_READLINK |
| 630 |
|
| 631 |
/* Define to 1 if you have the `reallocarray' function. */ |
| 632 |
#undef HAVE_REALLOCARRAY |
| 633 |
|
| 634 |
/* Define to 1 if you have the `realpath' function. */ |
| 635 |
#undef HAVE_REALPATH |
| 636 |
|
| 637 |
/* Define to 1 if 'long double' and 'double' have the same representation. */ |
| 638 |
#undef HAVE_SAME_LONG_DOUBLE_AS_DOUBLE |
| 639 |
|
| 640 |
/* Define to 1 if you have the <sdkddkver.h> header file. */ |
| 641 |
#undef HAVE_SDKDDKVER_H |
| 642 |
|
| 643 |
/* Define to 1 if you have the `setdtablesize' function. */ |
| 644 |
#undef HAVE_SETDTABLESIZE |
| 645 |
|
| 646 |
/* Define to 1 if you have the `sigaction' function. */ |
| 647 |
#undef HAVE_SIGACTION |
| 648 |
|
| 649 |
/* Define to 1 if you have the `sigaltstack' function. */ |
| 650 |
#undef HAVE_SIGALTSTACK |
| 651 |
|
| 652 |
/* Define to 1 if the system has the type `siginfo_t'. */ |
| 653 |
#undef HAVE_SIGINFO_T |
| 654 |
|
| 655 |
/* Define to 1 if you have the `siginterrupt' function. */ |
| 656 |
#undef HAVE_SIGINTERRUPT |
| 657 |
|
| 658 |
/* Define to 1 if 'sig_atomic_t' is a signed integer type. */ |
| 659 |
#undef HAVE_SIGNED_SIG_ATOMIC_T |
| 660 |
|
| 661 |
/* Define to 1 if 'wchar_t' is a signed integer type. */ |
| 662 |
#undef HAVE_SIGNED_WCHAR_T |
| 663 |
|
| 664 |
/* Define to 1 if 'wint_t' is a signed integer type. */ |
| 665 |
#undef HAVE_SIGNED_WINT_T |
| 666 |
|
| 667 |
/* Define to 1 if the system has the type `sigset_t'. */ |
| 668 |
#undef HAVE_SIGSET_T |
| 669 |
|
| 670 |
/* Define to 1 if you have the `snprintf' function. */ |
| 671 |
#undef HAVE_SNPRINTF |
| 672 |
|
| 673 |
/* Define if the return value of the snprintf function is the number of of |
| 674 |
bytes (excluding the terminating NUL) that would have been produced if the |
| 675 |
buffer had been large enough. */ |
| 676 |
#undef HAVE_SNPRINTF_RETVAL_C99 |
| 677 |
|
| 678 |
/* Define if the string produced by the snprintf function is always NUL |
| 679 |
terminated. */ |
| 680 |
#undef HAVE_SNPRINTF_TRUNCATION_C99 |
| 681 |
|
| 682 |
/* Define to 1 if you have the <stdbool.h> header file. */ |
| 683 |
#undef HAVE_STDBOOL_H |
| 684 |
|
| 685 |
/* Define to 1 if you have the <stdckdint.h> header file. */ |
| 686 |
#undef HAVE_STDCKDINT_H |
| 687 |
|
| 688 |
/* Define to 1 if you have the <stdint.h> header file. */ |
| 689 |
#undef HAVE_STDINT_H |
| 690 |
|
| 691 |
/* Define if <stdint.h> exists, doesn't clash with <sys/types.h>, and declares |
| 692 |
uintmax_t. */ |
| 693 |
#undef HAVE_STDINT_H_WITH_UINTMAX |
| 694 |
|
| 695 |
/* Define to 1 if you have the <stdio.h> header file. */ |
| 696 |
#undef HAVE_STDIO_H |
| 697 |
|
| 698 |
/* Define to 1 if you have the <stdlib.h> header file. */ |
| 699 |
#undef HAVE_STDLIB_H |
| 700 |
|
| 701 |
/* Define if you have `strerror_r'. */ |
| 702 |
#undef HAVE_STRERROR_R |
| 703 |
|
| 704 |
/* Define to 1 if you have the <strings.h> header file. */ |
| 705 |
#undef HAVE_STRINGS_H |
| 706 |
|
| 707 |
/* Define to 1 if you have the <string.h> header file. */ |
| 708 |
#undef HAVE_STRING_H |
| 709 |
|
| 710 |
/* Define to 1 if you have the `strndup' function. */ |
| 711 |
#undef HAVE_STRNDUP |
| 712 |
|
| 713 |
/* Define to 1 if you have the `strnlen' function. */ |
| 714 |
#undef HAVE_STRNLEN |
| 715 |
|
| 716 |
/* Define to 1 if `sa_sigaction' is a member of `struct sigaction'. */ |
| 717 |
#undef HAVE_STRUCT_SIGACTION_SA_SIGACTION |
| 718 |
|
| 719 |
/* Define to 1 if `st_atimensec' is a member of `struct stat'. */ |
| 720 |
#undef HAVE_STRUCT_STAT_ST_ATIMENSEC |
| 721 |
|
| 722 |
/* Define to 1 if `st_atimespec.tv_nsec' is a member of `struct stat'. */ |
| 723 |
#undef HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC |
| 724 |
|
| 725 |
/* Define to 1 if `st_atim.st__tim.tv_nsec' is a member of `struct stat'. */ |
| 726 |
#undef HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC |
| 727 |
|
| 728 |
/* Define to 1 if `st_atim.tv_nsec' is a member of `struct stat'. */ |
| 729 |
#undef HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC |
| 730 |
|
| 731 |
/* Define to 1 if `st_birthtimensec' is a member of `struct stat'. */ |
| 732 |
#undef HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC |
| 733 |
|
| 734 |
/* Define to 1 if `st_birthtimespec.tv_nsec' is a member of `struct stat'. */ |
| 735 |
#undef HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC |
| 736 |
|
| 737 |
/* Define to 1 if `st_birthtim.tv_nsec' is a member of `struct stat'. */ |
| 738 |
#undef HAVE_STRUCT_STAT_ST_BIRTHTIM_TV_NSEC |
| 739 |
|
| 740 |
/* Define to 1 if you have the `symlink' function. */ |
| 741 |
#undef HAVE_SYMLINK |
| 742 |
|
| 743 |
/* Define to 1 if you have the <sys/bitypes.h> header file. */ |
| 744 |
#undef HAVE_SYS_BITYPES_H |
| 745 |
|
| 746 |
/* Define to 1 if you have the <sys/cdefs.h> header file. */ |
| 747 |
#undef HAVE_SYS_CDEFS_H |
| 748 |
|
| 749 |
/* Define to 1 if you have the <sys/inttypes.h> header file. */ |
| 750 |
#undef HAVE_SYS_INTTYPES_H |
| 751 |
|
| 752 |
/* Define to 1 if you have the <sys/mman.h> header file. */ |
| 753 |
#undef HAVE_SYS_MMAN_H |
| 754 |
|
| 755 |
/* Define to 1 if you have the <sys/param.h> header file. */ |
| 756 |
#undef HAVE_SYS_PARAM_H |
| 757 |
|
| 758 |
/* Define to 1 if you have the <sys/random.h> header file. */ |
| 759 |
#undef HAVE_SYS_RANDOM_H |
| 760 |
|
| 761 |
/* Define to 1 if you have the <sys/socket.h> header file. */ |
| 762 |
#undef HAVE_SYS_SOCKET_H |
| 763 |
|
| 764 |
/* Define to 1 if you have the <sys/stat.h> header file. */ |
| 765 |
#undef HAVE_SYS_STAT_H |
| 766 |
|
| 767 |
/* Define to 1 if you have the <sys/time.h> header file. */ |
| 768 |
#undef HAVE_SYS_TIME_H |
| 769 |
|
| 770 |
/* Define to 1 if you have the <sys/types.h> header file. */ |
| 771 |
#undef HAVE_SYS_TYPES_H |
| 772 |
|
| 773 |
/* Define to 1 if you have the <sys/wait.h> header file. */ |
| 774 |
#undef HAVE_SYS_WAIT_H |
| 775 |
|
| 776 |
/* Define to 1 if you have the <threads.h> header file. */ |
| 777 |
#undef HAVE_THREADS_H |
| 778 |
|
| 779 |
/* Define to 1 if you have the `towlower' function. */ |
| 780 |
#undef HAVE_TOWLOWER |
| 781 |
|
| 782 |
/* Define to 1 if you have the <unistd.h> header file. */ |
| 783 |
#undef HAVE_UNISTD_H |
| 784 |
|
| 785 |
/* Define to 1 if the system has the type 'unsigned long long int'. */ |
| 786 |
#undef HAVE_UNSIGNED_LONG_LONG_INT |
| 787 |
|
| 788 |
/* Define to 1 if you have the `utime' function. */ |
| 789 |
#undef HAVE_UTIME |
| 790 |
|
| 791 |
/* Define to 1 if you have the <utime.h> header file. */ |
| 792 |
#undef HAVE_UTIME_H |
| 793 |
|
| 794 |
/* Define if you have a global __progname variable */ |
| 795 |
#undef HAVE_VAR___PROGNAME |
| 796 |
|
| 797 |
/* Define to 1 if you have the `vasnprintf' function. */ |
| 798 |
#undef HAVE_VASNPRINTF |
| 799 |
|
| 800 |
/* Define to 1 if you have the `vasprintf' function. */ |
| 801 |
#undef HAVE_VASPRINTF |
| 802 |
|
| 803 |
/* Define to 1 or 0, depending whether the compiler supports simple visibility |
| 804 |
declarations. */ |
| 805 |
#undef HAVE_VISIBILITY |
| 806 |
|
| 807 |
/* Define to 1 if you have the <wchar.h> header file. */ |
| 808 |
#undef HAVE_WCHAR_H |
| 809 |
|
| 810 |
/* Define if you have the 'wchar_t' type. */ |
| 811 |
#undef HAVE_WCHAR_T |
| 812 |
|
| 813 |
/* Define to 1 if you have the `wcrtomb' function. */ |
| 814 |
#undef HAVE_WCRTOMB |
| 815 |
|
| 816 |
/* Define to 1 if you have the `wcslen' function. */ |
| 817 |
#undef HAVE_WCSLEN |
| 818 |
|
| 819 |
/* Define to 1 if you have the `wcsnlen' function. */ |
| 820 |
#undef HAVE_WCSNLEN |
| 821 |
|
| 822 |
/* Define to 1 if you have the <wctype.h> header file. */ |
| 823 |
#undef HAVE_WCTYPE_H |
| 824 |
|
| 825 |
/* Define to 1 if the compiler and linker support weak declarations of |
| 826 |
symbols. */ |
| 827 |
#undef HAVE_WEAK_SYMBOLS |
| 828 |
|
| 829 |
/* Define to 1 if you have the <winsock2.h> header file. */ |
| 830 |
#undef HAVE_WINSOCK2_H |
| 831 |
|
| 832 |
/* Define if you have the 'wint_t' type. */ |
| 833 |
#undef HAVE_WINT_T |
| 834 |
|
| 835 |
/* Define to 1 if O_NOATIME works. */ |
| 836 |
#undef HAVE_WORKING_O_NOATIME |
| 837 |
|
| 838 |
/* Define to 1 if O_NOFOLLOW works. */ |
| 839 |
#undef HAVE_WORKING_O_NOFOLLOW |
| 840 |
|
| 841 |
/* Define to 1 if you have the <xlocale.h> header file. */ |
| 842 |
#undef HAVE_XLOCALE_H |
| 843 |
|
| 844 |
/* Define to 1 if you have the `_set_invalid_parameter_handler' function. */ |
| 845 |
#undef HAVE__SET_INVALID_PARAMETER_HANDLER |
| 846 |
|
| 847 |
/* Define to 1 if the compiler supports __builtin_expect, |
| 848 |
and to 2 if <builtins.h> does. */ |
| 849 |
#undef HAVE___BUILTIN_EXPECT |
| 850 |
#ifndef HAVE___BUILTIN_EXPECT |
| 851 |
# define __builtin_expect(e, c) (e) |
| 852 |
#elif HAVE___BUILTIN_EXPECT == 2 |
| 853 |
# include <builtins.h> |
| 854 |
#endif |
| 855 |
|
| 856 |
|
| 857 |
/* Define to 1 if you have the `__fseterr' function. */ |
| 858 |
#undef HAVE___FSETERR |
| 859 |
|
| 860 |
/* Define to 1 if ctype.h defines __header_inline. */ |
| 861 |
#undef HAVE___HEADER_INLINE |
| 862 |
|
| 863 |
/* Please see the Gnulib manual for how to use these macros. |
| 864 |
|
| 865 |
Suppress extern inline with HP-UX cc, as it appears to be broken; see |
| 866 |
<https://lists.gnu.org/r/bug-texinfo/2013-02/msg00030.html>. |
| 867 |
|
| 868 |
Suppress extern inline with Sun C in standards-conformance mode, as it |
| 869 |
mishandles inline functions that call each other. E.g., for 'inline void f |
| 870 |
(void) { } inline void g (void) { f (); }', c99 incorrectly complains |
| 871 |
'reference to static identifier "f" in extern inline function'. |
| 872 |
This bug was observed with Oracle Developer Studio 12.6 |
| 873 |
(Sun C 5.15 SunOS_sparc 2017/05/30). |
| 874 |
|
| 875 |
Suppress extern inline (with or without __attribute__ ((__gnu_inline__))) |
| 876 |
on configurations that mistakenly use 'static inline' to implement |
| 877 |
functions or macros in standard C headers like <ctype.h>. For example, |
| 878 |
if isdigit is mistakenly implemented via a static inline function, |
| 879 |
a program containing an extern inline function that calls isdigit |
| 880 |
may not work since the C standard prohibits extern inline functions |
| 881 |
from calling static functions (ISO C 99 section 6.7.4.(3). |
| 882 |
This bug is known to occur on: |
| 883 |
|
| 884 |
OS X 10.8 and earlier; see: |
| 885 |
https://lists.gnu.org/r/bug-gnulib/2012-12/msg00023.html |
| 886 |
|
| 887 |
DragonFly; see |
| 888 |
http://muscles.dragonflybsd.org/bulk/clang-master-potential/20141111_102002/logs/ah-tty-0.3.12.log |
| 889 |
|
| 890 |
FreeBSD; see: |
| 891 |
https://lists.gnu.org/r/bug-gnulib/2014-07/msg00104.html |
| 892 |
|
| 893 |
OS X 10.9 has a macro __header_inline indicating the bug is fixed for C and |
| 894 |
for clang but remains for g++; see <https://trac.macports.org/ticket/41033>. |
| 895 |
Assume DragonFly and FreeBSD will be similar. |
| 896 |
|
| 897 |
GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99 |
| 898 |
inline semantics, unless -fgnu89-inline is used. It defines a macro |
| 899 |
__GNUC_STDC_INLINE__ to indicate this situation or a macro |
| 900 |
__GNUC_GNU_INLINE__ to indicate the opposite situation. |
| 901 |
GCC 4.2 with -std=c99 or -std=gnu99 implements the GNU C inline |
| 902 |
semantics but warns, unless -fgnu89-inline is used: |
| 903 |
warning: C99 inline functions are not supported; using GNU89 |
| 904 |
warning: to disable this warning use -fgnu89-inline or the gnu_inline function attribute |
| 905 |
It defines a macro __GNUC_GNU_INLINE__ to indicate this situation. |
| 906 |
*/ |
| 907 |
#if (((defined __APPLE__ && defined __MACH__) \ |
| 908 |
|| defined __DragonFly__ || defined __FreeBSD__) \ |
| 909 |
&& (defined HAVE___HEADER_INLINE \ |
| 910 |
? (defined __cplusplus && defined __GNUC_STDC_INLINE__ \ |
| 911 |
&& ! defined __clang__) \ |
| 912 |
: ((! defined _DONT_USE_CTYPE_INLINE_ \ |
| 913 |
&& (defined __GNUC__ || defined __cplusplus)) \ |
| 914 |
|| (defined _FORTIFY_SOURCE && 0 < _FORTIFY_SOURCE \ |
| 915 |
&& defined __GNUC__ && ! defined __cplusplus)))) |
| 916 |
# define _GL_EXTERN_INLINE_STDHEADER_BUG |
| 917 |
#endif |
| 918 |
#if ((__GNUC__ \ |
| 919 |
? defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ \ |
| 920 |
: (199901L <= __STDC_VERSION__ \ |
| 921 |
&& !defined __HP_cc \ |
| 922 |
&& !defined __PGI \ |
| 923 |
&& !(defined __SUNPRO_C && __STDC__))) \ |
| 924 |
&& !defined _GL_EXTERN_INLINE_STDHEADER_BUG) |
| 925 |
# define _GL_INLINE inline |
| 926 |
# define _GL_EXTERN_INLINE extern inline |
| 927 |
# define _GL_EXTERN_INLINE_IN_USE |
| 928 |
#elif (2 < __GNUC__ + (7 <= __GNUC_MINOR__) && !defined __STRICT_ANSI__ \ |
| 929 |
&& !defined _GL_EXTERN_INLINE_STDHEADER_BUG) |
| 930 |
# if defined __GNUC_GNU_INLINE__ && __GNUC_GNU_INLINE__ |
| 931 |
/* __gnu_inline__ suppresses a GCC 4.2 diagnostic. */ |
| 932 |
# define _GL_INLINE extern inline __attribute__ ((__gnu_inline__)) |
| 933 |
# else |
| 934 |
# define _GL_INLINE extern inline |
| 935 |
# endif |
| 936 |
# define _GL_EXTERN_INLINE extern |
| 937 |
# define _GL_EXTERN_INLINE_IN_USE |
| 938 |
#else |
| 939 |
# define _GL_INLINE _GL_UNUSED static |
| 940 |
# define _GL_EXTERN_INLINE _GL_UNUSED static |
| 941 |
#endif |
| 942 |
|
| 943 |
/* In GCC 4.6 (inclusive) to 5.1 (exclusive), |
| 944 |
suppress bogus "no previous prototype for 'FOO'" |
| 945 |
and "no previous declaration for 'FOO'" diagnostics, |
| 946 |
when FOO is an inline function in the header; see |
| 947 |
<https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54113> and |
| 948 |
<https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63877>. */ |
| 949 |
#if __GNUC__ == 4 && 6 <= __GNUC_MINOR__ |
| 950 |
# if defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ |
| 951 |
# define _GL_INLINE_HEADER_CONST_PRAGMA |
| 952 |
# else |
| 953 |
# define _GL_INLINE_HEADER_CONST_PRAGMA \ |
| 954 |
_Pragma ("GCC diagnostic ignored \"-Wsuggest-attribute=const\"") |
| 955 |
# endif |
| 956 |
# define _GL_INLINE_HEADER_BEGIN \ |
| 957 |
_Pragma ("GCC diagnostic push") \ |
| 958 |
_Pragma ("GCC diagnostic ignored \"-Wmissing-prototypes\"") \ |
| 959 |
_Pragma ("GCC diagnostic ignored \"-Wmissing-declarations\"") \ |
| 960 |
_GL_INLINE_HEADER_CONST_PRAGMA |
| 961 |
# define _GL_INLINE_HEADER_END \ |
| 962 |
_Pragma ("GCC diagnostic pop") |
| 963 |
#else |
| 964 |
# define _GL_INLINE_HEADER_BEGIN |
| 965 |
# define _GL_INLINE_HEADER_END |
| 966 |
#endif |
| 967 |
|
| 968 |
/* Define to 1 if the compiler supports the keyword '__inline'. */ |
| 969 |
#undef HAVE___INLINE |
| 970 |
|
| 971 |
/* Define as const if the declaration of iconv() needs const. */ |
| 972 |
#undef ICONV_CONST |
| 973 |
|
| 974 |
/* Define as the bit index in the word where to find bit 0 of the exponent of |
| 975 |
'long double'. */ |
| 976 |
#undef LDBL_EXPBIT0_BIT |
| 977 |
|
| 978 |
/* Define as the word index where to find the exponent of 'long double'. */ |
| 979 |
#undef LDBL_EXPBIT0_WORD |
| 980 |
|
| 981 |
/* Define as the bit index in the word where to find the sign of 'long |
| 982 |
double'. */ |
| 983 |
#undef LDBL_SIGNBIT_BIT |
| 984 |
|
| 985 |
/* Define as the word index where to find the sign of 'long double'. */ |
| 986 |
#undef LDBL_SIGNBIT_WORD |
| 987 |
|
| 988 |
/* Define to 1 if 'lstat' dereferences a symlink specified with a trailing |
| 989 |
slash. */ |
| 990 |
#undef LSTAT_FOLLOWS_SLASHED_SYMLINK |
| 991 |
|
| 992 |
/* Define to the extension used for runtime loadable modules, say, ".so". */ |
| 993 |
#undef LT_MODULE_EXT |
| 994 |
|
| 995 |
/* Define to the sub-directory where libtool stores uninstalled libraries. */ |
| 996 |
#undef LT_OBJDIR |
| 997 |
|
| 998 |
/* Define to the shared library suffix, say, ".dylib". */ |
| 999 |
#undef LT_SHARED_EXT |
| 1000 |
|
| 1001 |
/* Define to the shared archive member specification, say "(shr.o)". */ |
| 1002 |
#undef LT_SHARED_LIB_MEMBER |
| 1003 |
|
| 1004 |
/* If malloc(0) is != NULL, define this to 1. Otherwise define this to 0. */ |
| 1005 |
#undef MALLOC_0_IS_NONNULL |
| 1006 |
|
| 1007 |
/* Define to a substitute value for mmap()'s MAP_ANONYMOUS flag. */ |
| 1008 |
#undef MAP_ANONYMOUS |
| 1009 |
|
| 1010 |
/* Define if the mbrtowc function does not return (size_t) -2 for empty input. |
| 1011 |
*/ |
| 1012 |
#undef MBRTOWC_EMPTY_INPUT_BUG |
| 1013 |
|
| 1014 |
/* Define if the mbrtowc function may signal encoding errors in the C locale. |
| 1015 |
*/ |
| 1016 |
#undef MBRTOWC_IN_C_LOCALE_MAYBE_EILSEQ |
| 1017 |
|
| 1018 |
/* Define if the mbrtowc function has the NULL pwc argument bug. */ |
| 1019 |
#undef MBRTOWC_NULL_ARG1_BUG |
| 1020 |
|
| 1021 |
/* Define if the mbrtowc function has the NULL string argument bug. */ |
| 1022 |
#undef MBRTOWC_NULL_ARG2_BUG |
| 1023 |
|
| 1024 |
/* Define if the mbrtowc function does not return 0 for a NUL character. */ |
| 1025 |
#undef MBRTOWC_NUL_RETVAL_BUG |
| 1026 |
|
| 1027 |
/* Define if the mbrtowc function returns a wrong return value. */ |
| 1028 |
#undef MBRTOWC_RETVAL_BUG |
| 1029 |
|
| 1030 |
/* Define if the mbrtowc function stores a wide character when reporting |
| 1031 |
incomplete input. */ |
| 1032 |
#undef MBRTOWC_STORES_INCOMPLETE_BUG |
| 1033 |
|
| 1034 |
/* Use GNU style printf and scanf. */ |
| 1035 |
#ifndef __USE_MINGW_ANSI_STDIO |
| 1036 |
# undef __USE_MINGW_ANSI_STDIO |
| 1037 |
#endif |
| 1038 |
|
| 1039 |
|
| 1040 |
/* Define if the vasnprintf implementation needs special code for the 'a' and |
| 1041 |
'A' directives. */ |
| 1042 |
#undef NEED_PRINTF_DIRECTIVE_A |
| 1043 |
|
| 1044 |
/* Define if the vasnprintf implementation needs special code for the 'F' |
| 1045 |
directive. */ |
| 1046 |
#undef NEED_PRINTF_DIRECTIVE_F |
| 1047 |
|
| 1048 |
/* Define if the vasnprintf implementation needs special code for the 'ls' |
| 1049 |
directive. */ |
| 1050 |
#undef NEED_PRINTF_DIRECTIVE_LS |
| 1051 |
|
| 1052 |
/* Define if the vasnprintf implementation needs special code for 'double' |
| 1053 |
arguments. */ |
| 1054 |
#undef NEED_PRINTF_DOUBLE |
| 1055 |
|
| 1056 |
/* Define if the vasnprintf implementation needs special code for surviving |
| 1057 |
out-of-memory conditions. */ |
| 1058 |
#undef NEED_PRINTF_ENOMEM |
| 1059 |
|
| 1060 |
/* Define if the vasnprintf implementation needs special code for the ' flag. |
| 1061 |
*/ |
| 1062 |
#undef NEED_PRINTF_FLAG_GROUPING |
| 1063 |
|
| 1064 |
/* Define if the vasnprintf implementation needs special code for the '-' |
| 1065 |
flag. */ |
| 1066 |
#undef NEED_PRINTF_FLAG_LEFTADJUST |
| 1067 |
|
| 1068 |
/* Define if the vasnprintf implementation needs special code for the 0 flag. |
| 1069 |
*/ |
| 1070 |
#undef NEED_PRINTF_FLAG_ZERO |
| 1071 |
|
| 1072 |
/* Define if the vasnprintf implementation needs special code for infinite |
| 1073 |
'double' arguments. */ |
| 1074 |
#undef NEED_PRINTF_INFINITE_DOUBLE |
| 1075 |
|
| 1076 |
/* Define if the vasnprintf implementation needs special code for infinite |
| 1077 |
'long double' arguments. */ |
| 1078 |
#undef NEED_PRINTF_INFINITE_LONG_DOUBLE |
| 1079 |
|
| 1080 |
/* Define if the vasnprintf implementation needs special code for 'long |
| 1081 |
double' arguments. */ |
| 1082 |
#undef NEED_PRINTF_LONG_DOUBLE |
| 1083 |
|
| 1084 |
/* Define if the vasnprintf implementation needs special code for supporting |
| 1085 |
large precisions without arbitrary bounds. */ |
| 1086 |
#undef NEED_PRINTF_UNBOUNDED_PRECISION |
| 1087 |
|
| 1088 |
/* Define to 1 if open() fails to recognize a trailing slash. */ |
| 1089 |
#undef OPEN_TRAILING_SLASH_BUG |
| 1090 |
|
| 1091 |
/* Name of package */ |
| 1092 |
#undef PACKAGE |
| 1093 |
|
| 1094 |
/* Define to the address where bug reports for this package should be sent. */ |
| 1095 |
#undef PACKAGE_BUGREPORT |
| 1096 |
|
| 1097 |
/* Define to the full name of this package. */ |
| 1098 |
#undef PACKAGE_NAME |
| 1099 |
|
| 1100 |
/* Define to the full name and version of this package. */ |
| 1101 |
#undef PACKAGE_STRING |
| 1102 |
|
| 1103 |
/* Define to the one symbol short name of this package. */ |
| 1104 |
#undef PACKAGE_TARNAME |
| 1105 |
|
| 1106 |
/* Define to the home page for this package. */ |
| 1107 |
#undef PACKAGE_URL |
| 1108 |
|
| 1109 |
/* Define to the version of this package. */ |
| 1110 |
#undef PACKAGE_VERSION |
| 1111 |
|
| 1112 |
/* Define to the type that is the result of default argument promotions of |
| 1113 |
type mode_t. */ |
| 1114 |
#undef PROMOTED_MODE_T |
| 1115 |
|
| 1116 |
/* Define if the pthread_in_use() detection is hard. */ |
| 1117 |
#undef PTHREAD_IN_USE_DETECTION_HARD |
| 1118 |
|
| 1119 |
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type |
| 1120 |
'ptrdiff_t'. */ |
| 1121 |
#undef PTRDIFF_T_SUFFIX |
| 1122 |
|
| 1123 |
/* Define to 1 if readlink fails to recognize a trailing slash. */ |
| 1124 |
#undef READLINK_TRAILING_SLASH_BUG |
| 1125 |
|
| 1126 |
/* Define to 1 if readlink sets errno instead of truncating a too-long link. |
| 1127 |
*/ |
| 1128 |
#undef READLINK_TRUNCATE_BUG |
| 1129 |
|
| 1130 |
/* Define to 1 if stat needs help when passed a file name with a trailing |
| 1131 |
slash */ |
| 1132 |
#undef REPLACE_FUNC_STAT_FILE |
| 1133 |
|
| 1134 |
/* Define to 1 if utime needs help when passed a file name with a trailing |
| 1135 |
slash */ |
| 1136 |
#undef REPLACE_FUNC_UTIME_FILE |
| 1137 |
|
| 1138 |
/* Define to 1 if strerror(0) does not return a message implying success. */ |
| 1139 |
#undef REPLACE_STRERROR_0 |
| 1140 |
|
| 1141 |
/* Define if vasnprintf exists but is overridden by gnulib. */ |
| 1142 |
#undef REPLACE_VASNPRINTF |
| 1143 |
|
| 1144 |
/* Define if vfprintf is overridden by a POSIX compliant gnulib |
| 1145 |
implementation. */ |
| 1146 |
#undef REPLACE_VFPRINTF_POSIX |
| 1147 |
|
| 1148 |
/* Define if vprintf is overridden by a POSIX compliant gnulib implementation. |
| 1149 |
*/ |
| 1150 |
#undef REPLACE_VPRINTF_POSIX |
| 1151 |
|
| 1152 |
/* Define to 1 if setlocale (LC_ALL, NULL) is multithread-safe. */ |
| 1153 |
#undef SETLOCALE_NULL_ALL_MTSAFE |
| 1154 |
|
| 1155 |
/* Define to 1 if setlocale (category, NULL) is multithread-safe. */ |
| 1156 |
#undef SETLOCALE_NULL_ONE_MTSAFE |
| 1157 |
|
| 1158 |
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type |
| 1159 |
'sig_atomic_t'. */ |
| 1160 |
#undef SIG_ATOMIC_T_SUFFIX |
| 1161 |
|
| 1162 |
/* Define as the maximum value of type 'size_t', if the system doesn't define |
| 1163 |
it. */ |
| 1164 |
#ifndef SIZE_MAX |
| 1165 |
# undef SIZE_MAX |
| 1166 |
#endif |
| 1167 |
|
| 1168 |
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type |
| 1169 |
'size_t'. */ |
| 1170 |
#undef SIZE_T_SUFFIX |
| 1171 |
|
| 1172 |
/* If using the C implementation of alloca, define if you know the |
| 1173 |
direction of stack growth for your system; otherwise it will be |
| 1174 |
automatically deduced at runtime. |
| 1175 |
STACK_DIRECTION > 0 => grows toward higher addresses |
| 1176 |
STACK_DIRECTION < 0 => grows toward lower addresses |
| 1177 |
STACK_DIRECTION = 0 => direction of growth unknown */ |
| 1178 |
#undef STACK_DIRECTION |
| 1179 |
|
| 1180 |
/* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */ |
| 1181 |
#undef STAT_MACROS_BROKEN |
| 1182 |
|
| 1183 |
/* Define to 1 if all of the C90 standard headers exist (not just the ones |
| 1184 |
required in a freestanding environment). This macro is provided for |
| 1185 |
backward compatibility; new code need not use it. */ |
| 1186 |
#undef STDC_HEADERS |
| 1187 |
|
| 1188 |
/* Define to 1 if strerror_r returns char *. */ |
| 1189 |
#undef STRERROR_R_CHAR_P |
| 1190 |
|
| 1191 |
/* Define to 1 if the type of the st_atim member of a struct stat is struct |
| 1192 |
timespec. */ |
| 1193 |
#undef TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC |
| 1194 |
|
| 1195 |
/* Enable extensions on AIX 3, Interix. */ |
| 1196 |
#ifndef _ALL_SOURCE |
| 1197 |
# undef _ALL_SOURCE |
| 1198 |
#endif |
| 1199 |
/* Enable general extensions on macOS. */ |
| 1200 |
#ifndef _DARWIN_C_SOURCE |
| 1201 |
# undef _DARWIN_C_SOURCE |
| 1202 |
#endif |
| 1203 |
/* Enable general extensions on Solaris. */ |
| 1204 |
#ifndef __EXTENSIONS__ |
| 1205 |
# undef __EXTENSIONS__ |
| 1206 |
#endif |
| 1207 |
/* Enable GNU extensions on systems that have them. */ |
| 1208 |
#ifndef _GNU_SOURCE |
| 1209 |
# undef _GNU_SOURCE |
| 1210 |
#endif |
| 1211 |
/* Enable X/Open compliant socket functions that do not require linking |
| 1212 |
with -lxnet on HP-UX 11.11. */ |
| 1213 |
#ifndef _HPUX_ALT_XOPEN_SOCKET_API |
| 1214 |
# undef _HPUX_ALT_XOPEN_SOCKET_API |
| 1215 |
#endif |
| 1216 |
/* Identify the host operating system as Minix. |
| 1217 |
This macro does not affect the system headers' behavior. |
| 1218 |
A future release of Autoconf may stop defining this macro. */ |
| 1219 |
#ifndef _MINIX |
| 1220 |
# undef _MINIX |
| 1221 |
#endif |
| 1222 |
/* Enable general extensions on NetBSD. |
| 1223 |
Enable NetBSD compatibility extensions on Minix. */ |
| 1224 |
#ifndef _NETBSD_SOURCE |
| 1225 |
# undef _NETBSD_SOURCE |
| 1226 |
#endif |
| 1227 |
/* Enable OpenBSD compatibility extensions on NetBSD. |
| 1228 |
Oddly enough, this does nothing on OpenBSD. */ |
| 1229 |
#ifndef _OPENBSD_SOURCE |
| 1230 |
# undef _OPENBSD_SOURCE |
| 1231 |
#endif |
| 1232 |
/* Define to 1 if needed for POSIX-compatible behavior. */ |
| 1233 |
#ifndef _POSIX_SOURCE |
| 1234 |
# undef _POSIX_SOURCE |
| 1235 |
#endif |
| 1236 |
/* Define to 2 if needed for POSIX-compatible behavior. */ |
| 1237 |
#ifndef _POSIX_1_SOURCE |
| 1238 |
# undef _POSIX_1_SOURCE |
| 1239 |
#endif |
| 1240 |
/* Enable POSIX-compatible threading on Solaris. */ |
| 1241 |
#ifndef _POSIX_PTHREAD_SEMANTICS |
| 1242 |
# undef _POSIX_PTHREAD_SEMANTICS |
| 1243 |
#endif |
| 1244 |
/* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ |
| 1245 |
#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ |
| 1246 |
# undef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ |
| 1247 |
#endif |
| 1248 |
/* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ |
| 1249 |
#ifndef __STDC_WANT_IEC_60559_BFP_EXT__ |
| 1250 |
# undef __STDC_WANT_IEC_60559_BFP_EXT__ |
| 1251 |
#endif |
| 1252 |
/* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ |
| 1253 |
#ifndef __STDC_WANT_IEC_60559_DFP_EXT__ |
| 1254 |
# undef __STDC_WANT_IEC_60559_DFP_EXT__ |
| 1255 |
#endif |
| 1256 |
/* Enable extensions specified by C23 Annex F. */ |
| 1257 |
#ifndef __STDC_WANT_IEC_60559_EXT__ |
| 1258 |
# undef __STDC_WANT_IEC_60559_EXT__ |
| 1259 |
#endif |
| 1260 |
/* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ |
| 1261 |
#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ |
| 1262 |
# undef __STDC_WANT_IEC_60559_FUNCS_EXT__ |
| 1263 |
#endif |
| 1264 |
/* Enable extensions specified by C23 Annex H and ISO/IEC TS 18661-3:2015. */ |
| 1265 |
#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ |
| 1266 |
# undef __STDC_WANT_IEC_60559_TYPES_EXT__ |
| 1267 |
#endif |
| 1268 |
/* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ |
| 1269 |
#ifndef __STDC_WANT_LIB_EXT2__ |
| 1270 |
# undef __STDC_WANT_LIB_EXT2__ |
| 1271 |
#endif |
| 1272 |
/* Enable extensions specified by ISO/IEC 24747:2009. */ |
| 1273 |
#ifndef __STDC_WANT_MATH_SPEC_FUNCS__ |
| 1274 |
# undef __STDC_WANT_MATH_SPEC_FUNCS__ |
| 1275 |
#endif |
| 1276 |
/* Enable extensions on HP NonStop. */ |
| 1277 |
#ifndef _TANDEM_SOURCE |
| 1278 |
# undef _TANDEM_SOURCE |
| 1279 |
#endif |
| 1280 |
/* Enable X/Open extensions. Define to 500 only if necessary |
| 1281 |
to make mbstate_t available. */ |
| 1282 |
#ifndef _XOPEN_SOURCE |
| 1283 |
# undef _XOPEN_SOURCE |
| 1284 |
#endif |
| 1285 |
|
| 1286 |
|
| 1287 |
/* Version number of package */ |
| 1288 |
#undef VERSION |
| 1289 |
|
| 1290 |
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type |
| 1291 |
'wchar_t'. */ |
| 1292 |
#undef WCHAR_T_SUFFIX |
| 1293 |
|
| 1294 |
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type |
| 1295 |
'wint_t'. */ |
| 1296 |
#undef WINT_T_SUFFIX |
| 1297 |
|
| 1298 |
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most |
| 1299 |
significant byte first (like Motorola and SPARC, unlike Intel). */ |
| 1300 |
#if defined AC_APPLE_UNIVERSAL_BUILD |
| 1301 |
# if defined __BIG_ENDIAN__ |
| 1302 |
# define WORDS_BIGENDIAN 1 |
| 1303 |
# endif |
| 1304 |
#else |
| 1305 |
# ifndef WORDS_BIGENDIAN |
| 1306 |
# undef WORDS_BIGENDIAN |
| 1307 |
# endif |
| 1308 |
#endif |
| 1309 |
|
| 1310 |
/* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a |
| 1311 |
`char[]'. */ |
| 1312 |
#undef YYTEXT_POINTER |
| 1313 |
|
| 1314 |
/* Number of bits in a file offset, on hosts where this is settable. */ |
| 1315 |
#undef _FILE_OFFSET_BITS |
| 1316 |
|
| 1317 |
/* True if the compiler says it groks GNU C version MAJOR.MINOR. */ |
| 1318 |
#if defined __GNUC__ && defined __GNUC_MINOR__ |
| 1319 |
# define _GL_GNUC_PREREQ(major, minor) \ |
| 1320 |
((major) < __GNUC__ + ((minor) <= __GNUC_MINOR__)) |
| 1321 |
#else |
| 1322 |
# define _GL_GNUC_PREREQ(major, minor) 0 |
| 1323 |
#endif |
| 1324 |
|
| 1325 |
|
| 1326 |
/* Define to enable the declarations of ISO C 11 types and functions. */ |
| 1327 |
#undef _ISOC11_SOURCE |
| 1328 |
|
| 1329 |
/* Define to 1 on platforms where this makes off_t a 64-bit type. */ |
| 1330 |
#undef _LARGE_FILES |
| 1331 |
|
| 1332 |
/* Define to 1 on Solaris. */ |
| 1333 |
#undef _LCONV_C99 |
| 1334 |
|
| 1335 |
/* The _Noreturn keyword of C11. */ |
| 1336 |
#ifndef _Noreturn |
| 1337 |
# if (defined __cplusplus \ |
| 1338 |
&& ((201103 <= __cplusplus && !(__GNUC__ == 4 && __GNUC_MINOR__ == 7)) \ |
| 1339 |
|| (defined _MSC_VER && 1900 <= _MSC_VER)) \ |
| 1340 |
&& 0) |
| 1341 |
/* [[noreturn]] is not practically usable, because with it the syntax |
| 1342 |
extern _Noreturn void func (...); |
| 1343 |
would not be valid; such a declaration would only be valid with 'extern' |
| 1344 |
and '_Noreturn' swapped, or without the 'extern' keyword. However, some |
| 1345 |
AIX system header files and several gnulib header files use precisely |
| 1346 |
this syntax with 'extern'. */ |
| 1347 |
# define _Noreturn [[noreturn]] |
| 1348 |
# elif (defined __clang__ && __clang_major__ < 16 \ |
| 1349 |
&& defined _GL_WORK_AROUND_LLVM_BUG_59792) |
| 1350 |
/* Compile with -D_GL_WORK_AROUND_LLVM_BUG_59792 to work around |
| 1351 |
that rare LLVM bug, though you may get many false-alarm warnings. */ |
| 1352 |
# define _Noreturn |
| 1353 |
# elif ((!defined __cplusplus || defined __clang__) \ |
| 1354 |
&& (201112 <= (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) \ |
| 1355 |
|| (!defined __STRICT_ANSI__ \ |
| 1356 |
&& (_GL_GNUC_PREREQ (4, 7) \ |
| 1357 |
|| (defined __apple_build_version__ \ |
| 1358 |
? 6000000 <= __apple_build_version__ \ |
| 1359 |
: 3 < __clang_major__ + (5 <= __clang_minor__)))))) |
| 1360 |
/* _Noreturn works as-is. */ |
| 1361 |
# elif _GL_GNUC_PREREQ (2, 8) || defined __clang__ || 0x5110 <= __SUNPRO_C |
| 1362 |
# define _Noreturn __attribute__ ((__noreturn__)) |
| 1363 |
# elif 1200 <= (defined _MSC_VER ? _MSC_VER : 0) |
| 1364 |
# define _Noreturn __declspec (noreturn) |
| 1365 |
# else |
| 1366 |
# define _Noreturn |
| 1367 |
# endif |
| 1368 |
#endif |
| 1369 |
|
| 1370 |
|
| 1371 |
/* Number of bits in time_t, on hosts where this is settable. */ |
| 1372 |
#undef _TIME_BITS |
| 1373 |
|
| 1374 |
/* For standard stat data types on VMS. */ |
| 1375 |
#undef _USE_STD_STAT |
| 1376 |
|
| 1377 |
/* Define to rpl_ if the getopt replacement functions and variables should be |
| 1378 |
used. */ |
| 1379 |
#undef __GETOPT_PREFIX |
| 1380 |
|
| 1381 |
/* Define to 1 on platforms where this makes time_t a 64-bit type. */ |
| 1382 |
#undef __MINGW_USE_VC2005_COMPAT |
| 1383 |
|
| 1384 |
/* Define to 1 if the system <stdint.h> predates C++11. */ |
| 1385 |
#undef __STDC_CONSTANT_MACROS |
| 1386 |
|
| 1387 |
/* Define to 1 if the system <stdint.h> predates C++11. */ |
| 1388 |
#undef __STDC_LIMIT_MACROS |
| 1389 |
|
| 1390 |
/* Define to 1 if C does not support variable-length arrays, and if the |
| 1391 |
compiler does not already define this. */ |
| 1392 |
#undef __STDC_NO_VLA__ |
| 1393 |
|
| 1394 |
/* The _GL_ASYNC_SAFE marker should be attached to functions that are |
| 1395 |
signal handlers (for signals other than SIGABRT, SIGPIPE) or can be |
| 1396 |
invoked from such signal handlers. Such functions have some restrictions: |
| 1397 |
* All functions that it calls should be marked _GL_ASYNC_SAFE as well, |
| 1398 |
or should be listed as async-signal-safe in POSIX |
| 1399 |
<https://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_04> |
| 1400 |
section 2.4.3. Note that malloc(), sprintf(), and fwrite(), in |
| 1401 |
particular, are NOT async-signal-safe. |
| 1402 |
* All memory locations (variables and struct fields) that these functions |
| 1403 |
access must be marked 'volatile'. This holds for both read and write |
| 1404 |
accesses. Otherwise the compiler might optimize away stores to and |
| 1405 |
reads from such locations that occur in the program, depending on its |
| 1406 |
data flow analysis. For example, when the program contains a loop |
| 1407 |
that is intended to inspect a variable set from within a signal handler |
| 1408 |
while (!signal_occurred) |
| 1409 |
; |
| 1410 |
the compiler is allowed to transform this into an endless loop if the |
| 1411 |
variable 'signal_occurred' is not declared 'volatile'. |
| 1412 |
Additionally, recall that: |
| 1413 |
* A signal handler should not modify errno (except if it is a handler |
| 1414 |
for a fatal signal and ends by raising the same signal again, thus |
| 1415 |
provoking the termination of the process). If it invokes a function |
| 1416 |
that may clobber errno, it needs to save and restore the value of |
| 1417 |
errno. */ |
| 1418 |
#define _GL_ASYNC_SAFE |
| 1419 |
|
| 1420 |
|
| 1421 |
/* Attributes. */ |
| 1422 |
#if (defined __has_attribute \ |
| 1423 |
&& (!defined __clang_minor__ \ |
| 1424 |
|| (defined __apple_build_version__ \ |
| 1425 |
? 6000000 <= __apple_build_version__ \ |
| 1426 |
: 5 <= __clang_major__))) |
| 1427 |
# define _GL_HAS_ATTRIBUTE(attr) __has_attribute (__##attr##__) |
| 1428 |
#else |
| 1429 |
# define _GL_HAS_ATTRIBUTE(attr) _GL_ATTR_##attr |
| 1430 |
# define _GL_ATTR_alloc_size _GL_GNUC_PREREQ (4, 3) |
| 1431 |
# define _GL_ATTR_always_inline _GL_GNUC_PREREQ (3, 2) |
| 1432 |
# define _GL_ATTR_artificial _GL_GNUC_PREREQ (4, 3) |
| 1433 |
# define _GL_ATTR_cold _GL_GNUC_PREREQ (4, 3) |
| 1434 |
# define _GL_ATTR_const _GL_GNUC_PREREQ (2, 95) |
| 1435 |
# define _GL_ATTR_deprecated _GL_GNUC_PREREQ (3, 1) |
| 1436 |
# define _GL_ATTR_diagnose_if 0 |
| 1437 |
# define _GL_ATTR_error _GL_GNUC_PREREQ (4, 3) |
| 1438 |
# define _GL_ATTR_externally_visible _GL_GNUC_PREREQ (4, 1) |
| 1439 |
# define _GL_ATTR_fallthrough _GL_GNUC_PREREQ (7, 0) |
| 1440 |
# define _GL_ATTR_format _GL_GNUC_PREREQ (2, 7) |
| 1441 |
# define _GL_ATTR_leaf _GL_GNUC_PREREQ (4, 6) |
| 1442 |
# define _GL_ATTR_malloc _GL_GNUC_PREREQ (3, 0) |
| 1443 |
# ifdef _ICC |
| 1444 |
# define _GL_ATTR_may_alias 0 |
| 1445 |
# else |
| 1446 |
# define _GL_ATTR_may_alias _GL_GNUC_PREREQ (3, 3) |
| 1447 |
# endif |
| 1448 |
# define _GL_ATTR_noinline _GL_GNUC_PREREQ (3, 1) |
| 1449 |
# define _GL_ATTR_nonnull _GL_GNUC_PREREQ (3, 3) |
| 1450 |
# define _GL_ATTR_nonstring _GL_GNUC_PREREQ (8, 0) |
| 1451 |
# define _GL_ATTR_nothrow _GL_GNUC_PREREQ (3, 3) |
| 1452 |
# define _GL_ATTR_packed _GL_GNUC_PREREQ (2, 7) |
| 1453 |
# define _GL_ATTR_pure _GL_GNUC_PREREQ (2, 96) |
| 1454 |
# define _GL_ATTR_returns_nonnull _GL_GNUC_PREREQ (4, 9) |
| 1455 |
# define _GL_ATTR_sentinel _GL_GNUC_PREREQ (4, 0) |
| 1456 |
# define _GL_ATTR_unused _GL_GNUC_PREREQ (2, 7) |
| 1457 |
# define _GL_ATTR_warn_unused_result _GL_GNUC_PREREQ (3, 4) |
| 1458 |
#endif |
| 1459 |
|
| 1460 |
/* Disable GCC -Wpedantic if using __has_c_attribute and this is not C23+. */ |
| 1461 |
#if (defined __has_c_attribute && _GL_GNUC_PREREQ (4, 6) \ |
| 1462 |
&& (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) <= 201710) |
| 1463 |
# pragma GCC diagnostic ignored "-Wpedantic" |
| 1464 |
#endif |
| 1465 |
|
| 1466 |
|
| 1467 |
/* _GL_ATTRIBUTE_ALLOC_SIZE ((N)) declares that the Nth argument of the function |
| 1468 |
is the size of the returned memory block. |
| 1469 |
_GL_ATTRIBUTE_ALLOC_SIZE ((M, N)) declares that the Mth argument multiplied |
| 1470 |
by the Nth argument of the function is the size of the returned memory block. |
| 1471 |
*/ |
| 1472 |
/* Applies to: function, pointer to function, function types. */ |
| 1473 |
#ifndef _GL_ATTRIBUTE_ALLOC_SIZE |
| 1474 |
# if _GL_HAS_ATTRIBUTE (alloc_size) |
| 1475 |
# define _GL_ATTRIBUTE_ALLOC_SIZE(args) __attribute__ ((__alloc_size__ args)) |
| 1476 |
# else |
| 1477 |
# define _GL_ATTRIBUTE_ALLOC_SIZE(args) |
| 1478 |
# endif |
| 1479 |
#endif |
| 1480 |
|
| 1481 |
/* _GL_ATTRIBUTE_ALWAYS_INLINE tells that the compiler should always inline the |
| 1482 |
function and report an error if it cannot do so. */ |
| 1483 |
/* Applies to: function. */ |
| 1484 |
#ifndef _GL_ATTRIBUTE_ALWAYS_INLINE |
| 1485 |
# if _GL_HAS_ATTRIBUTE (always_inline) |
| 1486 |
# define _GL_ATTRIBUTE_ALWAYS_INLINE __attribute__ ((__always_inline__)) |
| 1487 |
# else |
| 1488 |
# define _GL_ATTRIBUTE_ALWAYS_INLINE |
| 1489 |
# endif |
| 1490 |
#endif |
| 1491 |
|
| 1492 |
/* _GL_ATTRIBUTE_ARTIFICIAL declares that the function is not important to show |
| 1493 |
in stack traces when debugging. The compiler should omit the function from |
| 1494 |
stack traces. */ |
| 1495 |
/* Applies to: function. */ |
| 1496 |
#ifndef _GL_ATTRIBUTE_ARTIFICIAL |
| 1497 |
# if _GL_HAS_ATTRIBUTE (artificial) |
| 1498 |
# define _GL_ATTRIBUTE_ARTIFICIAL __attribute__ ((__artificial__)) |
| 1499 |
# else |
| 1500 |
# define _GL_ATTRIBUTE_ARTIFICIAL |
| 1501 |
# endif |
| 1502 |
#endif |
| 1503 |
|
| 1504 |
/* _GL_ATTRIBUTE_COLD declares that the function is rarely executed. */ |
| 1505 |
/* Applies to: functions. */ |
| 1506 |
/* Avoid __attribute__ ((cold)) on MinGW; see thread starting at |
| 1507 |
<https://lists.gnu.org/r/emacs-devel/2019-04/msg01152.html>. |
| 1508 |
Also, Oracle Studio 12.6 requires 'cold' not '__cold__'. */ |
| 1509 |
#ifndef _GL_ATTRIBUTE_COLD |
| 1510 |
# if _GL_HAS_ATTRIBUTE (cold) && !defined __MINGW32__ |
| 1511 |
# ifndef __SUNPRO_C |
| 1512 |
# define _GL_ATTRIBUTE_COLD __attribute__ ((__cold__)) |
| 1513 |
# else |
| 1514 |
# define _GL_ATTRIBUTE_COLD __attribute__ ((cold)) |
| 1515 |
# endif |
| 1516 |
# else |
| 1517 |
# define _GL_ATTRIBUTE_COLD |
| 1518 |
# endif |
| 1519 |
#endif |
| 1520 |
|
| 1521 |
/* _GL_ATTRIBUTE_CONST declares that it is OK for a compiler to omit duplicate |
| 1522 |
calls to the function with the same arguments. |
| 1523 |
This attribute is safe for a function that neither depends on nor affects |
| 1524 |
observable state, and always returns exactly once - e.g., does not loop |
| 1525 |
forever, and does not call longjmp. |
| 1526 |
(This attribute is stricter than _GL_ATTRIBUTE_PURE.) */ |
| 1527 |
/* Applies to: functions. */ |
| 1528 |
#ifndef _GL_ATTRIBUTE_CONST |
| 1529 |
# if _GL_HAS_ATTRIBUTE (const) |
| 1530 |
# define _GL_ATTRIBUTE_CONST __attribute__ ((__const__)) |
| 1531 |
# else |
| 1532 |
# define _GL_ATTRIBUTE_CONST |
| 1533 |
# endif |
| 1534 |
#endif |
| 1535 |
|
| 1536 |
/* _GL_ATTRIBUTE_DEALLOC (F, I) declares that the function returns pointers |
| 1537 |
that can be freed by passing them as the Ith argument to the |
| 1538 |
function F. |
| 1539 |
_GL_ATTRIBUTE_DEALLOC_FREE declares that the function returns pointers that |
| 1540 |
can be freed via 'free'; it can be used only after declaring 'free'. */ |
| 1541 |
/* Applies to: functions. Cannot be used on inline functions. */ |
| 1542 |
#ifndef _GL_ATTRIBUTE_DEALLOC |
| 1543 |
# if _GL_GNUC_PREREQ (11, 0) |
| 1544 |
# define _GL_ATTRIBUTE_DEALLOC(f, i) __attribute__ ((__malloc__ (f, i))) |
| 1545 |
# else |
| 1546 |
# define _GL_ATTRIBUTE_DEALLOC(f, i) |
| 1547 |
# endif |
| 1548 |
#endif |
| 1549 |
/* If gnulib's <string.h> or <wchar.h> has already defined this macro, continue |
| 1550 |
to use this earlier definition, since <stdlib.h> may not have been included |
| 1551 |
yet. */ |
| 1552 |
#ifndef _GL_ATTRIBUTE_DEALLOC_FREE |
| 1553 |
# if defined __cplusplus && defined __GNUC__ && !defined __clang__ |
| 1554 |
/* Work around GCC bug <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108231> */ |
| 1555 |
# define _GL_ATTRIBUTE_DEALLOC_FREE \ |
| 1556 |
_GL_ATTRIBUTE_DEALLOC ((void (*) (void *)) free, 1) |
| 1557 |
# else |
| 1558 |
# define _GL_ATTRIBUTE_DEALLOC_FREE \ |
| 1559 |
_GL_ATTRIBUTE_DEALLOC (free, 1) |
| 1560 |
# endif |
| 1561 |
#endif |
| 1562 |
|
| 1563 |
/* _GL_ATTRIBUTE_DEPRECATED: Declares that an entity is deprecated. |
| 1564 |
The compiler may warn if the entity is used. */ |
| 1565 |
/* Applies to: |
| 1566 |
- function, variable, |
| 1567 |
- struct, union, struct/union member, |
| 1568 |
- enumeration, enumeration item, |
| 1569 |
- typedef, |
| 1570 |
in C++ also: namespace, class, template specialization. */ |
| 1571 |
#ifndef _GL_ATTRIBUTE_DEPRECATED |
| 1572 |
# ifdef __has_c_attribute |
| 1573 |
# if __has_c_attribute (__deprecated__) |
| 1574 |
# define _GL_ATTRIBUTE_DEPRECATED [[__deprecated__]] |
| 1575 |
# endif |
| 1576 |
# endif |
| 1577 |
# if !defined _GL_ATTRIBUTE_DEPRECATED && _GL_HAS_ATTRIBUTE (deprecated) |
| 1578 |
# define _GL_ATTRIBUTE_DEPRECATED __attribute__ ((__deprecated__)) |
| 1579 |
# endif |
| 1580 |
# ifndef _GL_ATTRIBUTE_DEPRECATED |
| 1581 |
# define _GL_ATTRIBUTE_DEPRECATED |
| 1582 |
# endif |
| 1583 |
#endif |
| 1584 |
|
| 1585 |
/* _GL_ATTRIBUTE_ERROR(msg) requests an error if a function is called and |
| 1586 |
the function call is not optimized away. |
| 1587 |
_GL_ATTRIBUTE_WARNING(msg) requests a warning if a function is called and |
| 1588 |
the function call is not optimized away. */ |
| 1589 |
/* Applies to: functions. */ |
| 1590 |
#if !(defined _GL_ATTRIBUTE_ERROR && defined _GL_ATTRIBUTE_WARNING) |
| 1591 |
# if _GL_HAS_ATTRIBUTE (error) |
| 1592 |
# define _GL_ATTRIBUTE_ERROR(msg) __attribute__ ((__error__ (msg))) |
| 1593 |
# define _GL_ATTRIBUTE_WARNING(msg) __attribute__ ((__warning__ (msg))) |
| 1594 |
# elif _GL_HAS_ATTRIBUTE (diagnose_if) |
| 1595 |
# define _GL_ATTRIBUTE_ERROR(msg) __attribute__ ((__diagnose_if__ (1, msg, "error"))) |
| 1596 |
# define _GL_ATTRIBUTE_WARNING(msg) __attribute__ ((__diagnose_if__ (1, msg, "warning"))) |
| 1597 |
# else |
| 1598 |
# define _GL_ATTRIBUTE_ERROR(msg) |
| 1599 |
# define _GL_ATTRIBUTE_WARNING(msg) |
| 1600 |
# endif |
| 1601 |
#endif |
| 1602 |
|
| 1603 |
/* _GL_ATTRIBUTE_EXTERNALLY_VISIBLE declares that the entity should remain |
| 1604 |
visible to debuggers etc., even with '-fwhole-program'. */ |
| 1605 |
/* Applies to: functions, variables. */ |
| 1606 |
#ifndef _GL_ATTRIBUTE_EXTERNALLY_VISIBLE |
| 1607 |
# if _GL_HAS_ATTRIBUTE (externally_visible) |
| 1608 |
# define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE __attribute__ ((externally_visible)) |
| 1609 |
# else |
| 1610 |
# define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE |
| 1611 |
# endif |
| 1612 |
#endif |
| 1613 |
|
| 1614 |
/* _GL_ATTRIBUTE_FALLTHROUGH declares that it is not a programming mistake if |
| 1615 |
the control flow falls through to the immediately following 'case' or |
| 1616 |
'default' label. The compiler should not warn in this case. */ |
| 1617 |
/* Applies to: Empty statement (;), inside a 'switch' statement. */ |
| 1618 |
/* Always expands to something. */ |
| 1619 |
#ifndef _GL_ATTRIBUTE_FALLTHROUGH |
| 1620 |
# ifdef __has_c_attribute |
| 1621 |
# if __has_c_attribute (__fallthrough__) |
| 1622 |
# define _GL_ATTRIBUTE_FALLTHROUGH [[__fallthrough__]] |
| 1623 |
# endif |
| 1624 |
# endif |
| 1625 |
# if !defined _GL_ATTRIBUTE_FALLTHROUGH && _GL_HAS_ATTRIBUTE (fallthrough) |
| 1626 |
# define _GL_ATTRIBUTE_FALLTHROUGH __attribute__ ((__fallthrough__)) |
| 1627 |
# endif |
| 1628 |
# ifndef _GL_ATTRIBUTE_FALLTHROUGH |
| 1629 |
# define _GL_ATTRIBUTE_FALLTHROUGH ((void) 0) |
| 1630 |
# endif |
| 1631 |
#endif |
| 1632 |
|
| 1633 |
/* _GL_ATTRIBUTE_FORMAT ((ARCHETYPE, STRING-INDEX, FIRST-TO-CHECK)) |
| 1634 |
declares that the STRING-INDEXth function argument is a format string of |
| 1635 |
style ARCHETYPE, which is one of: |
| 1636 |
printf, gnu_printf |
| 1637 |
scanf, gnu_scanf, |
| 1638 |
strftime, gnu_strftime, |
| 1639 |
strfmon, |
| 1640 |
or the same thing prefixed and suffixed with '__'. |
| 1641 |
If FIRST-TO-CHECK is not 0, arguments starting at FIRST-TO_CHECK |
| 1642 |
are suitable for the format string. */ |
| 1643 |
/* Applies to: functions. */ |
| 1644 |
#ifndef _GL_ATTRIBUTE_FORMAT |
| 1645 |
# if _GL_HAS_ATTRIBUTE (format) |
| 1646 |
# define _GL_ATTRIBUTE_FORMAT(spec) __attribute__ ((__format__ spec)) |
| 1647 |
# else |
| 1648 |
# define _GL_ATTRIBUTE_FORMAT(spec) |
| 1649 |
# endif |
| 1650 |
#endif |
| 1651 |
|
| 1652 |
/* _GL_ATTRIBUTE_LEAF declares that if the function is called from some other |
| 1653 |
compilation unit, it executes code from that unit only by return or by |
| 1654 |
exception handling. This declaration lets the compiler optimize that unit |
| 1655 |
more aggressively. */ |
| 1656 |
/* Applies to: functions. */ |
| 1657 |
#ifndef _GL_ATTRIBUTE_LEAF |
| 1658 |
# if _GL_HAS_ATTRIBUTE (leaf) |
| 1659 |
# define _GL_ATTRIBUTE_LEAF __attribute__ ((__leaf__)) |
| 1660 |
# else |
| 1661 |
# define _GL_ATTRIBUTE_LEAF |
| 1662 |
# endif |
| 1663 |
#endif |
| 1664 |
|
| 1665 |
/* _GL_ATTRIBUTE_MALLOC declares that the function returns a pointer to freshly |
| 1666 |
allocated memory. */ |
| 1667 |
/* Applies to: functions. */ |
| 1668 |
#ifndef _GL_ATTRIBUTE_MALLOC |
| 1669 |
# if _GL_HAS_ATTRIBUTE (malloc) |
| 1670 |
# define _GL_ATTRIBUTE_MALLOC __attribute__ ((__malloc__)) |
| 1671 |
# else |
| 1672 |
# define _GL_ATTRIBUTE_MALLOC |
| 1673 |
# endif |
| 1674 |
#endif |
| 1675 |
|
| 1676 |
/* _GL_ATTRIBUTE_MAY_ALIAS declares that pointers to the type may point to the |
| 1677 |
same storage as pointers to other types. Thus this declaration disables |
| 1678 |
strict aliasing optimization. */ |
| 1679 |
/* Applies to: types. */ |
| 1680 |
/* Oracle Studio 12.6 mishandles may_alias despite __has_attribute OK. */ |
| 1681 |
#ifndef _GL_ATTRIBUTE_MAY_ALIAS |
| 1682 |
# if _GL_HAS_ATTRIBUTE (may_alias) && !defined __SUNPRO_C |
| 1683 |
# define _GL_ATTRIBUTE_MAY_ALIAS __attribute__ ((__may_alias__)) |
| 1684 |
# else |
| 1685 |
# define _GL_ATTRIBUTE_MAY_ALIAS |
| 1686 |
# endif |
| 1687 |
#endif |
| 1688 |
|
| 1689 |
/* _GL_ATTRIBUTE_MAYBE_UNUSED declares that it is not a programming mistake if |
| 1690 |
the entity is not used. The compiler should not warn if the entity is not |
| 1691 |
used. */ |
| 1692 |
/* Applies to: |
| 1693 |
- function, variable, |
| 1694 |
- struct, union, struct/union member, |
| 1695 |
- enumeration, enumeration item, |
| 1696 |
- typedef, |
| 1697 |
in C++ also: class. */ |
| 1698 |
/* In C++ and C23, this is spelled [[__maybe_unused__]]. |
| 1699 |
GCC's syntax is __attribute__ ((__unused__)). |
| 1700 |
clang supports both syntaxes. Except that with clang ≥ 6, < 10, in C++ mode, |
| 1701 |
__has_c_attribute (__maybe_unused__) yields true but the use of |
| 1702 |
[[__maybe_unused__]] nevertheless produces a warning. */ |
| 1703 |
#ifndef _GL_ATTRIBUTE_MAYBE_UNUSED |
| 1704 |
# if defined __clang__ && defined __cplusplus |
| 1705 |
# if !defined __apple_build_version__ && __clang_major__ >= 10 |
| 1706 |
# define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]] |
| 1707 |
# endif |
| 1708 |
# elif defined __has_c_attribute |
| 1709 |
# if __has_c_attribute (__maybe_unused__) |
| 1710 |
# define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]] |
| 1711 |
# endif |
| 1712 |
# endif |
| 1713 |
# ifndef _GL_ATTRIBUTE_MAYBE_UNUSED |
| 1714 |
# define _GL_ATTRIBUTE_MAYBE_UNUSED _GL_ATTRIBUTE_UNUSED |
| 1715 |
# endif |
| 1716 |
#endif |
| 1717 |
/* Alternative spelling of this macro, for convenience and for |
| 1718 |
compatibility with glibc/include/libc-symbols.h. */ |
| 1719 |
#define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED |
| 1720 |
/* Earlier spellings of this macro. */ |
| 1721 |
#define _UNUSED_PARAMETER_ _GL_ATTRIBUTE_MAYBE_UNUSED |
| 1722 |
|
| 1723 |
/* _GL_ATTRIBUTE_NODISCARD declares that the caller of the function should not |
| 1724 |
discard the return value. The compiler may warn if the caller does not use |
| 1725 |
the return value, unless the caller uses something like ignore_value. */ |
| 1726 |
/* Applies to: function, enumeration, class. */ |
| 1727 |
#ifndef _GL_ATTRIBUTE_NODISCARD |
| 1728 |
# if defined __clang__ && defined __cplusplus |
| 1729 |
/* With clang up to 15.0.6 (at least), in C++ mode, [[__nodiscard__]] produces |
| 1730 |
a warning. |
| 1731 |
The 1000 below means a yet unknown threshold. When clang++ version X |
| 1732 |
starts supporting [[__nodiscard__]] without warning about it, you can |
| 1733 |
replace the 1000 with X. */ |
| 1734 |
# if __clang_major__ >= 1000 |
| 1735 |
# define _GL_ATTRIBUTE_NODISCARD [[__nodiscard__]] |
| 1736 |
# endif |
| 1737 |
# elif defined __has_c_attribute |
| 1738 |
# if __has_c_attribute (__nodiscard__) |
| 1739 |
# define _GL_ATTRIBUTE_NODISCARD [[__nodiscard__]] |
| 1740 |
# endif |
| 1741 |
# endif |
| 1742 |
# if !defined _GL_ATTRIBUTE_NODISCARD && _GL_HAS_ATTRIBUTE (warn_unused_result) |
| 1743 |
# define _GL_ATTRIBUTE_NODISCARD __attribute__ ((__warn_unused_result__)) |
| 1744 |
# endif |
| 1745 |
# ifndef _GL_ATTRIBUTE_NODISCARD |
| 1746 |
# define _GL_ATTRIBUTE_NODISCARD |
| 1747 |
# endif |
| 1748 |
#endif |
| 1749 |
|
| 1750 |
/* _GL_ATTRIBUTE_NOINLINE tells that the compiler should not inline the |
| 1751 |
function. */ |
| 1752 |
/* Applies to: functions. */ |
| 1753 |
#ifndef _GL_ATTRIBUTE_NOINLINE |
| 1754 |
# if _GL_HAS_ATTRIBUTE (noinline) |
| 1755 |
# define _GL_ATTRIBUTE_NOINLINE __attribute__ ((__noinline__)) |
| 1756 |
# else |
| 1757 |
# define _GL_ATTRIBUTE_NOINLINE |
| 1758 |
# endif |
| 1759 |
#endif |
| 1760 |
|
| 1761 |
/* _GL_ATTRIBUTE_NONNULL ((N1, N2,...)) declares that the arguments N1, N2,... |
| 1762 |
must not be NULL. |
| 1763 |
_GL_ATTRIBUTE_NONNULL () declares that all pointer arguments must not be |
| 1764 |
null. */ |
| 1765 |
/* Applies to: functions. */ |
| 1766 |
#ifndef _GL_ATTRIBUTE_NONNULL |
| 1767 |
# if _GL_HAS_ATTRIBUTE (nonnull) |
| 1768 |
# define _GL_ATTRIBUTE_NONNULL(args) __attribute__ ((__nonnull__ args)) |
| 1769 |
# else |
| 1770 |
# define _GL_ATTRIBUTE_NONNULL(args) |
| 1771 |
# endif |
| 1772 |
#endif |
| 1773 |
|
| 1774 |
/* _GL_ATTRIBUTE_NONSTRING declares that the contents of a character array is |
| 1775 |
not meant to be NUL-terminated. */ |
| 1776 |
/* Applies to: struct/union members and variables that are arrays of element |
| 1777 |
type '[[un]signed] char'. */ |
| 1778 |
#ifndef _GL_ATTRIBUTE_NONSTRING |
| 1779 |
# if _GL_HAS_ATTRIBUTE (nonstring) |
| 1780 |
# define _GL_ATTRIBUTE_NONSTRING __attribute__ ((__nonstring__)) |
| 1781 |
# else |
| 1782 |
# define _GL_ATTRIBUTE_NONSTRING |
| 1783 |
# endif |
| 1784 |
#endif |
| 1785 |
|
| 1786 |
/* There is no _GL_ATTRIBUTE_NORETURN; use _Noreturn instead. */ |
| 1787 |
|
| 1788 |
/* _GL_ATTRIBUTE_NOTHROW declares that the function does not throw exceptions. |
| 1789 |
*/ |
| 1790 |
/* Applies to: functions. */ |
| 1791 |
#ifndef _GL_ATTRIBUTE_NOTHROW |
| 1792 |
# if _GL_HAS_ATTRIBUTE (nothrow) && !defined __cplusplus |
| 1793 |
# define _GL_ATTRIBUTE_NOTHROW __attribute__ ((__nothrow__)) |
| 1794 |
# else |
| 1795 |
# define _GL_ATTRIBUTE_NOTHROW |
| 1796 |
# endif |
| 1797 |
#endif |
| 1798 |
|
| 1799 |
/* _GL_ATTRIBUTE_PACKED declares: |
| 1800 |
For struct members: The member has the smallest possible alignment. |
| 1801 |
For struct, union, class: All members have the smallest possible alignment, |
| 1802 |
minimizing the memory required. */ |
| 1803 |
/* Applies to: struct members, struct, union, |
| 1804 |
in C++ also: class. */ |
| 1805 |
#ifndef _GL_ATTRIBUTE_PACKED |
| 1806 |
# if _GL_HAS_ATTRIBUTE (packed) |
| 1807 |
# define _GL_ATTRIBUTE_PACKED __attribute__ ((__packed__)) |
| 1808 |
# else |
| 1809 |
# define _GL_ATTRIBUTE_PACKED |
| 1810 |
# endif |
| 1811 |
#endif |
| 1812 |
|
| 1813 |
/* _GL_ATTRIBUTE_PURE declares that It is OK for a compiler to omit duplicate |
| 1814 |
calls to the function with the same arguments if observable state is not |
| 1815 |
changed between calls. |
| 1816 |
This attribute is safe for a function that does not affect |
| 1817 |
observable state, and always returns exactly once. |
| 1818 |
(This attribute is looser than _GL_ATTRIBUTE_CONST.) */ |
| 1819 |
/* Applies to: functions. */ |
| 1820 |
#ifndef _GL_ATTRIBUTE_PURE |
| 1821 |
# if _GL_HAS_ATTRIBUTE (pure) |
| 1822 |
# define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__)) |
| 1823 |
# else |
| 1824 |
# define _GL_ATTRIBUTE_PURE |
| 1825 |
# endif |
| 1826 |
#endif |
| 1827 |
|
| 1828 |
/* _GL_ATTRIBUTE_RETURNS_NONNULL declares that the function's return value is |
| 1829 |
a non-NULL pointer. */ |
| 1830 |
/* Applies to: functions. */ |
| 1831 |
#ifndef _GL_ATTRIBUTE_RETURNS_NONNULL |
| 1832 |
# if _GL_HAS_ATTRIBUTE (returns_nonnull) |
| 1833 |
# define _GL_ATTRIBUTE_RETURNS_NONNULL __attribute__ ((__returns_nonnull__)) |
| 1834 |
# else |
| 1835 |
# define _GL_ATTRIBUTE_RETURNS_NONNULL |
| 1836 |
# endif |
| 1837 |
#endif |
| 1838 |
|
| 1839 |
/* _GL_ATTRIBUTE_SENTINEL(pos) declares that the variadic function expects a |
| 1840 |
trailing NULL argument. |
| 1841 |
_GL_ATTRIBUTE_SENTINEL () - The last argument is NULL (requires C99). |
| 1842 |
_GL_ATTRIBUTE_SENTINEL ((N)) - The (N+1)st argument from the end is NULL. */ |
| 1843 |
/* Applies to: functions. */ |
| 1844 |
#ifndef _GL_ATTRIBUTE_SENTINEL |
| 1845 |
# if _GL_HAS_ATTRIBUTE (sentinel) |
| 1846 |
# define _GL_ATTRIBUTE_SENTINEL(pos) __attribute__ ((__sentinel__ pos)) |
| 1847 |
# else |
| 1848 |
# define _GL_ATTRIBUTE_SENTINEL(pos) |
| 1849 |
# endif |
| 1850 |
#endif |
| 1851 |
|
| 1852 |
/* A helper macro. Don't use it directly. */ |
| 1853 |
#ifndef _GL_ATTRIBUTE_UNUSED |
| 1854 |
# if _GL_HAS_ATTRIBUTE (unused) |
| 1855 |
# define _GL_ATTRIBUTE_UNUSED __attribute__ ((__unused__)) |
| 1856 |
# else |
| 1857 |
# define _GL_ATTRIBUTE_UNUSED |
| 1858 |
# endif |
| 1859 |
#endif |
| 1860 |
|
| 1861 |
|
| 1862 |
/* _GL_UNUSED_LABEL; declares that it is not a programming mistake if the |
| 1863 |
immediately preceding label is not used. The compiler should not warn |
| 1864 |
if the label is not used. */ |
| 1865 |
/* Applies to: label (both in C and C++). */ |
| 1866 |
/* Note that g++ < 4.5 does not support the '__attribute__ ((__unused__)) ;' |
| 1867 |
syntax. But clang does. */ |
| 1868 |
#ifndef _GL_UNUSED_LABEL |
| 1869 |
# if !(defined __cplusplus && !_GL_GNUC_PREREQ (4, 5)) || defined __clang__ |
| 1870 |
# define _GL_UNUSED_LABEL _GL_ATTRIBUTE_UNUSED |
| 1871 |
# else |
| 1872 |
# define _GL_UNUSED_LABEL |
| 1873 |
# endif |
| 1874 |
#endif |
| 1875 |
|
| 1876 |
|
| 1877 |
/* Define to `int' if <sys/types.h> doesn't define. */ |
| 1878 |
#undef gid_t |
| 1879 |
|
| 1880 |
/* Define to `__inline__' or `__inline' if that's what the C compiler |
| 1881 |
calls it, or to nothing if 'inline' is not supported under any name. */ |
| 1882 |
#ifndef __cplusplus |
| 1883 |
#undef inline |
| 1884 |
#endif |
| 1885 |
|
| 1886 |
/* Define to long or long long if <stdint.h> and <inttypes.h> don't define. */ |
| 1887 |
#undef intmax_t |
| 1888 |
|
| 1889 |
/* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports |
| 1890 |
the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of |
| 1891 |
earlier versions), but does not display it by setting __GNUC_STDC_INLINE__. |
| 1892 |
__APPLE__ && __MACH__ test for Mac OS X. |
| 1893 |
__APPLE_CC__ tests for the Apple compiler and its version. |
| 1894 |
__STDC_VERSION__ tests for the C99 mode. */ |
| 1895 |
#if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__ |
| 1896 |
# define __GNUC_STDC_INLINE__ 1 |
| 1897 |
#endif |
| 1898 |
|
| 1899 |
/* Define to a type if <wchar.h> does not define. */ |
| 1900 |
#undef mbstate_t |
| 1901 |
|
| 1902 |
/* _GL_CMP (n1, n2) performs a three-valued comparison on n1 vs. n2, where |
| 1903 |
n1 and n2 are expressions without side effects, that evaluate to real |
| 1904 |
numbers (excluding NaN). |
| 1905 |
It returns |
| 1906 |
1 if n1 > n2 |
| 1907 |
0 if n1 == n2 |
| 1908 |
-1 if n1 < n2 |
| 1909 |
The naïve code (n1 > n2 ? 1 : n1 < n2 ? -1 : 0) produces a conditional |
| 1910 |
jump with nearly all GCC versions up to GCC 10. |
| 1911 |
This variant (n1 < n2 ? -1 : n1 > n2) produces a conditional with many |
| 1912 |
GCC versions up to GCC 9. |
| 1913 |
The better code (n1 > n2) - (n1 < n2) from Hacker's Delight § 2-9 |
| 1914 |
avoids conditional jumps in all GCC versions >= 3.4. */ |
| 1915 |
#define _GL_CMP(n1, n2) (((n1) > (n2)) - ((n1) < (n2))) |
| 1916 |
|
| 1917 |
|
| 1918 |
/* Define to `int' if <sys/types.h> does not define. */ |
| 1919 |
#undef mode_t |
| 1920 |
|
| 1921 |
/* Define to the type of st_nlink in struct stat, or a supertype. */ |
| 1922 |
#undef nlink_t |
| 1923 |
|
| 1924 |
/* Define as a signed integer type capable of holding a process identifier. */ |
| 1925 |
#undef pid_t |
| 1926 |
|
| 1927 |
/* Define as the type of the result of subtracting two pointers, if the system |
| 1928 |
doesn't define it. */ |
| 1929 |
#undef ptrdiff_t |
| 1930 |
|
| 1931 |
/* Define to the equivalent of the C99 'restrict' keyword, or to |
| 1932 |
nothing if this is not supported. Do not define if restrict is |
| 1933 |
supported only directly. */ |
| 1934 |
#undef restrict |
| 1935 |
/* Work around a bug in older versions of Sun C++, which did not |
| 1936 |
#define __restrict__ or support _Restrict or __restrict__ |
| 1937 |
even though the corresponding Sun C compiler ended up with |
| 1938 |
"#define restrict _Restrict" or "#define restrict __restrict__" |
| 1939 |
in the previous line. This workaround can be removed once |
| 1940 |
we assume Oracle Developer Studio 12.5 (2016) or later. */ |
| 1941 |
#if defined __SUNPRO_CC && !defined __RESTRICT && !defined __restrict__ |
| 1942 |
# define _Restrict |
| 1943 |
# define __restrict__ |
| 1944 |
#endif |
| 1945 |
|
| 1946 |
/* Define to `unsigned int' if <sys/types.h> does not define. */ |
| 1947 |
#undef size_t |
| 1948 |
|
| 1949 |
/* Define as a signed type of the same size as size_t. */ |
| 1950 |
#undef ssize_t |
| 1951 |
|
| 1952 |
/* Define to `int' if <sys/types.h> doesn't define. */ |
| 1953 |
#undef uid_t |
| 1954 |
|
| 1955 |
#if !defined HAVE_C_ALIGNASOF && __cplusplus < 201103 && !defined alignof |
| 1956 |
# if HAVE_STDALIGN_H |
| 1957 |
# include <stdalign.h> |
| 1958 |
# endif |
| 1959 |
|
| 1960 |
/* ISO C23 alignas and alignof for platforms that lack it. |
| 1961 |
|
| 1962 |
References: |
| 1963 |
ISO C23 (latest free draft |
| 1964 |
<http://www.open-std.org/jtc1/sc22/wg14/www/docs/n3047.pdf>) |
| 1965 |
sections 6.5.3.4, 6.7.5, 7.15. |
| 1966 |
C++11 (latest free draft |
| 1967 |
<http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2011/n3242.pdf>) |
| 1968 |
section 18.10. */ |
| 1969 |
|
| 1970 |
/* alignof (TYPE), also known as _Alignof (TYPE), yields the alignment |
| 1971 |
requirement of a structure member (i.e., slot or field) that is of |
| 1972 |
type TYPE, as an integer constant expression. |
| 1973 |
|
| 1974 |
This differs from GCC's and clang's __alignof__ operator, which can |
| 1975 |
yield a better-performing alignment for an object of that type. For |
| 1976 |
example, on x86 with GCC and on Linux/x86 with clang, |
| 1977 |
__alignof__ (double) and __alignof__ (long long) are 8, whereas |
| 1978 |
alignof (double) and alignof (long long) are 4 unless the option |
| 1979 |
'-malign-double' is used. |
| 1980 |
|
| 1981 |
The result cannot be used as a value for an 'enum' constant, if you |
| 1982 |
want to be portable to HP-UX 10.20 cc and AIX 3.2.5 xlc. */ |
| 1983 |
|
| 1984 |
/* GCC releases before GCC 4.9 had a bug in _Alignof. See GCC bug 52023 |
| 1985 |
<https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52023>. |
| 1986 |
clang versions < 8.0.0 have the same bug. */ |
| 1987 |
# if (!defined __STDC_VERSION__ || __STDC_VERSION__ < 201112 \ |
| 1988 |
|| (defined __GNUC__ && __GNUC__ < 4 + (__GNUC_MINOR__ < 9) \ |
| 1989 |
&& !defined __clang__) \ |
| 1990 |
|| (defined __clang__ && __clang_major__ < 8)) |
| 1991 |
# undef/**/_Alignof |
| 1992 |
# ifdef __cplusplus |
| 1993 |
# if (201103 <= __cplusplus || defined _MSC_VER) |
| 1994 |
# define _Alignof(type) alignof (type) |
| 1995 |
# else |
| 1996 |
template <class __t> struct __alignof_helper { char __a; __t __b; }; |
| 1997 |
# define _Alignof(type) offsetof (__alignof_helper<type>, __b) |
| 1998 |
# define _GL_STDALIGN_NEEDS_STDDEF 1 |
| 1999 |
# endif |
| 2000 |
# else |
| 2001 |
# if (defined __GNUC__ && 4 <= __GNUC__) || defined __clang__ |
| 2002 |
# define _Alignof(type) __builtin_offsetof (struct { char __a; type __b; }, __b) |
| 2003 |
# else |
| 2004 |
# define _Alignof(type) offsetof (struct { char __a; type __b; }, __b) |
| 2005 |
# define _GL_STDALIGN_NEEDS_STDDEF 1 |
| 2006 |
# endif |
| 2007 |
# endif |
| 2008 |
# endif |
| 2009 |
# if ! (defined __cplusplus && (201103 <= __cplusplus || defined _MSC_VER)) |
| 2010 |
# undef/**/alignof |
| 2011 |
# define alignof _Alignof |
| 2012 |
# endif |
| 2013 |
|
| 2014 |
/* alignas (A), also known as _Alignas (A), aligns a variable or type |
| 2015 |
to the alignment A, where A is an integer constant expression. For |
| 2016 |
example: |
| 2017 |
|
| 2018 |
int alignas (8) foo; |
| 2019 |
struct s { int a; int alignas (8) bar; }; |
| 2020 |
|
| 2021 |
aligns the address of FOO and the offset of BAR to be multiples of 8. |
| 2022 |
|
| 2023 |
A should be a power of two that is at least the type's alignment |
| 2024 |
and at most the implementation's alignment limit. This limit is |
| 2025 |
2**28 on typical GNUish hosts, and 2**13 on MSVC. To be portable |
| 2026 |
to MSVC through at least version 10.0, A should be an integer |
| 2027 |
constant, as MSVC does not support expressions such as 1 << 3. |
| 2028 |
To be portable to Sun C 5.11, do not align auto variables to |
| 2029 |
anything stricter than their default alignment. |
| 2030 |
|
| 2031 |
The following C23 requirements are not supported here: |
| 2032 |
|
| 2033 |
- If A is zero, alignas has no effect. |
| 2034 |
- alignas can be used multiple times; the strictest one wins. |
| 2035 |
- alignas (TYPE) is equivalent to alignas (alignof (TYPE)). |
| 2036 |
|
| 2037 |
*/ |
| 2038 |
# if !HAVE_STDALIGN_H |
| 2039 |
# if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112 |
| 2040 |
# if defined __cplusplus && (201103 <= __cplusplus || defined _MSC_VER) |
| 2041 |
# define _Alignas(a) alignas (a) |
| 2042 |
# elif (!defined __attribute__ \ |
| 2043 |
&& ((defined __APPLE__ && defined __MACH__ \ |
| 2044 |
? 4 < __GNUC__ + (1 <= __GNUC_MINOR__) \ |
| 2045 |
: __GNUC__ && !defined __ibmxl__) \ |
| 2046 |
|| (4 <= __clang_major__) \ |
| 2047 |
|| (__ia64 && (61200 <= __HP_cc || 61200 <= __HP_aCC)) \ |
| 2048 |
|| __ICC || 0x590 <= __SUNPRO_C || 0x0600 <= __xlC__)) |
| 2049 |
# define _Alignas(a) __attribute__ ((__aligned__ (a))) |
| 2050 |
# elif 1300 <= _MSC_VER |
| 2051 |
# define _Alignas(a) __declspec (align (a)) |
| 2052 |
# endif |
| 2053 |
# endif |
| 2054 |
# if ((defined _Alignas \ |
| 2055 |
&& !(defined __cplusplus \ |
| 2056 |
&& (201103 <= __cplusplus || defined _MSC_VER))) \ |
| 2057 |
|| (defined __STDC_VERSION__ && 201112 <= __STDC_VERSION__)) |
| 2058 |
# define alignas _Alignas |
| 2059 |
# endif |
| 2060 |
# endif |
| 2061 |
|
| 2062 |
# if _GL_STDALIGN_NEEDS_STDDEF |
| 2063 |
# include <stddef.h> |
| 2064 |
# endif |
| 2065 |
#endif |
| 2066 |
|
| 2067 |
#ifndef HAVE_C_BOOL |
| 2068 |
# if !defined __cplusplus && !defined __bool_true_false_are_defined |
| 2069 |
# if HAVE_STDBOOL_H |
| 2070 |
# include <stdbool.h> |
| 2071 |
# else |
| 2072 |
# if defined __SUNPRO_C |
| 2073 |
# error "<stdbool.h> is not usable with this configuration. To make it usable, add -D_STDC_C99= to $CC." |
| 2074 |
# else |
| 2075 |
# error "<stdbool.h> does not exist on this platform. Use gnulib module 'stdbool-c99' instead of gnulib module 'stdbool'." |
| 2076 |
# endif |
| 2077 |
# endif |
| 2078 |
# endif |
| 2079 |
# if !true |
| 2080 |
# define true (!false) |
| 2081 |
# endif |
| 2082 |
#endif |
| 2083 |
|
| 2084 |
#if (!defined HAVE_C_STATIC_ASSERT && !defined assert \ |
| 2085 |
&& (!defined __cplusplus \ |
| 2086 |
|| (__cpp_static_assert < 201411 \ |
| 2087 |
&& __GNUG__ < 6 && __clang_major__ < 6))) |
| 2088 |
#include <assert.h> |
| 2089 |
#undef/**/assert |
| 2090 |
#ifdef __sgi |
| 2091 |
#undef/**/__ASSERT_H__ |
| 2092 |
#endif |
| 2093 |
/* Solaris 11.4 <assert.h> defines static_assert as a macro with 2 arguments. |
| 2094 |
We need it also to be invocable with a single argument. */ |
| 2095 |
#if defined __sun && (__STDC_VERSION__ - 0 >= 201112L) && !defined __cplusplus |
| 2096 |
#undef/**/static_assert |
| 2097 |
#define static_assert _Static_assert |
| 2098 |
#endif |
| 2099 |
#endif |