1 /* 2 * Copyright (c) 2021 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16 /* config.h. Generated from config.h.in by configure. */ 17 /* config.h.in. Generated from configure.ac by autoheader. */ 18 19 /* Define to the number of bits in type 'ptrdiff_t'. */ 20 #define BITSIZEOF_PTRDIFF_T 32 21 22 /* Define to the number of bits in type 'sig_atomic_t'. */ 23 #define BITSIZEOF_SIG_ATOMIC_T 32 24 25 /* Define to the number of bits in type 'size_t'. */ 26 #define BITSIZEOF_SIZE_T 32 27 28 /* Define to the number of bits in type 'wchar_t'. */ 29 #define BITSIZEOF_WCHAR_T 32 30 31 /* Define to the number of bits in type 'wint_t'. */ 32 #define BITSIZEOF_WINT_T 32 33 34 /* Define if mono is the preferred C# implementation. */ 35 /* #undef CSHARP_CHOICE_MONO */ 36 37 /* Define to 1 if using 'alloca.c'. */ 38 /* #undef C_ALLOCA */ 39 40 /* Define to 1 if // is a file system root distinct from /. */ 41 /* #undef DOUBLE_SLASH_IS_DISTINCT_ROOT */ 42 43 /* Define to 1 if translation of program messages to the user's native 44 language is requested. */ 45 #define ENABLE_NLS 1 46 47 /* Define to 1 if the package shall run at any location in the file system. */ 48 /* #undef ENABLE_RELOCATABLE */ 49 50 /* Define this to 1 if F_DUPFD behavior does not match POSIX */ 51 /* #undef FCNTL_DUPFD_BUGGY */ 52 53 /* Define to nothing if C supports flexible array members, and to 1 if it does 54 not. That way, with a declaration like 'struct s { int n; short 55 d[FLEXIBLE_ARRAY_MEMBER]; };', the struct hack can be used with pre-C99 56 compilers. Use 'FLEXSIZEOF (struct s, d, N * sizeof (short))' to calculate 57 the size in bytes of such a struct containing an N-element array. */ 58 #define FLEXIBLE_ARRAY_MEMBER /**/ 59 60 /* Define to 1 if realpath() can malloc memory, always gives an absolute path, 61 and handles a trailing slash correctly. */ 62 /* #undef FUNC_REALPATH_NEARLY_WORKS */ 63 64 /* Define to 1 if realpath() can malloc memory, always gives an absolute path, 65 and handles leading slashes and a trailing slash correctly. */ 66 /* #undef FUNC_REALPATH_WORKS */ 67 68 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 69 whether the gnulib module canonicalize-lgpl shall be considered present. */ 70 #define GNULIB_CANONICALIZE_LGPL 1 71 72 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 73 whether the gnulib module fscanf shall be considered present. */ 74 #define GNULIB_FSCANF 1 75 76 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 77 whether the gnulib module fwriteerror shall be considered present. */ 78 #define GNULIB_FWRITEERROR 1 79 80 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 81 whether the gnulib module lock shall be considered present. */ 82 #define GNULIB_LOCK 1 83 84 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 85 whether the gnulib module msvc-nothrow shall be considered present. */ 86 #define GNULIB_MSVC_NOTHROW 1 87 88 /* Define to 1 if printf and friends should be labeled with attribute 89 "__gnu_printf__" instead of "__printf__" */ 90 /* #undef GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU */ 91 92 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 93 whether the gnulib module scanf shall be considered present. */ 94 #define GNULIB_SCANF 1 95 96 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 97 whether the gnulib module sigpipe shall be considered present. */ 98 #define GNULIB_SIGPIPE 1 99 100 /* Define to 1 if you want the FILE stream functions getc, putc, etc. to use 101 unlocked I/O if available, throughout the package. Unlocked I/O can improve 102 performance, sometimes dramatically. But unlocked I/O is safe only in 103 single-threaded programs, as well as in multithreaded programs for which 104 you can guarantee that every FILE stream, including stdin, stdout, stderr, 105 is used only in a single thread. */ 106 #define GNULIB_STDIO_SINGLE_THREAD 1 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 #define GNULIB_STRERROR 1 111 112 /* Define to 1 when the gnulib module canonicalize_file_name should be tested. 113 */ 114 #define GNULIB_TEST_CANONICALIZE_FILE_NAME 1 115 116 /* Define to 1 when the gnulib module cloexec should be tested. */ 117 #define GNULIB_TEST_CLOEXEC 1 118 119 /* Define to 1 when the gnulib module close should be tested. */ 120 #define GNULIB_TEST_CLOSE 1 121 122 /* Define to 1 when the gnulib module dup2 should be tested. */ 123 #define GNULIB_TEST_DUP2 1 124 125 /* Define to 1 when the gnulib module environ should be tested. */ 126 #define GNULIB_TEST_ENVIRON 1 127 128 /* Define to 1 when the gnulib module fcntl should be tested. */ 129 #define GNULIB_TEST_FCNTL 1 130 131 /* Define to 1 when the gnulib module fgetc should be tested. */ 132 #define GNULIB_TEST_FGETC 1 133 134 /* Define to 1 when the gnulib module fgets should be tested. */ 135 #define GNULIB_TEST_FGETS 1 136 137 /* Define to 1 when the gnulib module fprintf should be tested. */ 138 #define GNULIB_TEST_FPRINTF 1 139 140 /* Define to 1 when the gnulib module fputc should be tested. */ 141 #define GNULIB_TEST_FPUTC 1 142 143 /* Define to 1 when the gnulib module fputs should be tested. */ 144 #define GNULIB_TEST_FPUTS 1 145 146 /* Define to 1 when the gnulib module fread should be tested. */ 147 #define GNULIB_TEST_FREAD 1 148 149 /* Define to 1 when the gnulib module free-posix should be tested. */ 150 #define GNULIB_TEST_FREE_POSIX 1 151 152 /* Define to 1 when the gnulib module fscanf should be tested. */ 153 #define GNULIB_TEST_FSCANF 1 154 155 /* Define to 1 when the gnulib module fstat should be tested. */ 156 #define GNULIB_TEST_FSTAT 1 157 158 /* Define to 1 when the gnulib module fwrite should be tested. */ 159 #define GNULIB_TEST_FWRITE 1 160 161 /* Define to 1 when the gnulib module getc should be tested. */ 162 #define GNULIB_TEST_GETC 1 163 164 /* Define to 1 when the gnulib module getchar should be tested. */ 165 #define GNULIB_TEST_GETCHAR 1 166 167 /* Define to 1 when the gnulib module getdtablesize should be tested. */ 168 #define GNULIB_TEST_GETDTABLESIZE 1 169 170 /* Define to 1 when the gnulib module getopt-posix should be tested. */ 171 #define GNULIB_TEST_GETOPT_POSIX 1 172 173 /* Define to 1 when the gnulib module iswblank should be tested. */ 174 #define GNULIB_TEST_ISWBLANK 1 175 176 /* Define to 1 when the gnulib module iswdigit should be tested. */ 177 #define GNULIB_TEST_ISWDIGIT 1 178 179 /* Define to 1 when the gnulib module iswxdigit should be tested. */ 180 #define GNULIB_TEST_ISWXDIGIT 1 181 182 /* Define to 1 when the gnulib module localename should be tested. */ 183 #define GNULIB_TEST_LOCALENAME 1 184 185 /* Define to 1 when the gnulib module malloc-posix should be tested. */ 186 #define GNULIB_TEST_MALLOC_POSIX 1 187 188 /* Define to 1 when the gnulib module mbrtowc should be tested. */ 189 #define GNULIB_TEST_MBRTOWC 1 190 191 /* Define to 1 when the gnulib module mbsinit should be tested. */ 192 #define GNULIB_TEST_MBSINIT 1 193 194 /* Define to 1 when the gnulib module mbslen should be tested. */ 195 #define GNULIB_TEST_MBSLEN 1 196 197 /* Define to 1 when the gnulib module mbsstr should be tested. */ 198 #define GNULIB_TEST_MBSSTR 1 199 200 /* Define to 1 when the gnulib module memchr should be tested. */ 201 #define GNULIB_TEST_MEMCHR 1 202 203 /* Define to 1 when the gnulib module mempcpy should be tested. */ 204 #define GNULIB_TEST_MEMPCPY 1 205 206 /* Define to 1 when the gnulib module open should be tested. */ 207 #define GNULIB_TEST_OPEN 1 208 209 /* Define to 1 when the gnulib module printf should be tested. */ 210 #define GNULIB_TEST_PRINTF 1 211 212 /* Define to 1 when the gnulib module putc should be tested. */ 213 #define GNULIB_TEST_PUTC 1 214 215 /* Define to 1 when the gnulib module putchar should be tested. */ 216 #define GNULIB_TEST_PUTCHAR 1 217 218 /* Define to 1 when the gnulib module puts should be tested. */ 219 #define GNULIB_TEST_PUTS 1 220 221 /* Define to 1 when the gnulib module raise should be tested. */ 222 #define GNULIB_TEST_RAISE 1 223 224 /* Define to 1 when the gnulib module rawmemchr should be tested. */ 225 #define GNULIB_TEST_RAWMEMCHR 1 226 227 /* Define to 1 when the gnulib module readlink should be tested. */ 228 #define GNULIB_TEST_READLINK 1 229 230 /* Define to 1 when the gnulib module realloc-posix should be tested. */ 231 #define GNULIB_TEST_REALLOC_POSIX 1 232 233 /* Define to 1 when the gnulib module realpath should be tested. */ 234 #define GNULIB_TEST_REALPATH 1 235 236 /* Define to 1 when the gnulib module scanf should be tested. */ 237 #define GNULIB_TEST_SCANF 1 238 239 /* Define to 1 when the gnulib module setlocale should be tested. */ 240 #define GNULIB_TEST_SETLOCALE 1 241 242 /* Define to 1 when the gnulib module setlocale_null should be tested. */ 243 #define GNULIB_TEST_SETLOCALE_NULL 1 244 245 /* Define to 1 when the gnulib module sigprocmask should be tested. */ 246 #define GNULIB_TEST_SIGPROCMASK 1 247 248 /* Define to 1 when the gnulib module stat should be tested. */ 249 #define GNULIB_TEST_STAT 1 250 251 /* Define to 1 when the gnulib module strerror should be tested. */ 252 #define GNULIB_TEST_STRERROR 1 253 254 /* Define to 1 when the gnulib module strnlen should be tested. */ 255 #define GNULIB_TEST_STRNLEN 1 256 257 /* Define to 1 when the gnulib module strtoul should be tested. */ 258 #define GNULIB_TEST_STRTOUL 1 259 260 /* Define to 1 when the gnulib module vfprintf should be tested. */ 261 #define GNULIB_TEST_VFPRINTF 1 262 263 /* Define to 1 when the gnulib module vprintf should be tested. */ 264 #define GNULIB_TEST_VPRINTF 1 265 266 /* Define to 1 when the gnulib module wcwidth should be tested. */ 267 #define GNULIB_TEST_WCWIDTH 1 268 269 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 270 whether the gnulib module unistr/u8-mbtoucr shall be considered present. */ 271 #define GNULIB_UNISTR_U8_MBTOUCR 1 272 273 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 274 whether the gnulib module unistr/u8-uctomb shall be considered present. */ 275 #define GNULIB_UNISTR_U8_UCTOMB 1 276 277 /* Define to 1 if you have 'alloca' after including <alloca.h>, a header that 278 may be supplied by this distribution. */ 279 #define HAVE_ALLOCA 1 280 281 /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix). 282 */ 283 #define HAVE_ALLOCA_H 1 284 285 /* Define to 1 if you have the `asprintf' function. */ 286 #define HAVE_ASPRINTF 1 287 288 /* Define to 1 if you have the `atexit' function. */ 289 #define HAVE_ATEXIT 1 290 291 /* Define to 1 if you have the <bp-sym.h> header file. */ 292 /* #undef HAVE_BP_SYM_H */ 293 294 /* Define to 1 if the compiler understands __builtin_expect. */ 295 #define HAVE_BUILTIN_EXPECT 1 296 297 /* Define to 1 if you have the `canonicalize_file_name' function. */ 298 /* #undef HAVE_CANONICALIZE_FILE_NAME */ 299 300 /* Define to 1 if you have the Mac OS X function 301 CFLocaleCopyPreferredLanguages in the CoreFoundation framework. */ 302 /* #undef HAVE_CFLOCALECOPYPREFERREDLANGUAGES */ 303 304 /* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in 305 the CoreFoundation framework. */ 306 /* #undef HAVE_CFPREFERENCESCOPYAPPVALUE */ 307 308 /* Define to 1 if you have the `copy_file_range' function. */ 309 /* #undef HAVE_COPY_FILE_RANGE */ 310 311 /* Define to 1 if you have the <crtdefs.h> header file. */ 312 /* #undef HAVE_CRTDEFS_H */ 313 314 /* Define if the GNU dcgettext() function is already present or preinstalled. 315 */ 316 /* #undef HAVE_DCGETTEXT */ 317 318 /* Define to 1 if you have the declaration of `clearerr_unlocked', and to 0 if 319 you don't. */ 320 #define HAVE_DECL_CLEARERR_UNLOCKED 0 321 322 /* Define to 1 if you have the declaration of `ecvt', and to 0 if you don't. 323 */ 324 #define HAVE_DECL_ECVT 0 325 326 /* Define to 1 if you have the declaration of `execvpe', and to 0 if you 327 don't. */ 328 #define HAVE_DECL_EXECVPE 1 329 330 /* Define to 1 if you have the declaration of `fcloseall', and to 0 if you 331 don't. */ 332 #define HAVE_DECL_FCLOSEALL 0 333 334 /* Define to 1 if you have the declaration of `fcvt', and to 0 if you don't. 335 */ 336 #define HAVE_DECL_FCVT 0 337 338 /* Define to 1 if you have the declaration of `feof_unlocked', and to 0 if you 339 don't. */ 340 #define HAVE_DECL_FEOF_UNLOCKED 0 341 342 /* Define to 1 if you have the declaration of `ferror_unlocked', and to 0 if 343 you don't. */ 344 #define HAVE_DECL_FERROR_UNLOCKED 0 345 346 /* Define to 1 if you have the declaration of `fflush_unlocked', and to 0 if 347 you don't. */ 348 #define HAVE_DECL_FFLUSH_UNLOCKED 0 349 350 /* Define to 1 if you have the declaration of `fgets_unlocked', and to 0 if 351 you don't. */ 352 #define HAVE_DECL_FGETS_UNLOCKED 0 353 354 /* Define to 1 if you have the declaration of `fputc_unlocked', and to 0 if 355 you don't. */ 356 #define HAVE_DECL_FPUTC_UNLOCKED 0 357 358 /* Define to 1 if you have the declaration of `fputs_unlocked', and to 0 if 359 you don't. */ 360 #define HAVE_DECL_FPUTS_UNLOCKED 0 361 362 /* Define to 1 if you have the declaration of `fread_unlocked', and to 0 if 363 you don't. */ 364 #define HAVE_DECL_FREAD_UNLOCKED 0 365 366 /* Define to 1 if you have the declaration of `fwrite_unlocked', and to 0 if 367 you don't. */ 368 #define HAVE_DECL_FWRITE_UNLOCKED 0 369 370 /* Define to 1 if you have the declaration of `gcvt', and to 0 if you don't. 371 */ 372 #define HAVE_DECL_GCVT 0 373 374 /* Define to 1 if you have the declaration of `getchar_unlocked', and to 0 if 375 you don't. */ 376 #define HAVE_DECL_GETCHAR_UNLOCKED 1 377 378 /* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you 379 don't. */ 380 #define HAVE_DECL_GETC_UNLOCKED 1 381 382 /* Define to 1 if you have the declaration of `getdtablesize', and to 0 if you 383 don't. */ 384 #define HAVE_DECL_GETDTABLESIZE 0 385 386 /* Define to 1 if you have the declaration of `iswblank', and to 0 if you 387 don't. */ 388 #define HAVE_DECL_ISWBLANK 1 389 390 /* Define to 1 if you have the declaration of `mbrtowc', and to 0 if you 391 don't. */ 392 /* #undef HAVE_DECL_MBRTOWC */ 393 394 /* Define to 1 if you have the declaration of `mbsinit', and to 0 if you 395 don't. */ 396 /* #undef HAVE_DECL_MBSINIT */ 397 398 /* Define to 1 if you have the declaration of `program_invocation_name', and 399 to 0 if you don't. */ 400 #define HAVE_DECL_PROGRAM_INVOCATION_NAME 0 401 402 /* Define to 1 if you have the declaration of `program_invocation_short_name', 403 and to 0 if you don't. */ 404 #define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME 0 405 406 /* Define to 1 if you have the declaration of `putchar_unlocked', and to 0 if 407 you don't. */ 408 #define HAVE_DECL_PUTCHAR_UNLOCKED 1 409 410 /* Define to 1 if you have the declaration of `putc_unlocked', and to 0 if you 411 don't. */ 412 #define HAVE_DECL_PUTC_UNLOCKED 1 413 414 /* Define to 1 if you have the declaration of `setenv', and to 0 if you don't. 415 */ 416 #define HAVE_DECL_SETENV 1 417 418 /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you 419 don't. */ 420 #define HAVE_DECL_STRERROR_R 1 421 422 /* Define to 1 if you have the declaration of `strnlen', and to 0 if you 423 don't. */ 424 #define HAVE_DECL_STRNLEN 1 425 426 /* Define to 1 if you have the declaration of `towlower', and to 0 if you 427 don't. */ 428 /* #undef HAVE_DECL_TOWLOWER */ 429 430 /* Define to 1 if you have the declaration of `wcsdup', and to 0 if you don't. 431 */ 432 #define HAVE_DECL_WCSDUP 1 433 434 /* Define to 1 if you have the declaration of `wcwidth', and to 0 if you 435 don't. */ 436 #define HAVE_DECL_WCWIDTH 1 437 438 /* Define to 1 if you have the declaration of `_snprintf', and to 0 if you 439 don't. */ 440 #define HAVE_DECL__SNPRINTF 0 441 442 /* Define to 1 if you have the declaration of `_snwprintf', and to 0 if you 443 don't. */ 444 #define HAVE_DECL__SNWPRINTF 0 445 446 /* Define to 1 if you have the declaration of `__argv', and to 0 if you don't. 447 */ 448 #define HAVE_DECL___ARGV 0 449 450 /* Define to 1 if you have the <dlfcn.h> header file. */ 451 #define HAVE_DLFCN_H 1 452 453 /* Define to 1 if you have the `duplocale' function. */ 454 #define HAVE_DUPLOCALE 1 455 456 /* Define if you have the declaration of environ. */ 457 #define HAVE_ENVIRON_DECL 1 458 459 /* Define to 1 if you have the `faccessat' function. */ 460 #define HAVE_FACCESSAT 1 461 462 /* Define if the locale_t type contains insufficient information, as on 463 OpenBSD. */ 464 /* #undef HAVE_FAKE_LOCALES */ 465 466 /* Define to 1 if you have the `fcntl' function. */ 467 #define HAVE_FCNTL 1 468 469 /* Define to 1 if you have the <features.h> header file. */ 470 #define HAVE_FEATURES_H 1 471 472 /* Define to 1 if you have the `freelocale' function. */ 473 #define HAVE_FREELOCALE 1 474 475 /* Define if the 'free' function is guaranteed to preserve errno. */ 476 /* #undef HAVE_FREE_POSIX */ 477 478 /* Define to 1 if you have the `getcwd' function. */ 479 #define HAVE_GETCWD 1 480 481 /* Define to 1 if you have the `getdtablesize' function. */ 482 /* #undef HAVE_GETDTABLESIZE */ 483 484 /* Define to 1 if you have the `getegid' function. */ 485 #define HAVE_GETEGID 1 486 487 /* Define to 1 if you have the `geteuid' function. */ 488 #define HAVE_GETEUID 1 489 490 /* Define to 1 if you have the `getexecname' function. */ 491 /* #undef HAVE_GETEXECNAME */ 492 493 /* Define to 1 if you have the `getgid' function. */ 494 #define HAVE_GETGID 1 495 496 /* Define to 1 if you have the `getlocalename_l' function. */ 497 /* #undef HAVE_GETLOCALENAME_L */ 498 499 /* Define to 1 if you have the <getopt.h> header file. */ 500 #define HAVE_GETOPT_H 1 501 502 /* Define to 1 if you have the `getopt_long_only' function. */ 503 #define HAVE_GETOPT_LONG_ONLY 1 504 505 /* Define to 1 if you have the `getpagesize' function. */ 506 #define HAVE_GETPAGESIZE 1 507 508 /* Define to 1 if you have the `getprogname' function. */ 509 #define HAVE_GETPROGNAME 1 510 511 /* Define if the GNU gettext() function is already present or preinstalled. */ 512 /* #undef HAVE_GETTEXT */ 513 514 /* Define to 1 if you have the `getuid' function. */ 515 #define HAVE_GETUID 1 516 517 /* Define if the uselocale exists, may be safely called, and returns 518 sufficient information. */ 519 /* #undef HAVE_GOOD_USELOCALE */ 520 521 /* Define if you have the iconv() function and it works. */ 522 #define HAVE_ICONV 1 523 524 /* Define to 1 if you have the <iconv.h> header file. */ 525 /* #undef HAVE_ICONV_H */ 526 527 /* Define to 1 if the compiler supports one of the keywords 'inline', 528 '__inline__', '__inline' and effectively inlines functions marked as such. 529 */ 530 #define HAVE_INLINE 1 531 532 /* Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>. */ 533 #define HAVE_INTMAX_T 1 534 535 /* Define to 1 if you have the <inttypes.h> header file. */ 536 #define HAVE_INTTYPES_H 1 537 538 /* Define if <inttypes.h> exists, doesn't clash with <sys/types.h>, and 539 declares uintmax_t. */ 540 #define HAVE_INTTYPES_H_WITH_UINTMAX 1 541 542 /* Define to 1 if you have the `iswblank' function. */ 543 #define HAVE_ISWBLANK 1 544 545 /* Define to 1 if you have the `iswcntrl' function. */ 546 #define HAVE_ISWCNTRL 1 547 548 /* Define if you have <langinfo.h> and nl_langinfo(CODESET). */ 549 /* #undef HAVE_LANGINFO_CODESET */ 550 551 /* Define to 1 if you have the <langinfo.h> header file. */ 552 /* #undef HAVE_LANGINFO_H */ 553 554 /* Define if your <locale.h> file defines LC_MESSAGES. */ 555 #define HAVE_LC_MESSAGES 1 556 557 /* Define to 1 if you have the <limits.h> header file. */ 558 #define HAVE_LIMITS_H 1 559 560 /* Define to 1 if the system has the type 'long long int'. */ 561 #define HAVE_LONG_LONG_INT 1 562 563 /* Define to 1 if you have the `lstat' function. */ 564 #define HAVE_LSTAT 1 565 566 /* Define to 1 if you have the <mach-o/dyld.h> header file. */ 567 /* #undef HAVE_MACH_O_DYLD_H */ 568 569 /* Define if malloc, realloc, and calloc set errno on allocation failure. */ 570 #define HAVE_MALLOC_POSIX 1 571 572 /* Define to 1 if mmap()'s MAP_ANONYMOUS flag is available after including 573 config.h and <sys/mman.h>. */ 574 #define HAVE_MAP_ANONYMOUS 1 575 576 /* Define to 1 if you have the `mbrtowc' function. */ 577 #define HAVE_MBRTOWC 1 578 579 /* Define to 1 if you have the `mbsinit' function. */ 580 #define HAVE_MBSINIT 1 581 582 /* Define to 1 if you have the `mbslen' function. */ 583 /* #undef HAVE_MBSLEN */ 584 585 /* Define to 1 if <wchar.h> declares mbstate_t. */ 586 #define HAVE_MBSTATE_T 1 587 588 /* Define to 1 if you have the `memmove' function. */ 589 #define HAVE_MEMMOVE 1 590 591 /* Define to 1 if you have the <memory.h> header file. */ 592 #define HAVE_MEMORY_H 1 593 594 /* Define to 1 if you have the `mempcpy' function. */ 595 /* #undef HAVE_MEMPCPY */ 596 #define HAVE_MEMPCPY 1 597 598 /* Define to 1 if you have the <minix/config.h> header file. */ 599 /* #undef HAVE_MINIX_CONFIG_H */ 600 601 /* Define to 1 if <limits.h> defines the MIN and MAX macros. */ 602 /* #undef HAVE_MINMAX_IN_LIMITS_H */ 603 604 /* Define to 1 if <sys/param.h> defines the MIN and MAX macros. */ 605 #define HAVE_MINMAX_IN_SYS_PARAM_H 1 606 607 /* Define to 1 if you have a working `mmap' system call. */ 608 /* #undef HAVE_MMAP */ 609 610 /* Define to 1 if you have the `mprotect' function. */ 611 #define HAVE_MPROTECT 1 612 613 /* Define to 1 on MSVC platforms that have the "invalid parameter handler" 614 concept. */ 615 /* #undef HAVE_MSVC_INVALID_PARAMETER_HANDLER */ 616 617 /* Define to 1 if you have the `munmap' function. */ 618 #define HAVE_MUNMAP 1 619 620 /* Define if the locale_t type does not contain the name of each locale 621 category. */ 622 /* #undef HAVE_NAMELESS_LOCALES */ 623 624 /* Define to 1 if you have the `newlocale' function. */ 625 #define HAVE_NEWLOCALE 1 626 627 /* Define if your printf() function supports format strings with positions. */ 628 #define HAVE_POSIX_PRINTF 1 629 630 /* Define if you have the <pthread.h> header and the POSIX threads API. */ 631 #define HAVE_PTHREAD_API 1 632 633 /* Define if the <pthread.h> defines PTHREAD_MUTEX_RECURSIVE. */ 634 #define HAVE_PTHREAD_MUTEX_RECURSIVE 1 635 636 /* Define if the POSIX multithreading library has read/write locks. */ 637 #define HAVE_PTHREAD_RWLOCK 1 638 639 /* Define if the 'pthread_rwlock_rdlock' function prefers a writer to a 640 reader. */ 641 /* #undef HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER */ 642 643 /* Define to 1 if you have the `putenv' function. */ 644 #define HAVE_PUTENV 1 645 646 /* Define to 1 if you have the `raise' function. */ 647 #define HAVE_RAISE 1 648 649 /* Define to 1 if you have the `rawmemchr' function. */ 650 /* #undef HAVE_RAWMEMCHR */ 651 652 /* Define to 1 if you have the `readlink' function. */ 653 #define HAVE_READLINK 1 654 655 /* Define to 1 if you have the `readlinkat' function. */ 656 #define HAVE_READLINKAT 1 657 658 /* Define to 1 if you have the `realpath' function. */ 659 #define HAVE_REALPATH 1 660 661 /* Define to 1 if you have the <sdkddkver.h> header file. */ 662 /* #undef HAVE_SDKDDKVER_H */ 663 664 /* Define to 1 if you have the <search.h> header file. */ 665 #define HAVE_SEARCH_H 1 666 667 /* Define to 1 if you have the `setdtablesize' function. */ 668 /* #undef HAVE_SETDTABLESIZE */ 669 670 /* Define to 1 if you have the `setenv' function. */ 671 #define HAVE_SETENV 1 672 673 /* Define to 1 if you have the `setlocale' function. */ 674 #define HAVE_SETLOCALE 1 675 676 /* Define to 1 if 'sig_atomic_t' is a signed integer type. */ 677 #define HAVE_SIGNED_SIG_ATOMIC_T 1 678 679 /* Define to 1 if 'wchar_t' is a signed integer type. */ 680 /* #undef HAVE_SIGNED_WCHAR_T */ 681 682 /* Define to 1 if 'wint_t' is a signed integer type. */ 683 /* #undef HAVE_SIGNED_WINT_T */ 684 685 /* Define to 1 if the system has the type `sigset_t'. */ 686 #define HAVE_SIGSET_T 1 687 688 /* Define to 1 if you have the `snprintf' function. */ 689 #define HAVE_SNPRINTF 1 690 691 /* Define if the locale_t type is as on Solaris 11.4. */ 692 /* #undef HAVE_SOLARIS114_LOCALES */ 693 694 /* Define to 1 if you have the <stddef.h> header file. */ 695 #define HAVE_STDDEF_H 1 696 697 /* Define to 1 if you have the <stdint.h> header file. */ 698 #define HAVE_STDINT_H 1 699 700 /* Define if <stdint.h> exists, doesn't clash with <sys/types.h>, and declares 701 uintmax_t. */ 702 #define HAVE_STDINT_H_WITH_UINTMAX 1 703 704 /* Define to 1 if you have the <stdlib.h> header file. */ 705 #define HAVE_STDLIB_H 1 706 707 /* Define to 1 if you have the `stpcpy' function. */ 708 #define HAVE_STPCPY 1 709 710 /* Define to 1 if you have the `strcasecmp' function. */ 711 #define HAVE_STRCASECMP 1 712 713 /* Define to 1 if you have the `strdup' function. */ 714 #define HAVE_STRDUP 1 715 716 /* Define to 1 if you have the `strerror_r' function. */ 717 #define HAVE_STRERROR_R 1 718 719 /* Define to 1 if you have the <strings.h> header file. */ 720 #define HAVE_STRINGS_H 1 721 722 /* Define to 1 if you have the <string.h> header file. */ 723 #define HAVE_STRING_H 1 724 725 /* Define to 1 if you have the `strnlen' function. */ 726 #define HAVE_STRNLEN 1 727 728 /* Define to 1 if you have the `strtoul' function. */ 729 #define HAVE_STRTOUL 1 730 731 /* Define to 1 if `st_atimensec' is a member of `struct stat'. */ 732 #define HAVE_STRUCT_STAT_ST_ATIMENSEC 1 733 734 /* Define to 1 if `st_atimespec.tv_nsec' is a member of `struct stat'. */ 735 /* #undef HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC */ 736 737 /* Define to 1 if `st_atim.st__tim.tv_nsec' is a member of `struct stat'. */ 738 /* #undef HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC */ 739 740 /* Define to 1 if `st_atim.tv_nsec' is a member of `struct stat'. */ 741 /* #undef HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC */ 742 743 /* Define to 1 if `st_birthtimensec' is a member of `struct stat'. */ 744 /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC */ 745 746 /* Define to 1 if `st_birthtimespec.tv_nsec' is a member of `struct stat'. */ 747 /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC */ 748 749 /* Define to 1 if `st_birthtim.tv_nsec' is a member of `struct stat'. */ 750 /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIM_TV_NSEC */ 751 752 /* Define to 1 if you have the `symlink' function. */ 753 #define HAVE_SYMLINK 1 754 755 /* Define to 1 if you have the <sys/bitypes.h> header file. */ 756 /* #undef HAVE_SYS_BITYPES_H */ 757 758 /* Define to 1 if you have the <sys/cdefs.h> header file. */ 759 #define HAVE_SYS_CDEFS_H 1 760 761 /* Define to 1 if you have the <sys/inttypes.h> header file. */ 762 /* #undef HAVE_SYS_INTTYPES_H */ 763 764 /* Define to 1 if you have the <sys/mman.h> header file. */ 765 #define HAVE_SYS_MMAN_H 1 766 767 /* Define to 1 if you have the <sys/param.h> header file. */ 768 #define HAVE_SYS_PARAM_H 1 769 770 /* Define to 1 if you have the <sys/single_threaded.h> header file. */ 771 /* #undef HAVE_SYS_SINGLE_THREADED_H */ 772 773 /* Define to 1 if you have the <sys/socket.h> header file. */ 774 #define HAVE_SYS_SOCKET_H 1 775 776 /* Define to 1 if you have the <sys/stat.h> header file. */ 777 #define HAVE_SYS_STAT_H 1 778 779 /* Define to 1 if you have the <sys/time.h> header file. */ 780 #define HAVE_SYS_TIME_H 1 781 782 /* Define to 1 if you have the <sys/types.h> header file. */ 783 #define HAVE_SYS_TYPES_H 1 784 785 /* Define to 1 if you have the `thrd_create' function. */ 786 /* #undef HAVE_THRD_CREATE */ 787 788 /* Define to 1 if you have the <threads.h> header file. */ 789 /* #undef HAVE_THREADS_H */ 790 791 /* Define to 1 if you have the `towlower' function. */ 792 #define HAVE_TOWLOWER 1 793 794 /* Define to 1 if you have the `tsearch' function. */ 795 #define HAVE_TSEARCH 1 796 797 /* Define if you have the 'uintmax_t' type in <stdint.h> or <inttypes.h>. */ 798 #define HAVE_UINTMAX_T 1 799 800 /* Define to 1 if you have the <unistd.h> header file. */ 801 #define HAVE_UNISTD_H 1 802 803 /* Define to 1 if the system has the type 'unsigned long long int'. */ 804 #define HAVE_UNSIGNED_LONG_LONG_INT 1 805 806 /* Define to 1 if you have the `uselocale' function. */ 807 /* #undef HAVE_USELOCALE */ 808 809 /* Define if you have a global __progname variable */ 810 #define HAVE_VAR___PROGNAME 1 811 812 /* Define to 1 or 0, depending whether the compiler supports simple visibility 813 declarations. */ 814 #define HAVE_VISIBILITY 1 815 816 /* Define to 1 if you have the <wchar.h> header file. */ 817 #define HAVE_WCHAR_H 1 818 819 /* Define if you have the 'wchar_t' type. */ 820 #define HAVE_WCHAR_T 1 821 822 /* Define to 1 if you have the `wcrtomb' function. */ 823 #define HAVE_WCRTOMB 1 824 825 /* Define to 1 if you have the `wcslen' function. */ 826 #define HAVE_WCSLEN 1 827 828 /* Define to 1 if you have the `wcsnlen' function. */ 829 #define HAVE_WCSNLEN 1 830 831 /* Define to 1 if you have the <wctype.h> header file. */ 832 #define HAVE_WCTYPE_H 1 833 834 /* Define to 1 if you have the `wcwidth' function. */ 835 #define HAVE_WCWIDTH 1 836 837 /* Define to 1 if the compiler and linker support weak declarations of 838 symbols. */ 839 #define HAVE_WEAK_SYMBOLS 1 840 841 /* Define to 1 if you have the <winsock2.h> header file. */ 842 /* #undef HAVE_WINSOCK2_H */ 843 844 /* Define if you have the 'wint_t' type. */ 845 #define HAVE_WINT_T 1 846 847 /* Define to 1 if O_NOATIME works. */ 848 #define HAVE_WORKING_O_NOATIME 0 849 850 /* Define to 1 if O_NOFOLLOW works. */ 851 #define HAVE_WORKING_O_NOFOLLOW 0 852 853 /* Define if the uselocale function exists and may safely be called. */ 854 /* #undef HAVE_WORKING_USELOCALE */ 855 856 /* Define to 1 if you have the `wprintf' function. */ 857 #define HAVE_WPRINTF 1 858 859 /* Define to 1 if you have the <xlocale.h> header file. */ 860 #define HAVE_XLOCALE_H 1 861 862 /* Define to 1 if the system has the type `_Bool'. */ 863 #define HAVE__BOOL 1 864 865 /* Define to 1 if you have the `_NSGetExecutablePath' function. */ 866 /* #undef HAVE__NSGETEXECUTABLEPATH */ 867 868 /* Define to 1 if you have the `_set_invalid_parameter_handler' function. */ 869 /* #undef HAVE__SET_INVALID_PARAMETER_HANDLER */ 870 871 /* Define to 1 if the compiler supports __builtin_expect, 872 and to 2 if <builtins.h> does. */ 873 #define HAVE___BUILTIN_EXPECT 1 874 #ifndef HAVE___BUILTIN_EXPECT 875 # define __builtin_expect(e, c) (e) 876 #elif HAVE___BUILTIN_EXPECT == 2 877 # include <builtins.h> 878 #endif 879 880 881 /* Define to 1 if you have the `__fsetlocking' function. */ 882 /* #undef HAVE___FSETLOCKING */ 883 884 /* Define to 1 if the compiler supports the keyword '__inline'. */ 885 #define HAVE___INLINE 1 886 887 /* Define as const if the declaration of iconv() needs const. */ 888 #define ICONV_CONST 889 890 /* Define to a symbolic name denoting the flavor of iconv_open() 891 implementation. */ 892 /* #undef ICONV_FLAVOR */ 893 894 /* Define to the value of ${prefix}, as a string. */ 895 #define INSTALLPREFIX "/usr1/home/j00453116/workSpace/TVOS_SPC054_20210507/component/gstreamer/build/sme/../../out/tvos2.0.dev.Hi3798MV200H/rls/intermediate/thirdparty" 896 897 /* Define if integer division by zero raises signal SIGFPE. */ 898 #define INTDIV0_RAISES_SIGFPE 0 899 900 /* Define if localename.c overrides newlocale(), duplocale(), freelocale(). */ 901 /* #undef LOCALENAME_ENHANCE_LOCALE_FUNCS */ 902 903 /* Define to 1 if 'lstat' dereferences a symlink specified with a trailing 904 slash. */ 905 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 906 907 /* Define to the sub-directory where libtool stores uninstalled libraries. */ 908 #define LT_OBJDIR ".libs/" 909 910 /* If malloc(0) is != NULL, define this to 1. Otherwise define this to 0. */ 911 #define MALLOC_0_IS_NONNULL 0 912 913 /* Define to a substitute value for mmap()'s MAP_ANONYMOUS flag. */ 914 /* #undef MAP_ANONYMOUS */ 915 916 /* Define if the mbrtowc function does not return (size_t) -2 for empty input. 917 */ 918 /* #undef MBRTOWC_EMPTY_INPUT_BUG */ 919 920 /* Define if the mbrtowc function may signal encoding errors in the C locale. 921 */ 922 #define MBRTOWC_IN_C_LOCALE_MAYBE_EILSEQ 1 923 924 /* Define if the mbrtowc function has the NULL pwc argument bug. */ 925 /* #undef MBRTOWC_NULL_ARG1_BUG */ 926 927 /* Define if the mbrtowc function has the NULL string argument bug. */ 928 /* #undef MBRTOWC_NULL_ARG2_BUG */ 929 930 /* Define if the mbrtowc function does not return 0 for a NUL character. */ 931 /* #undef MBRTOWC_NUL_RETVAL_BUG */ 932 933 /* Define if the mbrtowc function returns a wrong return value. */ 934 /* #undef MBRTOWC_RETVAL_BUG */ 935 936 /* Define if the mbrtowc function stores a wide character when reporting 937 incomplete input. */ 938 /* #undef MBRTOWC_STORES_INCOMPLETE_BUG */ 939 940 /* Use GNU style printf and scanf. */ 941 #ifndef __USE_MINGW_ANSI_STDIO 942 # define __USE_MINGW_ANSI_STDIO 1 943 #endif 944 945 946 /* Define to 1 to enable general improvements of setlocale. */ 947 #define NEED_SETLOCALE_IMPROVED 1 948 949 /* Define to 1 to enable a multithread-safety fix of setlocale. */ 950 #define NEED_SETLOCALE_MTSAFE 1 951 952 /* Define to 1 if open() fails to recognize a trailing slash. */ 953 /* #undef OPEN_TRAILING_SLASH_BUG */ 954 955 /* Name of package */ 956 #define PACKAGE "gettext-runtime" 957 958 /* Define to the address where bug reports for this package should be sent. */ 959 #define PACKAGE_BUGREPORT "bug-gettext@gnu.org" 960 961 /* Define to the full name of this package. */ 962 #define PACKAGE_NAME "gettext-runtime" 963 964 /* Define to the full name and version of this package. */ 965 #define PACKAGE_STRING "gettext-runtime UNKNOWN" 966 967 /* Define to the one symbol short name of this package. */ 968 #define PACKAGE_TARNAME "gettext-runtime" 969 970 /* Define to the home page for this package. */ 971 #define PACKAGE_URL "" 972 973 /* Define to the version of this package. */ 974 #define PACKAGE_VERSION "UNKNOWN" 975 976 /* Define to the type that is the result of default argument promotions of 977 type mode_t. */ 978 #define PROMOTED_MODE_T int 979 980 /* Define if the pthread_in_use() detection is hard. */ 981 /* #undef PTHREAD_IN_USE_DETECTION_HARD */ 982 983 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 984 'ptrdiff_t'. */ 985 #define PTRDIFF_T_SUFFIX 986 987 /* Define to 1 if readlink fails to recognize a trailing slash. */ 988 /* #undef READLINK_TRAILING_SLASH_BUG */ 989 990 /* Define to 1 if readlink sets errno instead of truncating a too-long link. 991 */ 992 /* #undef READLINK_TRUNCATE_BUG */ 993 994 /* Define to 1 if stat needs help when passed a file name with a trailing 995 slash */ 996 /* #undef REPLACE_FUNC_STAT_FILE */ 997 998 /* Define to 1 if strerror(0) does not return a message implying success. */ 999 #define REPLACE_STRERROR_0 1 1000 1001 /* Define to 1 if setlocale (LC_ALL, NULL) is multithread-safe. */ 1002 #define SETLOCALE_NULL_ALL_MTSAFE 0 1003 1004 /* Define to 1 if setlocale (category, NULL) is multithread-safe. */ 1005 #define SETLOCALE_NULL_ONE_MTSAFE 0 1006 1007 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 1008 'sig_atomic_t'. */ 1009 #define SIG_ATOMIC_T_SUFFIX 1010 1011 /* Define as the maximum value of type 'size_t', if the system doesn't define 1012 it. */ 1013 #ifndef SIZE_MAX 1014 /* # undef SIZE_MAX */ 1015 #endif 1016 1017 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 1018 'size_t'. */ 1019 #define SIZE_T_SUFFIX u 1020 1021 /* If using the C implementation of alloca, define if you know the 1022 direction of stack growth for your system; otherwise it will be 1023 automatically deduced at runtime. 1024 STACK_DIRECTION > 0 => grows toward higher addresses 1025 STACK_DIRECTION < 0 => grows toward lower addresses 1026 STACK_DIRECTION = 0 => direction of growth unknown */ 1027 /* #undef STACK_DIRECTION */ 1028 1029 /* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */ 1030 /* #undef STAT_MACROS_BROKEN */ 1031 1032 /* Define to 1 if you have the ANSI C header files. */ 1033 #define STDC_HEADERS 1 1034 1035 /* Define to 1 if strerror_r returns char *. */ 1036 /* #undef STRERROR_R_CHAR_P */ 1037 1038 /* Define to 1 if the type of the st_atim member of a struct stat is struct 1039 timespec. */ 1040 /* #undef TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC */ 1041 1042 /* Define to the prefix of C symbols at the assembler and linker level, either 1043 an underscore or empty. */ 1044 #define USER_LABEL_PREFIX 1045 1046 /* Define if the combination of the ISO C and POSIX multithreading APIs can be 1047 used. */ 1048 /* #undef USE_ISOC_AND_POSIX_THREADS */ 1049 1050 /* Define if the ISO C multithreading library can be used. */ 1051 /* #undef USE_ISOC_THREADS */ 1052 1053 /* Define if the POSIX multithreading library can be used. */ 1054 #define USE_POSIX_THREADS 1 1055 1056 /* Define if references to the POSIX multithreading library are satisfied by 1057 libc. */ 1058 #define USE_POSIX_THREADS_FROM_LIBC 1 1059 1060 /* Define if references to the POSIX multithreading library should be made 1061 weak. */ 1062 /* #undef USE_POSIX_THREADS_WEAK */ 1063 1064 /* Enable extensions on AIX 3, Interix. */ 1065 #ifndef _ALL_SOURCE 1066 # define _ALL_SOURCE 1 1067 #endif 1068 /* Enable general extensions on macOS. */ 1069 #ifndef _DARWIN_C_SOURCE 1070 # define _DARWIN_C_SOURCE 1 1071 #endif 1072 /* Enable general extensions on Solaris. */ 1073 #ifndef __EXTENSIONS__ 1074 # define __EXTENSIONS__ 1 1075 #endif 1076 /* Enable GNU extensions on systems that have them. */ 1077 #ifndef _GNU_SOURCE 1078 # define _GNU_SOURCE 1 1079 #endif 1080 /* Enable X/Open compliant socket functions that do not require linking 1081 with -lxnet on HP-UX 11.11. */ 1082 #ifndef _HPUX_ALT_XOPEN_SOCKET_API 1083 # define _HPUX_ALT_XOPEN_SOCKET_API 1 1084 #endif 1085 /* Identify the host operating system as Minix. 1086 This macro does not affect the system headers' behavior. 1087 A future release of Autoconf may stop defining this macro. */ 1088 #ifndef _MINIX 1089 /* # undef _MINIX */ 1090 #endif 1091 /* Enable general extensions on NetBSD. 1092 Enable NetBSD compatibility extensions on Minix. */ 1093 #ifndef _NETBSD_SOURCE 1094 # define _NETBSD_SOURCE 1 1095 #endif 1096 /* Enable OpenBSD compatibility extensions on NetBSD. 1097 Oddly enough, this does nothing on OpenBSD. */ 1098 #ifndef _OPENBSD_SOURCE 1099 # define _OPENBSD_SOURCE 1 1100 #endif 1101 /* Define to 1 if needed for POSIX-compatible behavior. */ 1102 #ifndef _POSIX_SOURCE 1103 /* # undef _POSIX_SOURCE */ 1104 #endif 1105 /* Define to 2 if needed for POSIX-compatible behavior. */ 1106 #ifndef _POSIX_1_SOURCE 1107 /* # undef _POSIX_1_SOURCE */ 1108 #endif 1109 /* Enable POSIX-compatible threading on Solaris. */ 1110 #ifndef _POSIX_PTHREAD_SEMANTICS 1111 # define _POSIX_PTHREAD_SEMANTICS 1 1112 #endif 1113 /* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ 1114 #ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1115 # define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 1116 #endif 1117 /* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ 1118 #ifndef __STDC_WANT_IEC_60559_BFP_EXT__ 1119 # define __STDC_WANT_IEC_60559_BFP_EXT__ 1 1120 #endif 1121 /* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ 1122 #ifndef __STDC_WANT_IEC_60559_DFP_EXT__ 1123 # define __STDC_WANT_IEC_60559_DFP_EXT__ 1 1124 #endif 1125 /* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ 1126 #ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ 1127 # define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 1128 #endif 1129 /* Enable extensions specified by ISO/IEC TS 18661-3:2015. */ 1130 #ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ 1131 # define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 1132 #endif 1133 /* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ 1134 #ifndef __STDC_WANT_LIB_EXT2__ 1135 # define __STDC_WANT_LIB_EXT2__ 1 1136 #endif 1137 /* Enable extensions specified by ISO/IEC 24747:2009. */ 1138 #ifndef __STDC_WANT_MATH_SPEC_FUNCS__ 1139 # define __STDC_WANT_MATH_SPEC_FUNCS__ 1 1140 #endif 1141 /* Enable extensions on HP NonStop. */ 1142 #ifndef _TANDEM_SOURCE 1143 # define _TANDEM_SOURCE 1 1144 #endif 1145 /* Enable X/Open extensions. Define to 500 only if necessary 1146 to make mbstate_t available. */ 1147 #ifndef _XOPEN_SOURCE 1148 /* # undef _XOPEN_SOURCE */ 1149 #endif 1150 1151 1152 /* An alias of GNULIB_STDIO_SINGLE_THREAD. */ 1153 #define USE_UNLOCKED_IO GNULIB_STDIO_SINGLE_THREAD 1154 1155 /* Define if the native Windows multithreading API can be used. */ 1156 /* #undef USE_WINDOWS_THREADS */ 1157 1158 /* Version number of package */ 1159 #define VERSION "UNKNOWN" 1160 1161 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 1162 'wchar_t'. */ 1163 #define WCHAR_T_SUFFIX u 1164 1165 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 1166 'wint_t'. */ 1167 #define WINT_T_SUFFIX u 1168 1169 /* Define when --enable-shared is used on mingw or Cygwin. */ 1170 /* #undef WOE32DLL */ 1171 1172 /* Number of bits in a file offset, on hosts where this is settable. */ 1173 /* #undef _FILE_OFFSET_BITS */ 1174 1175 /* True if the compiler says it groks GNU C version MAJOR.MINOR. */ 1176 #if defined __GNUC__ && defined __GNUC_MINOR__ 1177 # define _GL_GNUC_PREREQ(major, minor) \ 1178 ((major) < __GNUC__ + ((minor) <= __GNUC_MINOR__)) 1179 #else 1180 # define _GL_GNUC_PREREQ(major, minor) 0 1181 #endif 1182 1183 1184 /* Define to enable the declarations of ISO C 11 types and functions. */ 1185 /* #undef _ISOC11_SOURCE */ 1186 1187 /* Define for large files, on AIX-style hosts. */ 1188 /* #undef _LARGE_FILES */ 1189 1190 /* Define to 1 on Solaris. */ 1191 /* #undef _LCONV_C99 */ 1192 1193 /* The _Noreturn keyword of C11. */ 1194 #ifndef _Noreturn 1195 # if (defined __cplusplus \ 1196 && ((201103 <= __cplusplus && !(__GNUC__ == 4 && __GNUC_MINOR__ == 7)) \ 1197 || (defined _MSC_VER && 1900 <= _MSC_VER)) \ 1198 && 0) 1199 /* [[noreturn]] is not practically usable, because with it the syntax 1200 extern _Noreturn void func (...); 1201 would not be valid; such a declaration would only be valid with 'extern' 1202 and '_Noreturn' swapped, or without the 'extern' keyword. However, some 1203 AIX system header files and several gnulib header files use precisely 1204 this syntax with 'extern'. */ 1205 # define _Noreturn [[noreturn]] 1206 # elif ((!defined __cplusplus || defined __clang__) \ 1207 && (201112 <= (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) \ 1208 || (!defined __STRICT_ANSI__ \ 1209 && (_GL_GNUC_PREREQ (4, 7) \ 1210 || (defined __apple_build_version__ \ 1211 ? 6000000 <= __apple_build_version__ \ 1212 : 3 < __clang_major__ + (5 <= __clang_minor__)))))) 1213 /* _Noreturn works as-is. */ 1214 # elif _GL_GNUC_PREREQ (2, 8) || defined __clang__ || 0x5110 <= __SUNPRO_C 1215 # define _Noreturn __attribute__ ((__noreturn__)) 1216 # elif 1200 <= (defined _MSC_VER ? _MSC_VER : 0) 1217 # define _Noreturn __declspec (noreturn) 1218 # else 1219 # define _Noreturn 1220 # endif 1221 #endif 1222 1223 1224 /* Number of bits in a timestamp, on hosts where this is settable. */ 1225 /* #undef _TIME_BITS */ 1226 1227 /* For standard stat data types on VMS. */ 1228 #define _USE_STD_STAT 1 1229 1230 /* Define to rpl_ if the getopt replacement functions and variables should be 1231 used. */ 1232 #define __GETOPT_PREFIX rpl_ 1233 1234 /* For 64-bit time_t on 32-bit mingw. */ 1235 /* #undef __MINGW_USE_VC2005_COMPAT */ 1236 1237 /* Define to 1 if the system <stdint.h> predates C++11. */ 1238 /* #undef __STDC_CONSTANT_MACROS */ 1239 1240 /* Define to 1 if the system <stdint.h> predates C++11. */ 1241 /* #undef __STDC_LIMIT_MACROS */ 1242 1243 /* The _GL_ASYNC_SAFE marker should be attached to functions that are 1244 signal handlers (for signals other than SIGABRT, SIGPIPE) or can be 1245 invoked from such signal handlers. Such functions have some restrictions: 1246 * All functions that it calls should be marked _GL_ASYNC_SAFE as well, 1247 or should be listed as async-signal-safe in POSIX 1248 <https://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_04> 1249 section 2.4.3. Note that malloc(), sprintf(), and fwrite(), in 1250 particular, are NOT async-signal-safe. 1251 * All memory locations (variables and struct fields) that these functions 1252 access must be marked 'volatile'. This holds for both read and write 1253 accesses. Otherwise the compiler might optimize away stores to and 1254 reads from such locations that occur in the program, depending on its 1255 data flow analysis. For example, when the program contains a loop 1256 that is intended to inspect a variable set from within a signal handler 1257 while (!signal_occurred) 1258 ; 1259 the compiler is allowed to transform this into an endless loop if the 1260 variable 'signal_occurred' is not declared 'volatile'. 1261 Additionally, recall that: 1262 * A signal handler should not modify errno (except if it is a handler 1263 for a fatal signal and ends by raising the same signal again, thus 1264 provoking the termination of the process). If it invokes a function 1265 that may clobber errno, it needs to save and restore the value of 1266 errno. */ 1267 #define _GL_ASYNC_SAFE 1268 1269 1270 /* Attributes. */ 1271 #if (defined __has_attribute \ 1272 && (!defined __clang_minor__ \ 1273 || 3 < __clang_major__ + (5 <= __clang_minor__))) 1274 # define _GL_HAS_ATTRIBUTE(attr) __has_attribute (__##attr##__) 1275 #else 1276 # define _GL_HAS_ATTRIBUTE(attr) _GL_ATTR_##attr 1277 # define _GL_ATTR_alloc_size _GL_GNUC_PREREQ (4, 3) 1278 # define _GL_ATTR_always_inline _GL_GNUC_PREREQ (3, 2) 1279 # define _GL_ATTR_artificial _GL_GNUC_PREREQ (4, 3) 1280 # define _GL_ATTR_cold _GL_GNUC_PREREQ (4, 3) 1281 # define _GL_ATTR_const _GL_GNUC_PREREQ (2, 95) 1282 # define _GL_ATTR_deprecated _GL_GNUC_PREREQ (3, 1) 1283 # define _GL_ATTR_diagnose_if 0 1284 # define _GL_ATTR_error _GL_GNUC_PREREQ (4, 3) 1285 # define _GL_ATTR_externally_visible _GL_GNUC_PREREQ (4, 1) 1286 # define _GL_ATTR_fallthrough _GL_GNUC_PREREQ (7, 0) 1287 # define _GL_ATTR_format _GL_GNUC_PREREQ (2, 7) 1288 # define _GL_ATTR_leaf _GL_GNUC_PREREQ (4, 6) 1289 # define _GL_ATTR_malloc _GL_GNUC_PREREQ (3, 0) 1290 # ifdef _ICC 1291 # define _GL_ATTR_may_alias 0 1292 # else 1293 # define _GL_ATTR_may_alias _GL_GNUC_PREREQ (3, 3) 1294 # endif 1295 # define _GL_ATTR_noinline _GL_GNUC_PREREQ (3, 1) 1296 # define _GL_ATTR_nonnull _GL_GNUC_PREREQ (3, 3) 1297 # define _GL_ATTR_nonstring _GL_GNUC_PREREQ (8, 0) 1298 # define _GL_ATTR_nothrow _GL_GNUC_PREREQ (3, 3) 1299 # define _GL_ATTR_packed _GL_GNUC_PREREQ (2, 7) 1300 # define _GL_ATTR_pure _GL_GNUC_PREREQ (2, 96) 1301 # define _GL_ATTR_returns_nonnull _GL_GNUC_PREREQ (4, 9) 1302 # define _GL_ATTR_sentinel _GL_GNUC_PREREQ (4, 0) 1303 # define _GL_ATTR_unused _GL_GNUC_PREREQ (2, 7) 1304 # define _GL_ATTR_warn_unused_result _GL_GNUC_PREREQ (3, 4) 1305 #endif 1306 1307 #ifdef __has_c_attribute 1308 # define _GL_HAS_C_ATTRIBUTE(attr) __has_c_attribute (__##attr##__) 1309 #else 1310 # define _GL_HAS_C_ATTRIBUTE(attr) 0 1311 #endif 1312 1313 1314 /* _GL_ATTRIBUTE_ALLOC_SIZE ((N)) declares that the Nth argument of the function 1315 is the size of the returned memory block. 1316 _GL_ATTRIBUTE_ALLOC_SIZE ((M, N)) declares that the Mth argument multiplied 1317 by the Nth argument of the function is the size of the returned memory block. 1318 */ 1319 /* Applies to: function, pointer to function, function types. */ 1320 #if _GL_HAS_ATTRIBUTE (alloc_size) 1321 # define _GL_ATTRIBUTE_ALLOC_SIZE(args) __attribute__ ((__alloc_size__ args)) 1322 #else 1323 # define _GL_ATTRIBUTE_ALLOC_SIZE(args) 1324 #endif 1325 1326 /* _GL_ATTRIBUTE_ALWAYS_INLINE tells that the compiler should always inline the 1327 function and report an error if it cannot do so. */ 1328 /* Applies to: function. */ 1329 #if _GL_HAS_ATTRIBUTE (always_inline) 1330 # define _GL_ATTRIBUTE_ALWAYS_INLINE __attribute__ ((__always_inline__)) 1331 #else 1332 # define _GL_ATTRIBUTE_ALWAYS_INLINE 1333 #endif 1334 1335 /* _GL_ATTRIBUTE_ARTIFICIAL declares that the function is not important to show 1336 in stack traces when debugging. The compiler should omit the function from 1337 stack traces. */ 1338 /* Applies to: function. */ 1339 #if _GL_HAS_ATTRIBUTE (artificial) 1340 # define _GL_ATTRIBUTE_ARTIFICIAL __attribute__ ((__artificial__)) 1341 #else 1342 # define _GL_ATTRIBUTE_ARTIFICIAL 1343 #endif 1344 1345 /* _GL_ATTRIBUTE_COLD declares that the function is rarely executed. */ 1346 /* Applies to: functions. */ 1347 /* Avoid __attribute__ ((cold)) on MinGW; see thread starting at 1348 <https://lists.gnu.org/r/emacs-devel/2019-04/msg01152.html>. 1349 Also, Oracle Studio 12.6 requires 'cold' not '__cold__'. */ 1350 #if _GL_HAS_ATTRIBUTE (cold) && !defined __MINGW32__ 1351 # ifndef __SUNPRO_C 1352 # define _GL_ATTRIBUTE_COLD __attribute__ ((__cold__)) 1353 # else 1354 # define _GL_ATTRIBUTE_COLD __attribute__ ((cold)) 1355 # endif 1356 #else 1357 # define _GL_ATTRIBUTE_COLD 1358 #endif 1359 1360 /* _GL_ATTRIBUTE_CONST declares that it is OK for a compiler to omit duplicate 1361 calls to the function with the same arguments. 1362 This attribute is safe for a function that neither depends on nor affects 1363 observable state, and always returns exactly once - e.g., does not loop 1364 forever, and does not call longjmp. 1365 (This attribute is stricter than _GL_ATTRIBUTE_PURE.) */ 1366 /* Applies to: functions. */ 1367 #if _GL_HAS_ATTRIBUTE (const) 1368 # define _GL_ATTRIBUTE_CONST __attribute__ ((__const__)) 1369 #else 1370 # define _GL_ATTRIBUTE_CONST 1371 #endif 1372 1373 /* _GL_ATTRIBUTE_DEALLOC (F, I) declares that the function returns pointers 1374 that can be freed by passing them as the Ith argument to the 1375 function F. 1376 _GL_ATTRIBUTE_DEALLOC_FREE declares that the function returns pointers that 1377 can be freed via 'free'; it can be used only after declaring 'free'. */ 1378 /* Applies to: functions. Cannot be used on inline functions. */ 1379 #if _GL_GNUC_PREREQ (11, 0) 1380 # define _GL_ATTRIBUTE_DEALLOC(f, i) __attribute__ ((__malloc__ (f, i))) 1381 #else 1382 # define _GL_ATTRIBUTE_DEALLOC(f, i) 1383 #endif 1384 #define _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_DEALLOC (free, 1) 1385 1386 /* _GL_ATTRIBUTE_DEPRECATED: Declares that an entity is deprecated. 1387 The compiler may warn if the entity is used. */ 1388 /* Applies to: 1389 - function, variable, 1390 - struct, union, struct/union member, 1391 - enumeration, enumeration item, 1392 - typedef, 1393 in C++ also: namespace, class, template specialization. */ 1394 #if _GL_HAS_C_ATTRIBUTE (deprecated) 1395 # define _GL_ATTRIBUTE_DEPRECATED [[__deprecated__]] 1396 #elif _GL_HAS_ATTRIBUTE (deprecated) 1397 # define _GL_ATTRIBUTE_DEPRECATED __attribute__ ((__deprecated__)) 1398 #else 1399 # define _GL_ATTRIBUTE_DEPRECATED 1400 #endif 1401 1402 /* _GL_ATTRIBUTE_ERROR(msg) requests an error if a function is called and 1403 the function call is not optimized away. 1404 _GL_ATTRIBUTE_WARNING(msg) requests a warning if a function is called and 1405 the function call is not optimized away. */ 1406 /* Applies to: functions. */ 1407 #if _GL_HAS_ATTRIBUTE (error) 1408 # define _GL_ATTRIBUTE_ERROR(msg) __attribute__ ((__error__ (msg))) 1409 # define _GL_ATTRIBUTE_WARNING(msg) __attribute__ ((__warning__ (msg))) 1410 #elif _GL_HAS_ATTRIBUTE (diagnose_if) 1411 # define _GL_ATTRIBUTE_ERROR(msg) __attribute__ ((__diagnose_if__ (1, msg, "error"))) 1412 # define _GL_ATTRIBUTE_WARNING(msg) __attribute__ ((__diagnose_if__ (1, msg, "warning"))) 1413 #else 1414 # define _GL_ATTRIBUTE_ERROR(msg) 1415 # define _GL_ATTRIBUTE_WARNING(msg) 1416 #endif 1417 1418 /* _GL_ATTRIBUTE_EXTERNALLY_VISIBLE declares that the entity should remain 1419 visible to debuggers etc., even with '-fwhole-program'. */ 1420 /* Applies to: functions, variables. */ 1421 #if _GL_HAS_ATTRIBUTE (externally_visible) 1422 # define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE __attribute__ ((externally_visible)) 1423 #else 1424 # define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE 1425 #endif 1426 1427 /* _GL_ATTRIBUTE_FALLTHROUGH declares that it is not a programming mistake if 1428 the control flow falls through to the immediately following 'case' or 1429 'default' label. The compiler should not warn in this case. */ 1430 /* Applies to: Empty statement (;), inside a 'switch' statement. */ 1431 /* Always expands to something. */ 1432 #if _GL_HAS_C_ATTRIBUTE (fallthrough) 1433 # define _GL_ATTRIBUTE_FALLTHROUGH [[__fallthrough__]] 1434 #elif _GL_HAS_ATTRIBUTE (fallthrough) 1435 # define _GL_ATTRIBUTE_FALLTHROUGH __attribute__ ((__fallthrough__)) 1436 #else 1437 # define _GL_ATTRIBUTE_FALLTHROUGH ((void) 0) 1438 #endif 1439 1440 /* _GL_ATTRIBUTE_FORMAT ((ARCHETYPE, STRING-INDEX, FIRST-TO-CHECK)) 1441 declares that the STRING-INDEXth function argument is a format string of 1442 style ARCHETYPE, which is one of: 1443 printf, gnu_printf 1444 scanf, gnu_scanf, 1445 strftime, gnu_strftime, 1446 strfmon, 1447 or the same thing prefixed and suffixed with '__'. 1448 If FIRST-TO-CHECK is not 0, arguments starting at FIRST-TO_CHECK 1449 are suitable for the format string. */ 1450 /* Applies to: functions. */ 1451 #if _GL_HAS_ATTRIBUTE (format) 1452 # define _GL_ATTRIBUTE_FORMAT(spec) __attribute__ ((__format__ spec)) 1453 #else 1454 # define _GL_ATTRIBUTE_FORMAT(spec) 1455 #endif 1456 1457 /* _GL_ATTRIBUTE_LEAF declares that if the function is called from some other 1458 compilation unit, it executes code from that unit only by return or by 1459 exception handling. This declaration lets the compiler optimize that unit 1460 more aggressively. */ 1461 /* Applies to: functions. */ 1462 #if _GL_HAS_ATTRIBUTE (leaf) 1463 # define _GL_ATTRIBUTE_LEAF __attribute__ ((__leaf__)) 1464 #else 1465 # define _GL_ATTRIBUTE_LEAF 1466 #endif 1467 1468 /* _GL_ATTRIBUTE_MALLOC declares that the function returns a pointer to freshly 1469 allocated memory. */ 1470 /* Applies to: functions. */ 1471 #if _GL_HAS_ATTRIBUTE (malloc) 1472 # define _GL_ATTRIBUTE_MALLOC __attribute__ ((__malloc__)) 1473 #else 1474 # define _GL_ATTRIBUTE_MALLOC 1475 #endif 1476 1477 /* _GL_ATTRIBUTE_MAY_ALIAS declares that pointers to the type may point to the 1478 same storage as pointers to other types. Thus this declaration disables 1479 strict aliasing optimization. */ 1480 /* Applies to: types. */ 1481 /* Oracle Studio 12.6 mishandles may_alias despite __has_attribute OK. */ 1482 #if _GL_HAS_ATTRIBUTE (may_alias) && !defined __SUNPRO_C 1483 # define _GL_ATTRIBUTE_MAY_ALIAS __attribute__ ((__may_alias__)) 1484 #else 1485 # define _GL_ATTRIBUTE_MAY_ALIAS 1486 #endif 1487 1488 /* _GL_ATTRIBUTE_MAYBE_UNUSED declares that it is not a programming mistake if 1489 the entity is not used. The compiler should not warn if the entity is not 1490 used. */ 1491 /* Applies to: 1492 - function, variable, 1493 - struct, union, struct/union member, 1494 - enumeration, enumeration item, 1495 - typedef, 1496 in C++ also: class. */ 1497 /* In C++ and C2x, this is spelled [[__maybe_unused__]]. 1498 GCC's syntax is __attribute__ ((__unused__)). 1499 clang supports both syntaxes. */ 1500 #if _GL_HAS_C_ATTRIBUTE (maybe_unused) 1501 # define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]] 1502 #else 1503 # define _GL_ATTRIBUTE_MAYBE_UNUSED _GL_ATTRIBUTE_UNUSED 1504 #endif 1505 /* Alternative spelling of this macro, for convenience. */ 1506 #define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED 1507 /* Earlier spellings of this macro. */ 1508 #define _UNUSED_PARAMETER_ _GL_ATTRIBUTE_MAYBE_UNUSED 1509 1510 /* _GL_ATTRIBUTE_NODISCARD declares that the caller of the function should not 1511 discard the return value. The compiler may warn if the caller does not use 1512 the return value, unless the caller uses something like ignore_value. */ 1513 /* Applies to: function, enumeration, class. */ 1514 #if _GL_HAS_C_ATTRIBUTE (nodiscard) 1515 # define _GL_ATTRIBUTE_NODISCARD [[__nodiscard__]] 1516 #elif _GL_HAS_ATTRIBUTE (warn_unused_result) 1517 # define _GL_ATTRIBUTE_NODISCARD __attribute__ ((__warn_unused_result__)) 1518 #else 1519 # define _GL_ATTRIBUTE_NODISCARD 1520 #endif 1521 1522 /* _GL_ATTRIBUTE_NOINLINE tells that the compiler should not inline the 1523 function. */ 1524 /* Applies to: functions. */ 1525 #if _GL_HAS_ATTRIBUTE (noinline) 1526 # define _GL_ATTRIBUTE_NOINLINE __attribute__ ((__noinline__)) 1527 #else 1528 # define _GL_ATTRIBUTE_NOINLINE 1529 #endif 1530 1531 /* _GL_ATTRIBUTE_NONNULL ((N1, N2,...)) declares that the arguments N1, N2,... 1532 must not be NULL. 1533 _GL_ATTRIBUTE_NONNULL () declares that all pointer arguments must not be 1534 null. */ 1535 /* Applies to: functions. */ 1536 #if _GL_HAS_ATTRIBUTE (nonnull) 1537 # define _GL_ATTRIBUTE_NONNULL(args) __attribute__ ((__nonnull__ args)) 1538 #else 1539 # define _GL_ATTRIBUTE_NONNULL(args) 1540 #endif 1541 1542 /* _GL_ATTRIBUTE_NONSTRING declares that the contents of a character array is 1543 not meant to be NUL-terminated. */ 1544 /* Applies to: struct/union members and variables that are arrays of element 1545 type '[[un]signed] char'. */ 1546 #if _GL_HAS_ATTRIBUTE (nonstring) 1547 # define _GL_ATTRIBUTE_NONSTRING __attribute__ ((__nonstring__)) 1548 #else 1549 # define _GL_ATTRIBUTE_NONSTRING 1550 #endif 1551 1552 /* There is no _GL_ATTRIBUTE_NORETURN; use _Noreturn instead. */ 1553 1554 /* _GL_ATTRIBUTE_NOTHROW declares that the function does not throw exceptions. 1555 */ 1556 /* Applies to: functions. */ 1557 #if _GL_HAS_ATTRIBUTE (nothrow) && !defined __cplusplus 1558 # define _GL_ATTRIBUTE_NOTHROW __attribute__ ((__nothrow__)) 1559 #else 1560 # define _GL_ATTRIBUTE_NOTHROW 1561 #endif 1562 1563 /* _GL_ATTRIBUTE_PACKED declares: 1564 For struct members: The member has the smallest possible alignment. 1565 For struct, union, class: All members have the smallest possible alignment, 1566 minimizing the memory required. */ 1567 /* Applies to: struct members, struct, union, 1568 in C++ also: class. */ 1569 #if _GL_HAS_ATTRIBUTE (packed) 1570 # define _GL_ATTRIBUTE_PACKED __attribute__ ((__packed__)) 1571 #else 1572 # define _GL_ATTRIBUTE_PACKED 1573 #endif 1574 1575 /* _GL_ATTRIBUTE_PURE declares that It is OK for a compiler to omit duplicate 1576 calls to the function with the same arguments if observable state is not 1577 changed between calls. 1578 This attribute is safe for a function that does not affect 1579 observable state, and always returns exactly once. 1580 (This attribute is looser than _GL_ATTRIBUTE_CONST.) */ 1581 /* Applies to: functions. */ 1582 #if _GL_HAS_ATTRIBUTE (pure) 1583 # define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__)) 1584 #else 1585 # define _GL_ATTRIBUTE_PURE 1586 #endif 1587 1588 /* _GL_ATTRIBUTE_RETURNS_NONNULL declares that the function's return value is 1589 a non-NULL pointer. */ 1590 /* Applies to: functions. */ 1591 #if _GL_HAS_ATTRIBUTE (returns_nonnull) 1592 # define _GL_ATTRIBUTE_RETURNS_NONNULL __attribute__ ((__returns_nonnull__)) 1593 #else 1594 # define _GL_ATTRIBUTE_RETURNS_NONNULL 1595 #endif 1596 1597 /* _GL_ATTRIBUTE_SENTINEL(pos) declares that the variadic function expects a 1598 trailing NULL argument. 1599 _GL_ATTRIBUTE_SENTINEL () - The last argument is NULL (requires C99). 1600 _GL_ATTRIBUTE_SENTINEL ((N)) - The (N+1)st argument from the end is NULL. */ 1601 /* Applies to: functions. */ 1602 #if _GL_HAS_ATTRIBUTE (sentinel) 1603 # define _GL_ATTRIBUTE_SENTINEL(pos) __attribute__ ((__sentinel__ pos)) 1604 #else 1605 # define _GL_ATTRIBUTE_SENTINEL(pos) 1606 #endif 1607 1608 /* A helper macro. Don't use it directly. */ 1609 #if _GL_HAS_ATTRIBUTE (unused) 1610 # define _GL_ATTRIBUTE_UNUSED __attribute__ ((__unused__)) 1611 #else 1612 # define _GL_ATTRIBUTE_UNUSED 1613 #endif 1614 1615 1616 /* _GL_UNUSED_LABEL; declares that it is not a programming mistake if the 1617 immediately preceding label is not used. The compiler should not warn 1618 if the label is not used. */ 1619 /* Applies to: label (both in C and C++). */ 1620 /* Note that g++ < 4.5 does not support the '__attribute__ ((__unused__)) ;' 1621 syntax. But clang does. */ 1622 #if !(defined __cplusplus && !_GL_GNUC_PREREQ (4, 5)) || defined __clang__ 1623 # define _GL_UNUSED_LABEL _GL_ATTRIBUTE_UNUSED 1624 #else 1625 # define _GL_UNUSED_LABEL 1626 #endif 1627 1628 1629 /* Please see the Gnulib manual for how to use these macros. 1630 1631 Suppress extern inline with HP-UX cc, as it appears to be broken; see 1632 <https://lists.gnu.org/r/bug-texinfo/2013-02/msg00030.html>. 1633 1634 Suppress extern inline with Sun C in standards-conformance mode, as it 1635 mishandles inline functions that call each other. E.g., for 'inline void f 1636 (void) { } inline void g (void) { f (); }', c99 incorrectly complains 1637 'reference to static identifier "f" in extern inline function'. 1638 This bug was observed with Sun C 5.12 SunOS_i386 2011/11/16. 1639 1640 Suppress extern inline (with or without __attribute__ ((__gnu_inline__))) 1641 on configurations that mistakenly use 'static inline' to implement 1642 functions or macros in standard C headers like <ctype.h>. For example, 1643 if isdigit is mistakenly implemented via a static inline function, 1644 a program containing an extern inline function that calls isdigit 1645 may not work since the C standard prohibits extern inline functions 1646 from calling static functions (ISO C 99 section 6.7.4.(3). 1647 This bug is known to occur on: 1648 1649 OS X 10.8 and earlier; see: 1650 https://lists.gnu.org/r/bug-gnulib/2012-12/msg00023.html 1651 1652 DragonFly; see 1653 http://muscles.dragonflybsd.org/bulk/clang-master-potential/20141111_102002/logs/ah-tty-0.3.12.log 1654 1655 FreeBSD; see: 1656 https://lists.gnu.org/r/bug-gnulib/2014-07/msg00104.html 1657 1658 OS X 10.9 has a macro __header_inline indicating the bug is fixed for C and 1659 for clang but remains for g++; see <https://trac.macports.org/ticket/41033>. 1660 Assume DragonFly and FreeBSD will be similar. 1661 1662 GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99 1663 inline semantics, unless -fgnu89-inline is used. It defines a macro 1664 __GNUC_STDC_INLINE__ to indicate this situation or a macro 1665 __GNUC_GNU_INLINE__ to indicate the opposite situation. 1666 GCC 4.2 with -std=c99 or -std=gnu99 implements the GNU C inline 1667 semantics but warns, unless -fgnu89-inline is used: 1668 warning: C99 inline functions are not supported; using GNU89 1669 warning: to disable this warning use -fgnu89-inline or the gnu_inline function attribute 1670 It defines a macro __GNUC_GNU_INLINE__ to indicate this situation. 1671 */ 1672 #if (((defined __APPLE__ && defined __MACH__) \ 1673 || defined __DragonFly__ || defined __FreeBSD__) \ 1674 && (defined __header_inline \ 1675 ? (defined __cplusplus && defined __GNUC_STDC_INLINE__ \ 1676 && ! defined __clang__) \ 1677 : ((! defined _DONT_USE_CTYPE_INLINE_ \ 1678 && (defined __GNUC__ || defined __cplusplus)) \ 1679 || (defined _FORTIFY_SOURCE && 0 < _FORTIFY_SOURCE \ 1680 && defined __GNUC__ && ! defined __cplusplus)))) 1681 # define _GL_EXTERN_INLINE_STDHEADER_BUG 1682 #endif 1683 #if ((__GNUC__ \ 1684 ? defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ \ 1685 : (199901L <= __STDC_VERSION__ \ 1686 && !defined __HP_cc \ 1687 && !defined __PGI \ 1688 && !(defined __SUNPRO_C && __STDC__))) \ 1689 && !defined _GL_EXTERN_INLINE_STDHEADER_BUG) 1690 # define _GL_INLINE inline 1691 # define _GL_EXTERN_INLINE extern inline 1692 # define _GL_EXTERN_INLINE_IN_USE 1693 #elif (2 < __GNUC__ + (7 <= __GNUC_MINOR__) && !defined __STRICT_ANSI__ \ 1694 && !defined _GL_EXTERN_INLINE_STDHEADER_BUG) 1695 # if defined __GNUC_GNU_INLINE__ && __GNUC_GNU_INLINE__ 1696 /* __gnu_inline__ suppresses a GCC 4.2 diagnostic. */ 1697 # define _GL_INLINE extern inline __attribute__ ((__gnu_inline__)) 1698 # else 1699 # define _GL_INLINE extern inline 1700 # endif 1701 # define _GL_EXTERN_INLINE extern 1702 # define _GL_EXTERN_INLINE_IN_USE 1703 #else 1704 # define _GL_INLINE static _GL_UNUSED 1705 # define _GL_EXTERN_INLINE static _GL_UNUSED 1706 #endif 1707 1708 /* In GCC 4.6 (inclusive) to 5.1 (exclusive), 1709 suppress bogus "no previous prototype for 'FOO'" 1710 and "no previous declaration for 'FOO'" diagnostics, 1711 when FOO is an inline function in the header; see 1712 <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54113> and 1713 <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63877>. */ 1714 #if __GNUC__ == 4 && 6 <= __GNUC_MINOR__ 1715 # if defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ 1716 # define _GL_INLINE_HEADER_CONST_PRAGMA 1717 # else 1718 # define _GL_INLINE_HEADER_CONST_PRAGMA \ 1719 _Pragma ("GCC diagnostic ignored \"-Wsuggest-attribute=const\"") 1720 # endif 1721 # define _GL_INLINE_HEADER_BEGIN \ 1722 _Pragma ("GCC diagnostic push") \ 1723 _Pragma ("GCC diagnostic ignored \"-Wmissing-prototypes\"") \ 1724 _Pragma ("GCC diagnostic ignored \"-Wmissing-declarations\"") \ 1725 _GL_INLINE_HEADER_CONST_PRAGMA 1726 # define _GL_INLINE_HEADER_END \ 1727 _Pragma ("GCC diagnostic pop") 1728 #else 1729 # define _GL_INLINE_HEADER_BEGIN 1730 # define _GL_INLINE_HEADER_END 1731 #endif 1732 1733 /* Define to `int' if <sys/types.h> doesn't define. */ 1734 /* #undef gid_t */ 1735 1736 /* Define as a marker that can be attached to declarations that might not 1737 be used. This helps to reduce warnings, such as from 1738 GCC -Wunused-parameter. */ 1739 #ifndef _GL_UNUSED 1740 # if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7) 1741 # define _GL_UNUSED __attribute__ ((__unused__)) 1742 # else 1743 # define _GL_UNUSED 1744 # endif 1745 #endif 1746 1747 /* The __pure__ attribute was added in gcc 2.96. */ 1748 #ifndef _GL_ATTRIBUTE_PURE 1749 # if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96) 1750 # define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__)) 1751 # else 1752 # define _GL_ATTRIBUTE_PURE /* empty */ 1753 # endif 1754 #endif 1755 1756 1757 /* Define to `__inline__' or `__inline' if that's what the C compiler 1758 calls it, or to nothing if 'inline' is not supported under any name. */ 1759 #ifndef __cplusplus 1760 /* #undef inline */ 1761 #endif 1762 1763 /* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports 1764 the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of 1765 earlier versions), but does not display it by setting __GNUC_STDC_INLINE__. 1766 __APPLE__ && __MACH__ test for Mac OS X. 1767 __APPLE_CC__ tests for the Apple compiler and its version. 1768 __STDC_VERSION__ tests for the C99 mode. */ 1769 #if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__ 1770 # define __GNUC_STDC_INLINE__ 1 1771 #endif 1772 1773 /* Define to a type if <wchar.h> does not define. */ 1774 /* #undef mbstate_t */ 1775 1776 /* _GL_CMP (n1, n2) performs a three-valued comparison on n1 vs. n2, where 1777 n1 and n2 are expressions without side effects, that evaluate to real 1778 numbers (excluding NaN). 1779 It returns 1780 1 if n1 > n2 1781 0 if n1 == n2 1782 -1 if n1 < n2 1783 The naïve code (n1 > n2 ? 1 : n1 < n2 ? -1 : 0) produces a conditional 1784 jump with nearly all GCC versions up to GCC 10. 1785 This variant (n1 < n2 ? -1 : n1 > n2) produces a conditional with many 1786 GCC versions up to GCC 9. 1787 The better code (n1 > n2) - (n1 < n2) from Hacker's Delight § 2-9 1788 avoids conditional jumps in all GCC versions >= 3.4. */ 1789 #define _GL_CMP(n1, n2) (((n1) > (n2)) - ((n1) < (n2))) 1790 1791 1792 /* Define to `int' if <sys/types.h> does not define. */ 1793 /* #undef mode_t */ 1794 1795 /* Define to the type of st_nlink in struct stat, or a supertype. */ 1796 /* #undef nlink_t */ 1797 1798 /* Define as a signed integer type capable of holding a process identifier. */ 1799 /* #undef pid_t */ 1800 1801 /* Define as the type of the result of subtracting two pointers, if the system 1802 doesn't define it. */ 1803 /* #undef ptrdiff_t */ 1804 1805 /* Define to the equivalent of the C99 'restrict' keyword, or to 1806 nothing if this is not supported. Do not define if restrict is 1807 supported only directly. */ 1808 #define restrict __restrict__ 1809 /* Work around a bug in older versions of Sun C++, which did not 1810 #define __restrict__ or support _Restrict or __restrict__ 1811 even though the corresponding Sun C compiler ended up with 1812 "#define restrict _Restrict" or "#define restrict __restrict__" 1813 in the previous line. This workaround can be removed once 1814 we assume Oracle Developer Studio 12.5 (2016) or later. */ 1815 #if defined __SUNPRO_CC && !defined __RESTRICT && !defined __restrict__ 1816 # define _Restrict 1817 # define __restrict__ 1818 #endif 1819 1820 /* Define to `unsigned int' if <sys/types.h> does not define. */ 1821 /* #undef size_t */ 1822 1823 /* Define as a signed type of the same size as size_t. */ 1824 /* #undef ssize_t */ 1825 1826 /* Define to `int' if <sys/types.h> doesn't define. */ 1827 /* #undef uid_t */ 1828 1829 /* Define to unsigned long or unsigned long long if <stdint.h> and 1830 <inttypes.h> don't define. */ 1831 /* #undef uintmax_t */ 1832 1833 1834 /* This definition is a duplicate of the one in unitypes.h. 1835 It is here so that we can cope with an older version of unitypes.h 1836 that does not contain this definition and that is pre-installed among 1837 the public header files. */ 1838 # if defined __restrict \ 1839 || 2 < __GNUC__ + (95 <= __GNUC_MINOR__) \ 1840 || __clang_major__ >= 3 1841 # define _UC_RESTRICT __restrict 1842 # elif 199901L <= __STDC_VERSION__ || defined restrict 1843 # define _UC_RESTRICT restrict 1844 # else 1845 # define _UC_RESTRICT 1846 # endif 1847 1848 1849 1850 #define __libc_lock_t gl_lock_t 1851 #define __libc_lock_define gl_lock_define 1852 #define __libc_lock_define_initialized gl_lock_define_initialized 1853 #define __libc_lock_init gl_lock_init 1854 #define __libc_lock_lock gl_lock_lock 1855 #define __libc_lock_unlock gl_lock_unlock 1856 #define __libc_lock_recursive_t gl_recursive_lock_t 1857 #define __libc_lock_define_recursive gl_recursive_lock_define 1858 #define __libc_lock_define_initialized_recursive gl_recursive_lock_define_initialized 1859 #define __libc_lock_init_recursive gl_recursive_lock_init 1860 #define __libc_lock_lock_recursive gl_recursive_lock_lock 1861 #define __libc_lock_unlock_recursive gl_recursive_lock_unlock 1862 #define glthread_in_use libintl_thread_in_use 1863 #define glthread_lock_init_func libintl_lock_init_func 1864 #define glthread_lock_lock_func libintl_lock_lock_func 1865 #define glthread_lock_unlock_func libintl_lock_unlock_func 1866 #define glthread_lock_destroy_func libintl_lock_destroy_func 1867 #define glthread_rwlock_init_multithreaded libintl_rwlock_init_multithreaded 1868 #define glthread_rwlock_init_func libintl_rwlock_init_func 1869 #define glthread_rwlock_rdlock_multithreaded libintl_rwlock_rdlock_multithreaded 1870 #define glthread_rwlock_rdlock_func libintl_rwlock_rdlock_func 1871 #define glthread_rwlock_wrlock_multithreaded libintl_rwlock_wrlock_multithreaded 1872 #define glthread_rwlock_wrlock_func libintl_rwlock_wrlock_func 1873 #define glthread_rwlock_unlock_multithreaded libintl_rwlock_unlock_multithreaded 1874 #define glthread_rwlock_unlock_func libintl_rwlock_unlock_func 1875 #define glthread_rwlock_destroy_multithreaded libintl_rwlock_destroy_multithreaded 1876 #define glthread_rwlock_destroy_func libintl_rwlock_destroy_func 1877 #define glthread_recursive_lock_init_multithreaded libintl_recursive_lock_init_multithreaded 1878 #define glthread_recursive_lock_init_func libintl_recursive_lock_init_func 1879 #define glthread_recursive_lock_lock_multithreaded libintl_recursive_lock_lock_multithreaded 1880 #define glthread_recursive_lock_lock_func libintl_recursive_lock_lock_func 1881 #define glthread_recursive_lock_unlock_multithreaded libintl_recursive_lock_unlock_multithreaded 1882 #define glthread_recursive_lock_unlock_func libintl_recursive_lock_unlock_func 1883 #define glthread_recursive_lock_destroy_multithreaded libintl_recursive_lock_destroy_multithreaded 1884 #define glthread_recursive_lock_destroy_func libintl_recursive_lock_destroy_func 1885 #define glthread_once_func libintl_once_func 1886 #define glthread_once_singlethreaded libintl_once_singlethreaded 1887 #define glthread_once_multithreaded libintl_once_multithreaded 1888 1889 1890 1891 /* On Windows, variables that may be in a DLL must be marked specially. */ 1892 #if (defined _MSC_VER && defined _DLL) && !defined IN_RELOCWRAPPER 1893 # define DLL_VARIABLE __declspec (dllimport) 1894 #else 1895 # define DLL_VARIABLE 1896 #endif 1897 1898 /* Extra OS/2 (emx+gcc) defines. */ 1899 #if defined __EMX__ && !defined __KLIBC__ 1900 # include "intl/os2compat.h" 1901 #endif 1902 1903