1 /* config.h. Generated from config.h.in by configure. */ 2 /* config.h.in. Generated from configure.ac by autoheader. */ 3 4 /* Define if building universal (internal helper macro) */ 5 /* #undef AC_APPLE_UNIVERSAL_BUILD */ 6 7 /* Define to the number of bits in type 'ptrdiff_t'. */ 8 /* #undef BITSIZEOF_PTRDIFF_T */ 9 10 /* Define to the number of bits in type 'sig_atomic_t'. */ 11 /* #undef BITSIZEOF_SIG_ATOMIC_T */ 12 13 /* Define to the number of bits in type 'size_t'. */ 14 /* #undef BITSIZEOF_SIZE_T */ 15 16 /* Define to the number of bits in type 'wchar_t'. */ 17 /* #undef BITSIZEOF_WCHAR_T */ 18 19 /* Define to the number of bits in type 'wint_t'. */ 20 /* #undef BITSIZEOF_WINT_T */ 21 22 /* Define this label if your system uses case-insensitive file names */ 23 #define CASE_INSENSITIVE_FILENAMES 1 24 25 /* You can define this label to be a string containing the name of a 26 site-specific configuration file containing site-wide default options. The 27 files /etc/ctags.conf and /usr/local/etc/ctags.conf are already checked, so 28 only define one here if you need a file somewhere else. */ 29 /* #undef CUSTOM_CONFIGURATION_FILE */ 30 31 32 /* Define this as desired. 33 * 1: Original ctags format 34 * 2: Extended ctags format with extension flags in EX-style comment. 35 */ 36 #define DEFAULT_FILE_FORMAT 2 37 38 39 /* Define to 1 if gcov is instrumented. */ 40 /* #undef ENABLE_GCOV */ 41 42 /* Define the string to check (in executable name) for etags mode */ 43 #define ETAGS "etags" 44 45 46 /* Define this label to use the system sort utility (which is probably more 47 * efficient) over the internal sorting algorithm. 48 */ 49 #ifndef INTERNAL_SORT 50 /* # undef EXTERNAL_SORT */ 51 #endif 52 53 54 /* Define to 1 if nl_langinfo (YESEXPR) returns a non-empty string. */ 55 /* #undef FUNC_NL_LANGINFO_YESEXPR_WORKS */ 56 57 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 58 whether the gnulib module lock shall be considered present. */ 59 /* !!!#define GNULIB_LOCK 1 */ 60 61 /* Define to 1 when the gnulib module btowc should be tested. */ 62 #define GNULIB_TEST_BTOWC 1 63 64 /* Define to 1 when the gnulib module localeconv should be tested. */ 65 #define GNULIB_TEST_LOCALECONV 1 66 67 /* Define to 1 when the gnulib module mbrtowc should be tested. */ 68 #define GNULIB_TEST_MBRTOWC 1 69 70 /* Define to 1 when the gnulib module mbsinit should be tested. */ 71 #define GNULIB_TEST_MBSINIT 1 72 73 /* Define to 1 when the gnulib module mbtowc should be tested. */ 74 #define GNULIB_TEST_MBTOWC 1 75 76 /* Define to 1 when the gnulib module nl_langinfo should be tested. */ 77 #define GNULIB_TEST_NL_LANGINFO 1 78 79 /* Define to 1 when the gnulib module setlocale_null should be tested. */ 80 #define GNULIB_TEST_SETLOCALE_NULL 1 81 82 /* Define to 1 when the gnulib module wcrtomb should be tested. */ 83 #define GNULIB_TEST_WCRTOMB 1 84 85 /* Define to 1 if you have the `asprintf' function. */ 86 #define HAVE_ASPRINTF 1 87 88 /* Define to 1 if you have the `btowc' function. */ 89 #define HAVE_BTOWC 1 90 91 /* Define to 1 if you have the `chmod' function. */ 92 /* #undef HAVE_CHMOD */ 93 94 /* Define to 1 if you have the `chsize' function. */ 95 /* #undef HAVE_CHSIZE */ 96 97 /* Define to 1 if you have the <crtdefs.h> header file. */ 98 /* !!!#define HAVE_CRTDEFS_H 1 */ 99 100 /* Define to 1 if you have the declaration of `alarm', and to 0 if you don't. 101 */ 102 #define HAVE_DECL_ALARM 0 103 104 /* Define to 1 if you have the declaration of `ecvt', and to 0 if you don't. 105 */ 106 #define HAVE_DECL_ECVT 1 107 108 /* Define to 1 if you have the declaration of `execvpe', and to 0 if you 109 don't. */ 110 #define HAVE_DECL_EXECVPE 1 111 112 /* Define to 1 if you have the declaration of `fcvt', and to 0 if you don't. 113 */ 114 #define HAVE_DECL_FCVT 1 115 116 /* Define to 1 if you have the declaration of `gcvt', and to 0 if you don't. 117 */ 118 #define HAVE_DECL_GCVT 1 119 120 /* Define to 1 if you have the declaration of `isblank', and to 0 if you 121 don't. */ 122 #define HAVE_DECL_ISBLANK 1 123 124 /* Define to 1 if you have the declaration of `mbrtowc', and to 0 if you 125 don't. */ 126 /* #undef HAVE_DECL_MBRTOWC */ 127 128 /* Define to 1 if you have the declaration of `mbsinit', and to 0 if you 129 don't. */ 130 /* #undef HAVE_DECL_MBSINIT */ 131 132 /* Define to 1 if you have the declaration of `strnlen', and to 0 if you 133 don't. */ 134 #define HAVE_DECL_STRNLEN 1 135 136 /* Define to 1 if you have the declaration of `towlower', and to 0 if you 137 don't. */ 138 /* #undef HAVE_DECL_TOWLOWER */ 139 140 /* Define to 1 if you have the declaration of `wcrtomb', and to 0 if you 141 don't. */ 142 /* #undef HAVE_DECL_WCRTOMB */ 143 144 /* Define to 1 if you have the declaration of `wcsdup', and to 0 if you don't. 145 */ 146 #define HAVE_DECL_WCSDUP 1 147 148 /* Define to 1 if you have the declaration of `_NSGetEnviron', and to 0 if you 149 don't. */ 150 #define HAVE_DECL__NSGETENVIRON 0 151 152 /* Define to 1 if you have the declaration of `__environ', and to 0 if you 153 don't. */ 154 #define HAVE_DECL___ENVIRON 0 155 156 /* Define to 1 if you have the <direct.h> header file. */ 157 #define HAVE_DIRECT_H 1 158 159 /* Define to 1 if you have the <dirent.h> header file. */ 160 #define HAVE_DIRENT_H 1 161 162 /* Define to 1 if you have the <fcntl.h> header file. */ 163 #define HAVE_FCNTL_H 1 164 165 /* Define to 1 if you have the <features.h> header file. */ 166 /* #undef HAVE_FEATURES_H */ 167 168 /* Define to 1 if you have the `findfirst' function. */ 169 /* #undef HAVE_FINDFIRST */ 170 171 /* Define to 1 if you have the `fnmatch' function. */ 172 #define HAVE_FNMATCH 1 173 174 /* Define to 1 if you have the <fnmatch.h> header file. */ 175 /* #undef HAVE_FNMATCH_H */ 176 177 /* Define to 1 if you have the `ftruncate' function. */ 178 /* #undef HAVE_FTRUNCATE */ 179 180 /* Define this value if support multibyte character encoding. */ 181 /* !!!#define HAVE_ICONV 1 */ 182 183 /* Define to 1 if you have the <inttypes.h> header file. */ 184 #define HAVE_INTTYPES_H 1 185 186 /* Define to 1 if you have the <io.h> header file. */ 187 #define HAVE_IO_H 1 188 189 /* Define to 1 if you have the `isblank' function. */ 190 #define HAVE_ISBLANK 1 191 192 /* Define to 1 if you have the `iswcntrl' function. */ 193 #define HAVE_ISWCNTRL 1 194 195 /* Define to 1 if you have the `iswctype' function. */ 196 #define HAVE_ISWCTYPE 1 197 198 /* Define this value if jansson is available. */ 199 /* !!!#define HAVE_JANSSON 1 */ 200 201 /* Define if you have <langinfo.h> and nl_langinfo(CODESET). */ 202 /* #undef HAVE_LANGINFO_CODESET */ 203 204 /* Define to 1 if you have the <langinfo.h> header file. */ 205 /* #undef HAVE_LANGINFO_H */ 206 207 /* Define to 1 if you have the <libintl.h> header file. */ 208 #define HAVE_LIBINTL_H 1 209 210 /* Define this value if libxml is available. */ 211 /* !!!#define HAVE_LIBXML 1 */ 212 213 /* Define this value if libyaml is available. */ 214 /* !!!#define HAVE_LIBYAML 1 */ 215 216 /* Define to 1 if you have the <limits.h> header file. */ 217 #define HAVE_LIMITS_H 1 218 219 /* Define to 1 if the system has the type 'long long int'. */ 220 #define HAVE_LONG_LONG_INT 1 221 222 /* Define to 1 if you have the <malloc.h> header file. */ 223 #define HAVE_MALLOC_H 1 224 225 /* Define to 1 if you have the `mblen' function. */ 226 #define HAVE_MBLEN 1 227 228 /* Define to 1 if you have the `mbrtowc' function. */ 229 #define HAVE_MBRTOWC 1 230 231 /* Define to 1 if you have the `mbsinit' function. */ 232 #define HAVE_MBSINIT 1 233 234 /* Define to 1 if <wchar.h> declares mbstate_t. */ 235 #define HAVE_MBSTATE_T 1 236 237 /* Define to 1 if you have the `mbtowc' function. */ 238 #define HAVE_MBTOWC 1 239 240 /* Define to 1 if you have the <memory.h> header file. */ 241 #define HAVE_MEMORY_H 1 242 243 /* Define to 1 if you have the <minix/config.h> header file. */ 244 /* #undef HAVE_MINIX_CONFIG_H */ 245 246 /* Define to 1 if you have the `mkstemp' function. */ 247 #define HAVE_MKSTEMP 1 248 249 /* Define to 1 if you have the `nl_langinfo' function. */ 250 /* #undef HAVE_NL_LANGINFO */ 251 252 /* Define to 1 if you have the `opendir' function. */ 253 #define HAVE_OPENDIR 1 254 255 /* Define if you have the <pthread.h> header and the POSIX threads API. */ 256 #define HAVE_PTHREAD_API 1 257 258 /* Define if the <pthread.h> defines PTHREAD_MUTEX_RECURSIVE. */ 259 #define HAVE_PTHREAD_MUTEX_RECURSIVE 1 260 261 /* Define if the POSIX multithreading library has read/write locks. */ 262 #define HAVE_PTHREAD_RWLOCK 1 263 264 /* Define if the 'pthread_rwlock_rdlock' function prefers a writer to a 265 reader. */ 266 #define HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER 1 267 268 /* Define to 1 if you have the `putenv' function. */ 269 #define HAVE_PUTENV 1 270 271 /* Define to 1 if you have the `scandir' function. */ 272 /* #undef HAVE_SCANDIR */ 273 274 /* Define this value if libseccomp is available. */ 275 /* #undef HAVE_SECCOMP */ 276 277 /* Define to 1 if you have the `setenv' function. */ 278 /* #undef HAVE_SETENV */ 279 280 /* Define to 1 if 'sig_atomic_t' is a signed integer type. */ 281 /* #undef HAVE_SIGNED_SIG_ATOMIC_T */ 282 283 /* Define to 1 if 'wchar_t' is a signed integer type. */ 284 /* #undef HAVE_SIGNED_WCHAR_T */ 285 286 /* Define to 1 if 'wint_t' is a signed integer type. */ 287 /* #undef HAVE_SIGNED_WINT_T */ 288 289 /* Define this macro if compiler supports statement expression non-standard C 290 feature. */ 291 #define HAVE_STATEMENT_EXPRESSION_EXT 1 292 293 /* Define to 1 if you have the <stat.h> header file. */ 294 /* #undef HAVE_STAT_H */ 295 296 /* Define this macro if the field "st_ino" exists in struct stat in 297 <sys/stat.h>. */ 298 /* #undef HAVE_STAT_ST_INO */ 299 300 /* Define to 1 if you have the <stdbool.h> header file. */ 301 #define HAVE_STDBOOL_H 1 302 303 /* Define to 1 if you have the <stdint.h> header file. */ 304 #define HAVE_STDINT_H 1 305 306 /* Define to 1 if you have the <stdlib.h> header file. */ 307 #define HAVE_STDLIB_H 1 308 309 /* Define to 1 if you have the `strcasecmp' function. */ 310 #define HAVE_STRCASECMP 1 311 312 /* Define to 1 if you have the `strerror' function. */ 313 #define HAVE_STRERROR 1 314 315 /* Define to 1 if you have the `stricmp' function. */ 316 /* #undef HAVE_STRICMP */ 317 318 /* Define to 1 if you have the <strings.h> header file. */ 319 #define HAVE_STRINGS_H 1 320 321 /* Define to 1 if you have the <string.h> header file. */ 322 #define HAVE_STRING_H 1 323 324 /* Define to 1 if you have the `strncasecmp' function. */ 325 #define HAVE_STRNCASECMP 1 326 327 /* Define to 1 if you have the `strnicmp' function. */ 328 /* #undef HAVE_STRNICMP */ 329 330 /* Define to 1 if you have the `strstr' function. */ 331 #define HAVE_STRSTR 1 332 333 /* Define to 1 if `decimal_point' is a member of `struct lconv'. */ 334 #define HAVE_STRUCT_LCONV_DECIMAL_POINT 1 335 336 /* Define to 1 if you have the <sys/bitypes.h> header file. */ 337 /* #undef HAVE_SYS_BITYPES_H */ 338 339 /* Define to 1 if you have the <sys/dir.h> header file. */ 340 /* #undef HAVE_SYS_DIR_H */ 341 342 /* Define to 1 if you have the <sys/inttypes.h> header file. */ 343 /* #undef HAVE_SYS_INTTYPES_H */ 344 345 /* Define to 1 if you have the <sys/stat.h> header file. */ 346 #define HAVE_SYS_STAT_H 1 347 348 /* Define to 1 if you have the <sys/types.h> header file. */ 349 #define HAVE_SYS_TYPES_H 1 350 351 /* Define to 1 if you have the <sys/wait.h> header file. */ 352 /* #undef HAVE_SYS_WAIT_H */ 353 354 /* Define to 1 if you have the `tempnam' function. */ 355 /* #undef HAVE_TEMPNAM */ 356 357 /* Define to 1 if you have the `thrd_create' function. */ 358 /* #undef HAVE_THRD_CREATE */ 359 360 /* Define to 1 if you have the <threads.h> header file. */ 361 /* #undef HAVE_THREADS_H */ 362 363 /* Define to 1 if you have the `towlower' function. */ 364 /* #undef HAVE_TOWLOWER */ 365 366 /* Define to 1 if you have the `truncate' function. */ 367 /* !!!#define HAVE_TRUNCATE 1 */ 368 369 /* Define to 1 if typeof works with your compiler. */ 370 #define HAVE_TYPEOF 1 371 372 /* Define to 1 if you have the <types.h> header file. */ 373 /* #undef HAVE_TYPES_H */ 374 375 /* Define to 1 if you have the <unistd.h> header file. */ 376 #define HAVE_UNISTD_H 1 377 378 /* Define to 1 if the system has the type 'unsigned long long int'. */ 379 #define HAVE_UNSIGNED_LONG_LONG_INT 1 380 381 /* Define to 1 or 0, depending whether the compiler supports simple visibility 382 declarations. */ 383 /* #undef HAVE_VISIBILITY */ 384 385 /* Define to 1 if you have the <wchar.h> header file. */ 386 #define HAVE_WCHAR_H 1 387 388 /* Define if you have the 'wchar_t' type. */ 389 #define HAVE_WCHAR_T 1 390 391 /* Define to 1 if you have the `wcrtomb' function. */ 392 #define HAVE_WCRTOMB 1 393 394 /* Define to 1 if you have the <wctype.h> header file. */ 395 #define HAVE_WCTYPE_H 1 396 397 /* Define to 1 if the compiler and linker support weak declarations of 398 symbols. */ 399 /* #undef HAVE_WEAK_SYMBOLS */ 400 401 /* Define if you have the 'wint_t' type. */ 402 #define HAVE_WINT_T 1 403 404 /* Define to 1 if you have the <xlocale.h> header file. */ 405 /* #undef HAVE_XLOCALE_H */ 406 407 /* Define to 1 if the system has the type `_Bool'. */ 408 #define HAVE__BOOL 1 409 410 /* Define to 1 if you have the `_findfirst' function. */ 411 /* #undef HAVE__FINDFIRST */ 412 413 /* Define to 1 if the compiler supports __builtin_expect, 414 and to 2 if <builtins.h> does. */ 415 #define HAVE___BUILTIN_EXPECT 1 416 #ifndef HAVE___BUILTIN_EXPECT 417 # define __builtin_expect(e, c) (e) 418 #elif HAVE___BUILTIN_EXPECT == 2 419 # include <builtins.h> 420 #endif 421 422 423 /* Define to 1 if the compiler supports the keyword '__inline'. */ 424 #define HAVE___INLINE 1 425 426 /* Define this value if the platform uses "lib" as prefix for iconv functions. 427 */ 428 /* #undef ICONV_USE_LIB_PREFIX */ 429 430 /* Define as the maximum integer on your system if not defined <limits.h>. */ 431 /* #undef INT_MAX */ 432 433 /* Define to the appropriate size for tmpnam() if <stdio.h> does not define 434 this. */ 435 /* #undef L_tmpnam */ 436 437 /* Define this label if you want macro tags (defined lables) to use patterns 438 in the EX command by default (original ctags behavior is to use line 439 numbers). */ 440 /* #undef MACROS_USE_PATTERNS */ 441 442 /* If malloc(0) is != NULL, define this to 1. Otherwise define this to 0. */ 443 #define MALLOC_0_IS_NONNULL 1 444 445 /* Define if the mbrtowc function does not return (size_t) -2 for empty input. 446 */ 447 /* #undef MBRTOWC_EMPTY_INPUT_BUG */ 448 449 /* Define if the mbrtowc function may signal encoding errors in the C locale. 450 */ 451 /* #undef MBRTOWC_IN_C_LOCALE_MAYBE_EILSEQ */ 452 453 /* Define if the mbrtowc function has the NULL pwc argument bug. */ 454 /* #undef MBRTOWC_NULL_ARG1_BUG */ 455 456 /* Define if the mbrtowc function has the NULL string argument bug. */ 457 /* #undef MBRTOWC_NULL_ARG2_BUG */ 458 459 /* Define if the mbrtowc function does not return 0 for a NUL character. */ 460 /* #undef MBRTOWC_NUL_RETVAL_BUG */ 461 462 /* Define if the mbrtowc function returns a wrong return value. */ 463 #define MBRTOWC_RETVAL_BUG 1 464 465 /* Define if the mbrtowc function stores a wide character when reporting 466 incomplete input. */ 467 /* #undef MBRTOWC_STORES_INCOMPLETE_BUG */ 468 469 /* Define to 1 if your system uses MS-DOS style path. */ 470 #define MSDOS_STYLE_PATH 1 471 472 /* If you receive error or warning messages indicating that you are missing a 473 prototype for, or a type mismatch using, the following function, define 474 this label and remake. */ 475 /* #undef NEED_PROTO_FTRUNCATE */ 476 477 /* If you receive error or warning messages indicating that you are missing a 478 prototype for, or a type mismatch using, the following function, define 479 this label and remake. */ 480 #define NEED_PROTO_LSTAT 1 481 482 /* If you receive error or warning messages indicating that you are missing a 483 prototype for, or a type mismatch using, the following function, define 484 this label and remake. */ 485 /* #undef NEED_PROTO_STAT */ 486 487 /* If you receive error or warning messages indicating that you are missing a 488 prototype for, or a type mismatch using, the following function, define 489 this label and remake. */ 490 /* #undef NEED_PROTO_TRUNCATE */ 491 492 /* Define to 1 if nl_langinfo is multithread-safe. */ 493 /* #undef NL_LANGINFO_MTSAFE */ 494 495 /* Define this is you have a prototype for putenv() in <stdlib.h>, but doesn't 496 declare its argument as "const char *". */ 497 #define NON_CONST_PUTENV_PROTOTYPE 1 498 499 /* Package name. */ 500 #define PACKAGE "universal-ctags" 501 502 /* Define to the address where bug reports for this package should be sent. */ 503 #define PACKAGE_BUGREPORT "" 504 505 /* Define to the full name of this package. */ 506 #define PACKAGE_NAME "universal-ctags" 507 508 /* Define to the full name and version of this package. */ 509 #define PACKAGE_STRING "universal-ctags 5.9.0" 510 511 /* Define to the one symbol short name of this package. */ 512 #define PACKAGE_TARNAME "universal-ctags" 513 514 /* Define to the home page for this package. */ 515 #define PACKAGE_URL "" 516 517 /* Define to the version of this package. */ 518 #define PACKAGE_VERSION "5.9.0" 519 520 /* Define if the pthread_in_use() detection is hard. */ 521 /* #undef PTHREAD_IN_USE_DETECTION_HARD */ 522 523 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 524 'ptrdiff_t'. */ 525 /* #undef PTRDIFF_T_SUFFIX */ 526 527 /* Define if nl_langinfo exists but is overridden by gnulib. */ 528 /* #undef REPLACE_NL_LANGINFO */ 529 530 /* Define to 1 if setlocale (LC_ALL, NULL) is multithread-safe. */ 531 #define SETLOCALE_NULL_ALL_MTSAFE 1 532 533 /* Define to 1 if setlocale (category, NULL) is multithread-safe. */ 534 #define SETLOCALE_NULL_ONE_MTSAFE 1 535 536 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 537 'sig_atomic_t'. */ 538 /* #undef SIG_ATOMIC_T_SUFFIX */ 539 540 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 541 'size_t'. */ 542 /* #undef SIZE_T_SUFFIX */ 543 544 /* Define to 1 if you have the ANSI C header files. */ 545 #define STDC_HEADERS 1 546 547 /* If you wish to change the directory in which temporary files are stored, 548 define this label to the directory desired. */ 549 #define TMPDIR "/tmp" 550 551 /* Define to 1 when using fnmatch implementation in bundled gnulib. */ 552 #define USE_GNULIB_FNMATCH 553 554 /* Define if the combination of the ISO C and POSIX multithreading APIs can be 555 used. */ 556 /* #undef USE_ISOC_AND_POSIX_THREADS */ 557 558 /* Define if the ISO C multithreading library can be used. */ 559 /* #undef USE_ISOC_THREADS */ 560 561 /* Define if the POSIX multithreading library can be used. */ 562 #define USE_POSIX_THREADS 1 563 564 /* Define if references to the POSIX multithreading library should be made 565 weak. */ 566 /* #undef USE_POSIX_THREADS_WEAK */ 567 568 /* Enable extensions on AIX 3, Interix. */ 569 #ifndef _ALL_SOURCE 570 # define _ALL_SOURCE 1 571 #endif 572 /* Enable general extensions on macOS. */ 573 #ifndef _DARWIN_C_SOURCE 574 # define _DARWIN_C_SOURCE 1 575 #endif 576 /* Enable general extensions on Solaris. */ 577 #ifndef __EXTENSIONS__ 578 # define __EXTENSIONS__ 1 579 #endif 580 /* Enable GNU extensions on systems that have them. */ 581 #ifndef _GNU_SOURCE 582 # define _GNU_SOURCE 1 583 #endif 584 /* Enable X/Open compliant socket functions that do not require linking 585 with -lxnet on HP-UX 11.11. */ 586 #ifndef _HPUX_ALT_XOPEN_SOCKET_API 587 # define _HPUX_ALT_XOPEN_SOCKET_API 1 588 #endif 589 /* Identify the host operating system as Minix. 590 This macro does not affect the system headers' behavior. 591 A future release of Autoconf may stop defining this macro. */ 592 #ifndef _MINIX 593 /* # undef _MINIX */ 594 #endif 595 /* Enable general extensions on NetBSD. 596 Enable NetBSD compatibility extensions on Minix. */ 597 #ifndef _NETBSD_SOURCE 598 # define _NETBSD_SOURCE 1 599 #endif 600 /* Enable OpenBSD compatibility extensions on NetBSD. 601 Oddly enough, this does nothing on OpenBSD. */ 602 #ifndef _OPENBSD_SOURCE 603 # define _OPENBSD_SOURCE 1 604 #endif 605 /* Define to 1 if needed for POSIX-compatible behavior. */ 606 #ifndef _POSIX_SOURCE 607 /* # undef _POSIX_SOURCE */ 608 #endif 609 /* Define to 2 if needed for POSIX-compatible behavior. */ 610 #ifndef _POSIX_1_SOURCE 611 /* # undef _POSIX_1_SOURCE */ 612 #endif 613 /* Enable POSIX-compatible threading on Solaris. */ 614 #ifndef _POSIX_PTHREAD_SEMANTICS 615 # define _POSIX_PTHREAD_SEMANTICS 1 616 #endif 617 /* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ 618 #ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 619 # define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 620 #endif 621 /* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ 622 #ifndef __STDC_WANT_IEC_60559_BFP_EXT__ 623 # define __STDC_WANT_IEC_60559_BFP_EXT__ 1 624 #endif 625 /* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ 626 #ifndef __STDC_WANT_IEC_60559_DFP_EXT__ 627 # define __STDC_WANT_IEC_60559_DFP_EXT__ 1 628 #endif 629 /* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ 630 #ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ 631 # define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 632 #endif 633 /* Enable extensions specified by ISO/IEC TS 18661-3:2015. */ 634 #ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ 635 # define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 636 #endif 637 /* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ 638 #ifndef __STDC_WANT_LIB_EXT2__ 639 # define __STDC_WANT_LIB_EXT2__ 1 640 #endif 641 /* Enable extensions specified by ISO/IEC 24747:2009. */ 642 #ifndef __STDC_WANT_MATH_SPEC_FUNCS__ 643 # define __STDC_WANT_MATH_SPEC_FUNCS__ 1 644 #endif 645 /* Enable extensions on HP NonStop. */ 646 #ifndef _TANDEM_SOURCE 647 # define _TANDEM_SOURCE 1 648 #endif 649 /* Enable X/Open extensions. Define to 500 only if necessary 650 to make mbstate_t available. */ 651 #ifndef _XOPEN_SOURCE 652 /* # undef _XOPEN_SOURCE */ 653 #endif 654 655 656 /* Define if the native Windows multithreading API can be used. */ 657 /* #undef USE_WINDOWS_THREADS */ 658 659 /* Package version. */ 660 #define VERSION "5.9.0" 661 662 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 663 'wchar_t'. */ 664 /* #undef WCHAR_T_SUFFIX */ 665 666 /* Define if the wcrtomb function does not work in the C locale. */ 667 /* #undef WCRTOMB_C_LOCALE_BUG */ 668 669 /* Define if the wcrtomb function has an incorrect return value. */ 670 /* #undef WCRTOMB_RETVAL_BUG */ 671 672 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 673 'wint_t'. */ 674 /* #undef WINT_T_SUFFIX */ 675 676 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most 677 significant byte first (like Motorola and SPARC, unlike Intel). */ 678 #if defined AC_APPLE_UNIVERSAL_BUILD 679 # if defined __BIG_ENDIAN__ 680 # define WORDS_BIGENDIAN 1 681 # endif 682 #else 683 # ifndef WORDS_BIGENDIAN 684 /* # undef WORDS_BIGENDIAN */ 685 # endif 686 #endif 687 688 /* Enable large inode numbers on Mac OS X 10.5. */ 689 #ifndef _DARWIN_USE_64_BIT_INODE 690 # define _DARWIN_USE_64_BIT_INODE 1 691 #endif 692 693 /* Number of bits in a file offset, on hosts where this is settable. */ 694 #define _FILE_OFFSET_BITS 64 695 696 /* True if the compiler says it groks GNU C version MAJOR.MINOR. */ 697 #if defined __GNUC__ && defined __GNUC_MINOR__ 698 # define _GL_GNUC_PREREQ(major, minor) \ 699 ((major) < __GNUC__ + ((minor) <= __GNUC_MINOR__)) 700 #else 701 # define _GL_GNUC_PREREQ(major, minor) 0 702 #endif 703 704 705 /* Define to enable the declarations of ISO C 11 types and functions. */ 706 /* #undef _ISOC11_SOURCE */ 707 708 /* Define for large files, on AIX-style hosts. */ 709 /* #undef _LARGE_FILES */ 710 711 /* Define to 1 on Solaris. */ 712 /* #undef _LCONV_C99 */ 713 714 /* The _Noreturn keyword of C11. */ 715 #ifndef _Noreturn 716 # if (defined __cplusplus \ 717 && ((201103 <= __cplusplus && !(__GNUC__ == 4 && __GNUC_MINOR__ == 7)) \ 718 || (defined _MSC_VER && 1900 <= _MSC_VER)) \ 719 && 0) 720 /* [[noreturn]] is not practically usable, because with it the syntax 721 extern _Noreturn void func (...); 722 would not be valid; such a declaration would only be valid with 'extern' 723 and '_Noreturn' swapped, or without the 'extern' keyword. However, some 724 AIX system header files and several gnulib header files use precisely 725 this syntax with 'extern'. */ 726 # define _Noreturn [[noreturn]] 727 # elif ((!defined __cplusplus || defined __clang__) \ 728 && (201112 <= (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) \ 729 || (!defined __STRICT_ANSI__ \ 730 && (_GL_GNUC_PREREQ (4, 7) \ 731 || (defined __apple_build_version__ \ 732 ? 6000000 <= __apple_build_version__ \ 733 : 3 < __clang_major__ + (5 <= __clang_minor__)))))) 734 /* _Noreturn works as-is. */ 735 # elif _GL_GNUC_PREREQ (2, 8) || defined __clang__ || 0x5110 <= __SUNPRO_C 736 # define _Noreturn __attribute__ ((__noreturn__)) 737 # elif 1200 <= (defined _MSC_VER ? _MSC_VER : 0) 738 # define _Noreturn __declspec (noreturn) 739 # else 740 # define _Noreturn 741 # endif 742 #endif 743 744 745 /* Define if you want <regex.h> to include <limits.h>, so that it consistently 746 overrides <limits.h>'s RE_DUP_MAX. */ 747 #define _REGEX_INCLUDE_LIMITS_H 1 748 749 /* Define if you want regoff_t to be at least as wide POSIX requires. */ 750 #define _REGEX_LARGE_OFFSETS 1 751 752 /* For standard stat data types on VMS. */ 753 #define _USE_STD_STAT 1 754 755 /* Define to 1 if the system <stdint.h> predates C++11. */ 756 /* #undef __STDC_CONSTANT_MACROS */ 757 758 /* Define to 1 if the system <stdint.h> predates C++11. */ 759 /* #undef __STDC_LIMIT_MACROS */ 760 761 /* The _GL_ASYNC_SAFE marker should be attached to functions that are 762 signal handlers (for signals other than SIGABRT, SIGPIPE) or can be 763 invoked from such signal handlers. Such functions have some restrictions: 764 * All functions that it calls should be marked _GL_ASYNC_SAFE as well, 765 or should be listed as async-signal-safe in POSIX 766 <https://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_04> 767 section 2.4.3. Note that malloc(), sprintf(), and fwrite(), in 768 particular, are NOT async-signal-safe. 769 * All memory locations (variables and struct fields) that these functions 770 access must be marked 'volatile'. This holds for both read and write 771 accesses. Otherwise the compiler might optimize away stores to and 772 reads from such locations that occur in the program, depending on its 773 data flow analysis. For example, when the program contains a loop 774 that is intended to inspect a variable set from within a signal handler 775 while (!signal_occurred) 776 ; 777 the compiler is allowed to transform this into an endless loop if the 778 variable 'signal_occurred' is not declared 'volatile'. 779 Additionally, recall that: 780 * A signal handler should not modify errno (except if it is a handler 781 for a fatal signal and ends by raising the same signal again, thus 782 provoking the termination of the process). If it invokes a function 783 that may clobber errno, it needs to save and restore the value of 784 errno. */ 785 #define _GL_ASYNC_SAFE 786 787 788 /* Attributes. */ 789 #if (defined __has_attribute \ 790 && (!defined __clang_minor__ \ 791 || 3 < __clang_major__ + (5 <= __clang_minor__))) 792 # define _GL_HAS_ATTRIBUTE(attr) __has_attribute (__##attr##__) 793 #else 794 # define _GL_HAS_ATTRIBUTE(attr) _GL_ATTR_##attr 795 # define _GL_ATTR_alloc_size _GL_GNUC_PREREQ (4, 3) 796 # define _GL_ATTR_always_inline _GL_GNUC_PREREQ (3, 2) 797 # define _GL_ATTR_artificial _GL_GNUC_PREREQ (4, 3) 798 # define _GL_ATTR_cold _GL_GNUC_PREREQ (4, 3) 799 # define _GL_ATTR_const _GL_GNUC_PREREQ (2, 95) 800 # define _GL_ATTR_deprecated _GL_GNUC_PREREQ (3, 1) 801 # define _GL_ATTR_diagnose_if 0 802 # define _GL_ATTR_error _GL_GNUC_PREREQ (4, 3) 803 # define _GL_ATTR_externally_visible _GL_GNUC_PREREQ (4, 1) 804 # define _GL_ATTR_fallthrough _GL_GNUC_PREREQ (7, 0) 805 # define _GL_ATTR_format _GL_GNUC_PREREQ (2, 7) 806 # define _GL_ATTR_leaf _GL_GNUC_PREREQ (4, 6) 807 # ifdef _ICC 808 # define _GL_ATTR_may_alias 0 809 # else 810 # define _GL_ATTR_may_alias _GL_GNUC_PREREQ (3, 3) 811 # endif 812 # define _GL_ATTR_malloc _GL_GNUC_PREREQ (3, 0) 813 # define _GL_ATTR_noinline _GL_GNUC_PREREQ (3, 1) 814 # define _GL_ATTR_nonnull _GL_GNUC_PREREQ (3, 3) 815 # define _GL_ATTR_nonstring _GL_GNUC_PREREQ (8, 0) 816 # define _GL_ATTR_nothrow _GL_GNUC_PREREQ (3, 3) 817 # define _GL_ATTR_packed _GL_GNUC_PREREQ (2, 7) 818 # define _GL_ATTR_pure _GL_GNUC_PREREQ (2, 96) 819 # define _GL_ATTR_returns_nonnull _GL_GNUC_PREREQ (4, 9) 820 # define _GL_ATTR_sentinel _GL_GNUC_PREREQ (4, 0) 821 # define _GL_ATTR_unused _GL_GNUC_PREREQ (2, 7) 822 # define _GL_ATTR_warn_unused_result _GL_GNUC_PREREQ (3, 4) 823 #endif 824 825 826 #if _GL_HAS_ATTRIBUTE (alloc_size) 827 # define _GL_ATTRIBUTE_ALLOC_SIZE(args) __attribute__ ((__alloc_size__ args)) 828 #else 829 # define _GL_ATTRIBUTE_ALLOC_SIZE(args) 830 #endif 831 832 #if _GL_HAS_ATTRIBUTE (always_inline) 833 # define _GL_ATTRIBUTE_ALWAYS_INLINE __attribute__ ((__always_inline__)) 834 #else 835 # define _GL_ATTRIBUTE_ALWAYS_INLINE 836 #endif 837 838 #if _GL_HAS_ATTRIBUTE (artificial) 839 # define _GL_ATTRIBUTE_ARTIFICIAL __attribute__ ((__artificial__)) 840 #else 841 # define _GL_ATTRIBUTE_ARTIFICIAL 842 #endif 843 844 /* Avoid __attribute__ ((cold)) on MinGW; see thread starting at 845 <https://lists.gnu.org/r/emacs-devel/2019-04/msg01152.html>. 846 Also, Oracle Studio 12.6 requires 'cold' not '__cold__'. */ 847 #if _GL_HAS_ATTRIBUTE (cold) && !defined __MINGW32__ 848 # ifndef __SUNPRO_C 849 # define _GL_ATTRIBUTE_COLD __attribute__ ((__cold__)) 850 # else 851 # define _GL_ATTRIBUTE_COLD __attribute__ ((cold)) 852 # endif 853 #else 854 # define _GL_ATTRIBUTE_COLD 855 #endif 856 857 #if _GL_HAS_ATTRIBUTE (const) 858 # define _GL_ATTRIBUTE_CONST __attribute__ ((__const__)) 859 #else 860 # define _GL_ATTRIBUTE_CONST 861 #endif 862 863 #if 201710L < __STDC_VERSION__ 864 # define _GL_ATTRIBUTE_DEPRECATED [[__deprecated__]] 865 #elif _GL_HAS_ATTRIBUTE (deprecated) 866 # define _GL_ATTRIBUTE_DEPRECATED __attribute__ ((__deprecated__)) 867 #else 868 # define _GL_ATTRIBUTE_DEPRECATED 869 #endif 870 871 #if _GL_HAS_ATTRIBUTE (error) 872 # define _GL_ATTRIBUTE_ERROR(msg) __attribute__ ((__error__ (msg))) 873 # define _GL_ATTRIBUTE_WARNING(msg) __attribute__ ((__warning__ (msg))) 874 #elif _GL_HAS_ATTRIBUTE (diagnose_if) 875 # define _GL_ATTRIBUTE_ERROR(msg) __attribute__ ((__diagnose_if__ (1, msg, "error"))) 876 # define _GL_ATTRIBUTE_WARNING(msg) __attribute__ ((__diagnose_if__ (1, msg, "warning"))) 877 #else 878 # define _GL_ATTRIBUTE_ERROR(msg) 879 # define _GL_ATTRIBUTE_WARNING(msg) 880 #endif 881 882 #if _GL_HAS_ATTRIBUTE (externally_visible) 883 # define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE __attribute__ ((externally_visible)) 884 #else 885 # define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE 886 #endif 887 888 /* FALLTHROUGH is special, because it always expands to something. */ 889 #if 201710L < __STDC_VERSION__ 890 # define _GL_ATTRIBUTE_FALLTHROUGH [[__fallthrough__]] 891 #elif _GL_HAS_ATTRIBUTE (fallthrough) 892 # define _GL_ATTRIBUTE_FALLTHROUGH __attribute__ ((__fallthrough__)) 893 #else 894 # define _GL_ATTRIBUTE_FALLTHROUGH ((void) 0) 895 #endif 896 897 #if _GL_HAS_ATTRIBUTE (format) 898 # define _GL_ATTRIBUTE_FORMAT(spec) __attribute__ ((__format__ spec)) 899 #else 900 # define _GL_ATTRIBUTE_FORMAT(spec) 901 #endif 902 903 #if _GL_HAS_ATTRIBUTE (leaf) 904 # define _GL_ATTRIBUTE_LEAF __attribute__ ((__leaf__)) 905 #else 906 # define _GL_ATTRIBUTE_LEAF 907 #endif 908 909 /* Oracle Studio 12.6 mishandles may_alias despite __has_attribute OK. */ 910 #if _GL_HAS_ATTRIBUTE (may_alias) && !defined __SUNPRO_C 911 # define _GL_ATTRIBUTE_MAY_ALIAS __attribute__ ((__may_alias__)) 912 #else 913 # define _GL_ATTRIBUTE_MAY_ALIAS 914 #endif 915 916 #if 201710L < __STDC_VERSION__ 917 # define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]] 918 #elif _GL_HAS_ATTRIBUTE (unused) 919 # define _GL_ATTRIBUTE_MAYBE_UNUSED __attribute__ ((__unused__)) 920 #else 921 # define _GL_ATTRIBUTE_MAYBE_UNUSED 922 #endif 923 /* Earlier spellings of this macro. */ 924 #define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED 925 #define _UNUSED_PARAMETER_ _GL_ATTRIBUTE_MAYBE_UNUSED 926 927 #if _GL_HAS_ATTRIBUTE (malloc) 928 # define _GL_ATTRIBUTE_MALLOC __attribute__ ((__malloc__)) 929 #else 930 # define _GL_ATTRIBUTE_MALLOC 931 #endif 932 933 #if 201710L < __STDC_VERSION__ 934 # define _GL_ATTRIBUTE_NODISCARD [[__nodiscard__]] 935 #elif _GL_HAS_ATTRIBUTE (warn_unused_result) 936 # define _GL_ATTRIBUTE_NODISCARD __attribute__ ((__warn_unused_result__)) 937 #else 938 # define _GL_ATTRIBUTE_NODISCARD 939 #endif 940 941 #if _GL_HAS_ATTRIBUTE (noinline) 942 # define _GL_ATTRIBUTE_NOINLINE __attribute__ ((__noinline__)) 943 #else 944 # define _GL_ATTRIBUTE_NOINLINE 945 #endif 946 947 #if _GL_HAS_ATTRIBUTE (nonnull) 948 # define _GL_ATTRIBUTE_NONNULL(args) __attribute__ ((__nonnull__ args)) 949 #else 950 # define _GL_ATTRIBUTE_NONNULL(args) 951 #endif 952 953 #if _GL_HAS_ATTRIBUTE (nonstring) 954 # define _GL_ATTRIBUTE_NONSTRING __attribute__ ((__nonstring__)) 955 #else 956 # define _GL_ATTRIBUTE_NONSTRING 957 #endif 958 959 /* There is no _GL_ATTRIBUTE_NORETURN; use _Noreturn instead. */ 960 961 #if _GL_HAS_ATTRIBUTE (nothrow) && !defined __cplusplus 962 # define _GL_ATTRIBUTE_NOTHROW __attribute__ ((__nothrow__)) 963 #else 964 # define _GL_ATTRIBUTE_NOTHROW 965 #endif 966 967 #if _GL_HAS_ATTRIBUTE (packed) 968 # define _GL_ATTRIBUTE_PACKED __attribute__ ((__packed__)) 969 #else 970 # define _GL_ATTRIBUTE_PACKED 971 #endif 972 973 #if _GL_HAS_ATTRIBUTE (pure) 974 # define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__)) 975 #else 976 # define _GL_ATTRIBUTE_PURE 977 #endif 978 979 #if _GL_HAS_ATTRIBUTE (returns_nonnull) 980 # define _GL_ATTRIBUTE_RETURNS_NONNULL __attribute__ ((__returns_nonnull__)) 981 #else 982 # define _GL_ATTRIBUTE_RETURNS_NONNULL 983 #endif 984 985 #if _GL_HAS_ATTRIBUTE (sentinel) 986 # define _GL_ATTRIBUTE_SENTINEL(pos) __attribute__ ((__sentinel__ pos)) 987 #else 988 # define _GL_ATTRIBUTE_SENTINEL(pos) 989 #endif 990 991 992 /* To support C++ as well as C, use _GL_UNUSED_LABEL with trailing ';'. */ 993 #if !defined __cplusplus || _GL_GNUC_PREREQ (4, 5) 994 # define _GL_UNUSED_LABEL _GL_ATTRIBUTE_MAYBE_UNUSED 995 #else 996 # define _GL_UNUSED_LABEL 997 #endif 998 999 1000 /* Define to the appropriate type if <time.h> does not define this. */ 1001 /* #undef clock_t */ 1002 1003 /* Define to empty if `const' does not conform to ANSI C. */ 1004 /* #undef const */ 1005 1006 /* Please see the Gnulib manual for how to use these macros. 1007 1008 Suppress extern inline with HP-UX cc, as it appears to be broken; see 1009 <https://lists.gnu.org/r/bug-texinfo/2013-02/msg00030.html>. 1010 1011 Suppress extern inline with Sun C in standards-conformance mode, as it 1012 mishandles inline functions that call each other. E.g., for 'inline void f 1013 (void) { } inline void g (void) { f (); }', c99 incorrectly complains 1014 'reference to static identifier "f" in extern inline function'. 1015 This bug was observed with Sun C 5.12 SunOS_i386 2011/11/16. 1016 1017 Suppress extern inline (with or without __attribute__ ((__gnu_inline__))) 1018 on configurations that mistakenly use 'static inline' to implement 1019 functions or macros in standard C headers like <ctype.h>. For example, 1020 if isdigit is mistakenly implemented via a static inline function, 1021 a program containing an extern inline function that calls isdigit 1022 may not work since the C standard prohibits extern inline functions 1023 from calling static functions (ISO C 99 section 6.7.4.(3). 1024 This bug is known to occur on: 1025 1026 OS X 10.8 and earlier; see: 1027 https://lists.gnu.org/r/bug-gnulib/2012-12/msg00023.html 1028 1029 DragonFly; see 1030 http://muscles.dragonflybsd.org/bulk/clang-master-potential/20141111_102002/logs/ah-tty-0.3.12.log 1031 1032 FreeBSD; see: 1033 https://lists.gnu.org/r/bug-gnulib/2014-07/msg00104.html 1034 1035 OS X 10.9 has a macro __header_inline indicating the bug is fixed for C and 1036 for clang but remains for g++; see <https://trac.macports.org/ticket/41033>. 1037 Assume DragonFly and FreeBSD will be similar. 1038 1039 GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99 1040 inline semantics, unless -fgnu89-inline is used. It defines a macro 1041 __GNUC_STDC_INLINE__ to indicate this situation or a macro 1042 __GNUC_GNU_INLINE__ to indicate the opposite situation. 1043 GCC 4.2 with -std=c99 or -std=gnu99 implements the GNU C inline 1044 semantics but warns, unless -fgnu89-inline is used: 1045 warning: C99 inline functions are not supported; using GNU89 1046 warning: to disable this warning use -fgnu89-inline or the gnu_inline function attribute 1047 It defines a macro __GNUC_GNU_INLINE__ to indicate this situation. 1048 */ 1049 #if (((defined __APPLE__ && defined __MACH__) \ 1050 || defined __DragonFly__ || defined __FreeBSD__) \ 1051 && (defined __header_inline \ 1052 ? (defined __cplusplus && defined __GNUC_STDC_INLINE__ \ 1053 && ! defined __clang__) \ 1054 : ((! defined _DONT_USE_CTYPE_INLINE_ \ 1055 && (defined __GNUC__ || defined __cplusplus)) \ 1056 || (defined _FORTIFY_SOURCE && 0 < _FORTIFY_SOURCE \ 1057 && defined __GNUC__ && ! defined __cplusplus)))) 1058 # define _GL_EXTERN_INLINE_STDHEADER_BUG 1059 #endif 1060 #if ((__GNUC__ \ 1061 ? defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ \ 1062 : (199901L <= __STDC_VERSION__ \ 1063 && !defined __HP_cc \ 1064 && !defined __PGI \ 1065 && !(defined __SUNPRO_C && __STDC__))) \ 1066 && !defined _GL_EXTERN_INLINE_STDHEADER_BUG) 1067 # define _GL_INLINE inline 1068 # define _GL_EXTERN_INLINE extern inline 1069 # define _GL_EXTERN_INLINE_IN_USE 1070 #elif (2 < __GNUC__ + (7 <= __GNUC_MINOR__) && !defined __STRICT_ANSI__ \ 1071 && !defined _GL_EXTERN_INLINE_STDHEADER_BUG) 1072 # if defined __GNUC_GNU_INLINE__ && __GNUC_GNU_INLINE__ 1073 /* __gnu_inline__ suppresses a GCC 4.2 diagnostic. */ 1074 # define _GL_INLINE extern inline __attribute__ ((__gnu_inline__)) 1075 # else 1076 # define _GL_INLINE extern inline 1077 # endif 1078 # define _GL_EXTERN_INLINE extern 1079 # define _GL_EXTERN_INLINE_IN_USE 1080 #else 1081 # define _GL_INLINE static _GL_UNUSED 1082 # define _GL_EXTERN_INLINE static _GL_UNUSED 1083 #endif 1084 1085 /* In GCC 4.6 (inclusive) to 5.1 (exclusive), 1086 suppress bogus "no previous prototype for 'FOO'" 1087 and "no previous declaration for 'FOO'" diagnostics, 1088 when FOO is an inline function in the header; see 1089 <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54113> and 1090 <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63877>. */ 1091 #if __GNUC__ == 4 && 6 <= __GNUC_MINOR__ 1092 # if defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ 1093 # define _GL_INLINE_HEADER_CONST_PRAGMA 1094 # else 1095 # define _GL_INLINE_HEADER_CONST_PRAGMA \ 1096 _Pragma ("GCC diagnostic ignored \"-Wsuggest-attribute=const\"") 1097 # endif 1098 # define _GL_INLINE_HEADER_BEGIN \ 1099 _Pragma ("GCC diagnostic push") \ 1100 _Pragma ("GCC diagnostic ignored \"-Wmissing-prototypes\"") \ 1101 _Pragma ("GCC diagnostic ignored \"-Wmissing-declarations\"") \ 1102 _GL_INLINE_HEADER_CONST_PRAGMA 1103 # define _GL_INLINE_HEADER_END \ 1104 _Pragma ("GCC diagnostic pop") 1105 #else 1106 # define _GL_INLINE_HEADER_BEGIN 1107 # define _GL_INLINE_HEADER_END 1108 #endif 1109 1110 /* Define to long if <stdio.h> does not define this. */ 1111 /* #undef fpos_t */ 1112 1113 /* Define to `__inline__' or `__inline' if that's what the C compiler 1114 calls it, or to nothing if 'inline' is not supported under any name. */ 1115 #ifndef __cplusplus 1116 /* #undef inline */ 1117 #endif 1118 1119 /* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports 1120 the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of 1121 earlier versions), but does not display it by setting __GNUC_STDC_INLINE__. 1122 __APPLE__ && __MACH__ test for Mac OS X. 1123 __APPLE_CC__ tests for the Apple compiler and its version. 1124 __STDC_VERSION__ tests for the C99 mode. */ 1125 #if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__ 1126 # define __GNUC_STDC_INLINE__ 1 1127 #endif 1128 1129 /* Define to a type if <wchar.h> does not define. */ 1130 /* #undef mbstate_t */ 1131 1132 /* _GL_CMP (n1, n2) performs a three-valued comparison on n1 vs. n2, where 1133 n1 and n2 are expressions without side effects, that evaluate to real 1134 numbers (excluding NaN). 1135 It returns 1136 1 if n1 > n2 1137 0 if n1 == n2 1138 -1 if n1 < n2 1139 The naïve code (n1 > n2 ? 1 : n1 < n2 ? -1 : 0) produces a conditional 1140 jump with nearly all GCC versions up to GCC 10. 1141 This variant (n1 < n2 ? -1 : n1 > n2) produces a conditional with many 1142 GCC versions up to GCC 9. 1143 The better code (n1 > n2) - (n1 < n2) from Hacker's Delight § 2-9 1144 avoids conditional jumps in all GCC versions >= 3.4. */ 1145 #define _GL_CMP(n1, n2) (((n1) > (n2)) - ((n1) < (n2))) 1146 1147 1148 /* Define to `int' if <sys/types.h> does not define. */ 1149 /* #undef mode_t */ 1150 1151 /* Define to `long int' if <sys/types.h> does not define. */ 1152 /* #undef off_t */ 1153 1154 /* Define as a signed integer type capable of holding a process identifier. */ 1155 /* #undef pid_t */ 1156 1157 /* Define to rpl_re_comp if the replacement should be used. */ 1158 #define re_comp rpl_re_comp 1159 1160 /* Define to rpl_re_compile_fastmap if the replacement should be used. */ 1161 #define re_compile_fastmap rpl_re_compile_fastmap 1162 1163 /* Define to rpl_re_compile_pattern if the replacement should be used. */ 1164 #define re_compile_pattern rpl_re_compile_pattern 1165 1166 /* Define to rpl_re_exec if the replacement should be used. */ 1167 #define re_exec rpl_re_exec 1168 1169 /* Define to rpl_re_match if the replacement should be used. */ 1170 #define re_match rpl_re_match 1171 1172 /* Define to rpl_re_match_2 if the replacement should be used. */ 1173 #define re_match_2 rpl_re_match_2 1174 1175 /* Define to rpl_re_search if the replacement should be used. */ 1176 #define re_search rpl_re_search 1177 1178 /* Define to rpl_re_search_2 if the replacement should be used. */ 1179 #define re_search_2 rpl_re_search_2 1180 1181 /* Define to rpl_re_set_registers if the replacement should be used. */ 1182 #define re_set_registers rpl_re_set_registers 1183 1184 /* Define to rpl_re_set_syntax if the replacement should be used. */ 1185 #define re_set_syntax rpl_re_set_syntax 1186 1187 /* Define to rpl_re_syntax_options if the replacement should be used. */ 1188 #define re_syntax_options rpl_re_syntax_options 1189 1190 /* Define to rpl_regcomp if the replacement should be used. */ 1191 #define regcomp rpl_regcomp 1192 1193 /* Define to rpl_regerror if the replacement should be used. */ 1194 #define regerror rpl_regerror 1195 1196 /* Define to rpl_regexec if the replacement should be used. */ 1197 #define regexec rpl_regexec 1198 1199 /* Define to rpl_regfree if the replacement should be used. */ 1200 #define regfree rpl_regfree 1201 1202 /* Define remove to unlink if you have unlink(), but not remove(). */ 1203 /* #undef remove */ 1204 1205 /* Define to the equivalent of the C99 'restrict' keyword, or to 1206 nothing if this is not supported. Do not define if restrict is 1207 supported only directly. */ 1208 #define restrict __restrict__ 1209 /* Work around a bug in older versions of Sun C++, which did not 1210 #define __restrict__ or support _Restrict or __restrict__ 1211 even though the corresponding Sun C compiler ended up with 1212 "#define restrict _Restrict" or "#define restrict __restrict__" 1213 in the previous line. This workaround can be removed once 1214 we assume Oracle Developer Studio 12.5 (2016) or later. */ 1215 #if defined __SUNPRO_CC && !defined __RESTRICT && !defined __restrict__ 1216 # define _Restrict 1217 # define __restrict__ 1218 #endif 1219 1220 /* Define as a signed type of the same size as size_t. */ 1221 /* #undef ssize_t */ 1222 1223 /* Define to __typeof__ if your compiler spells it that way. */ 1224 /* #undef typeof */ 1225