19fd8799cSchristos /* This file is automatically generated. DO NOT EDIT! */ 2a45db23fSchristos /* Generated from: NetBSD: mknative-gdb,v 1.16 2023/07/31 17:09:59 christos Exp */ 39fd8799cSchristos /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp */ 49fd8799cSchristos 59fd8799cSchristos /* config.h. Generated from config.in by configure. */ 69fd8799cSchristos /* config.in. Generated from configure.ac by autoheader. */ 79fd8799cSchristos 89fd8799cSchristos /* Define if building universal (internal helper macro) */ 99fd8799cSchristos /* #undef AC_APPLE_UNIVERSAL_BUILD */ 109fd8799cSchristos 119fd8799cSchristos /* Define to the number of bits in type 'ptrdiff_t'. */ 129fd8799cSchristos /* #undef BITSIZEOF_PTRDIFF_T */ 139fd8799cSchristos 149fd8799cSchristos /* Define to the number of bits in type 'sig_atomic_t'. */ 159fd8799cSchristos /* #undef BITSIZEOF_SIG_ATOMIC_T */ 169fd8799cSchristos 179fd8799cSchristos /* Define to the number of bits in type 'size_t'. */ 189fd8799cSchristos /* #undef BITSIZEOF_SIZE_T */ 199fd8799cSchristos 209fd8799cSchristos /* Define to the number of bits in type 'wchar_t'. */ 219fd8799cSchristos /* #undef BITSIZEOF_WCHAR_T */ 229fd8799cSchristos 239fd8799cSchristos /* Define to the number of bits in type 'wint_t'. */ 249fd8799cSchristos /* #undef BITSIZEOF_WINT_T */ 259fd8799cSchristos 26a45db23fSchristos /* Define to 1 if chown fails to change ctime when at least one argument was 27a45db23fSchristos not -1. */ 28a45db23fSchristos #define CHOWN_CHANGE_TIME_BUG 1 299fd8799cSchristos 30a45db23fSchristos /* Define if chown is not POSIX compliant regarding IDs of -1. */ 31a45db23fSchristos #define CHOWN_FAILS_TO_HONOR_ID_OF_NEGATIVE_ONE 1 32a45db23fSchristos 33a45db23fSchristos /* Define if chown modifies symlinks. */ 34a45db23fSchristos /* #undef CHOWN_MODIFIES_SYMLINK */ 35a45db23fSchristos 36a45db23fSchristos /* Define to 1 if chown mishandles trailing slash. */ 37a45db23fSchristos #define CHOWN_TRAILING_SLASH_BUG 1 38a45db23fSchristos 39a45db23fSchristos /* Define to 1 if using 'alloca.c'. */ 409fd8799cSchristos /* #undef C_ALLOCA */ 419fd8799cSchristos 429fd8799cSchristos /* Define as the bit index in the word where to find bit 0 of the exponent of 439fd8799cSchristos 'double'. */ 449fd8799cSchristos #define DBL_EXPBIT0_BIT 20 459fd8799cSchristos 469fd8799cSchristos /* Define as the word index where to find the exponent of 'double'. */ 479fd8799cSchristos #define DBL_EXPBIT0_WORD 0 489fd8799cSchristos 499fd8799cSchristos /* the name of the file descriptor member of DIR */ 509fd8799cSchristos /* #undef DIR_FD_MEMBER_NAME */ 519fd8799cSchristos 529fd8799cSchristos #ifdef DIR_FD_MEMBER_NAME 539fd8799cSchristos # define DIR_TO_FD(Dir_p) ((Dir_p)->DIR_FD_MEMBER_NAME) 549fd8799cSchristos #else 559fd8799cSchristos # define DIR_TO_FD(Dir_p) -1 569fd8799cSchristos #endif 579fd8799cSchristos 589fd8799cSchristos 599fd8799cSchristos /* Define to 1 if // is a file system root distinct from /. */ 609fd8799cSchristos /* #undef DOUBLE_SLASH_IS_DISTINCT_ROOT */ 619fd8799cSchristos 629fd8799cSchristos /* Define if struct dirent has a member d_ino that actually works. */ 639fd8799cSchristos /* #undef D_INO_IN_DIRENT */ 649fd8799cSchristos 659fd8799cSchristos /* Define this to 1 if F_DUPFD behavior does not match POSIX */ 669fd8799cSchristos /* #undef FCNTL_DUPFD_BUGGY */ 679fd8799cSchristos 689fd8799cSchristos /* Define to nothing if C supports flexible array members, and to 1 if it does 699fd8799cSchristos not. That way, with a declaration like 'struct s { int n; short 709fd8799cSchristos d[FLEXIBLE_ARRAY_MEMBER]; };', the struct hack can be used with pre-C99 719fd8799cSchristos compilers. Use 'FLEXSIZEOF (struct s, d, N * sizeof (short))' to calculate 729fd8799cSchristos the size in bytes of such a struct containing an N-element array. */ 739fd8799cSchristos #define FLEXIBLE_ARRAY_MEMBER /**/ 749fd8799cSchristos 759fd8799cSchristos /* Define to 1 if mkdir mistakenly creates a directory given with a trailing 769fd8799cSchristos dot component. */ 77a45db23fSchristos #define FUNC_MKDIR_DOT_BUG 1 789fd8799cSchristos 799fd8799cSchristos /* Define to 1 if realpath() can malloc memory, always gives an absolute path, 80a45db23fSchristos and handles a trailing slash correctly. */ 81a45db23fSchristos /* #undef FUNC_REALPATH_NEARLY_WORKS */ 829fd8799cSchristos 83a45db23fSchristos /* Define to 1 if realpath() can malloc memory, always gives an absolute path, 84a45db23fSchristos and handles leading slashes and a trailing slash correctly. */ 85a45db23fSchristos /* #undef FUNC_REALPATH_WORKS */ 869fd8799cSchristos 879fd8799cSchristos /* Define this to 'void' or 'struct timezone' to match the system's 889fd8799cSchristos declaration of the second argument to gettimeofday. */ 899fd8799cSchristos #define GETTIMEOFDAY_TIMEZONE void 909fd8799cSchristos 919fd8799cSchristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 929fd8799cSchristos whether the gnulib module canonicalize-lgpl shall be considered present. */ 939fd8799cSchristos #define GNULIB_CANONICALIZE_LGPL 1 949fd8799cSchristos 959fd8799cSchristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 969fd8799cSchristos whether the gnulib module fdopendir shall be considered present. */ 979fd8799cSchristos #define GNULIB_FDOPENDIR 1 989fd8799cSchristos 999fd8799cSchristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 1009fd8799cSchristos whether the gnulib module fd-safer-flag shall be considered present. */ 1019fd8799cSchristos #define GNULIB_FD_SAFER_FLAG 1 1029fd8799cSchristos 1039fd8799cSchristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 1049fd8799cSchristos whether the gnulib module fnmatch-gnu shall be considered present. */ 1059fd8799cSchristos #define GNULIB_FNMATCH_GNU 1 1069fd8799cSchristos 1079fd8799cSchristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 1089fd8799cSchristos whether the gnulib module fscanf shall be considered present. */ 1099fd8799cSchristos #define GNULIB_FSCANF 1 1109fd8799cSchristos 1119fd8799cSchristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 1129fd8799cSchristos whether the gnulib module getcwd shall be considered present. */ 1139fd8799cSchristos #define GNULIB_GETCWD 1 1149fd8799cSchristos 1159fd8799cSchristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 1169fd8799cSchristos whether the gnulib module isblank shall be considered present. */ 1179fd8799cSchristos #define GNULIB_ISBLANK 1 1189fd8799cSchristos 1199fd8799cSchristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 1209fd8799cSchristos whether the gnulib module lock shall be considered present. */ 1219fd8799cSchristos #define GNULIB_LOCK 1 1229fd8799cSchristos 1239fd8799cSchristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 1249fd8799cSchristos whether the gnulib module mkostemp shall be considered present. */ 1259fd8799cSchristos #define GNULIB_MKOSTEMP 1 1269fd8799cSchristos 1279fd8799cSchristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 1289fd8799cSchristos whether the gnulib module msvc-nothrow shall be considered present. */ 1299fd8799cSchristos #define GNULIB_MSVC_NOTHROW 1 1309fd8799cSchristos 1319fd8799cSchristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 1329fd8799cSchristos whether the gnulib module openat shall be considered present. */ 1339fd8799cSchristos #define GNULIB_OPENAT 1 1349fd8799cSchristos 1359fd8799cSchristos /* Define to 1 if printf and friends should be labeled with attribute 1369fd8799cSchristos "__gnu_printf__" instead of "__printf__" */ 1379fd8799cSchristos /* #undef GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU */ 1389fd8799cSchristos 1399fd8799cSchristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 1409fd8799cSchristos whether the gnulib module scanf shall be considered present. */ 1419fd8799cSchristos #define GNULIB_SCANF 1 1429fd8799cSchristos 1439fd8799cSchristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 1449fd8799cSchristos whether the gnulib module strerror shall be considered present. */ 1459fd8799cSchristos #define GNULIB_STRERROR 1 1469fd8799cSchristos 1479fd8799cSchristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 1489fd8799cSchristos whether the gnulib module strerror_r-posix shall be considered present. */ 1499fd8799cSchristos #define GNULIB_STRERROR_R_POSIX 1 1509fd8799cSchristos 151a45db23fSchristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 152a45db23fSchristos whether the gnulib module tempname shall be considered present. */ 153a45db23fSchristos #define GNULIB_TEMPNAME 1 154a45db23fSchristos 155a45db23fSchristos /* Define to 1 when the gnulib module accept should be tested. */ 156a45db23fSchristos #define GNULIB_TEST_ACCEPT 1 157a45db23fSchristos 158a45db23fSchristos /* Define to 1 when the gnulib module bind should be tested. */ 159a45db23fSchristos #define GNULIB_TEST_BIND 1 160a45db23fSchristos 1619fd8799cSchristos /* Define to 1 when the gnulib module btowc should be tested. */ 1629fd8799cSchristos #define GNULIB_TEST_BTOWC 1 1639fd8799cSchristos 1649fd8799cSchristos /* Define to 1 when the gnulib module canonicalize_file_name should be tested. 1659fd8799cSchristos */ 1669fd8799cSchristos #define GNULIB_TEST_CANONICALIZE_FILE_NAME 1 1679fd8799cSchristos 1689fd8799cSchristos /* Define to 1 when the gnulib module chdir should be tested. */ 1699fd8799cSchristos #define GNULIB_TEST_CHDIR 1 1709fd8799cSchristos 171a45db23fSchristos /* Define to 1 when the gnulib module chown should be tested. */ 172a45db23fSchristos #define GNULIB_TEST_CHOWN 1 173a45db23fSchristos 1749fd8799cSchristos /* Define to 1 when the gnulib module cloexec should be tested. */ 1759fd8799cSchristos #define GNULIB_TEST_CLOEXEC 1 1769fd8799cSchristos 1779fd8799cSchristos /* Define to 1 when the gnulib module close should be tested. */ 1789fd8799cSchristos #define GNULIB_TEST_CLOSE 1 1799fd8799cSchristos 1809fd8799cSchristos /* Define to 1 when the gnulib module closedir should be tested. */ 1819fd8799cSchristos #define GNULIB_TEST_CLOSEDIR 1 1829fd8799cSchristos 183a45db23fSchristos /* Define to 1 when the gnulib module connect should be tested. */ 184a45db23fSchristos #define GNULIB_TEST_CONNECT 1 185a45db23fSchristos 1869fd8799cSchristos /* Define to 1 when the gnulib module dirfd should be tested. */ 1879fd8799cSchristos #define GNULIB_TEST_DIRFD 1 1889fd8799cSchristos 1899fd8799cSchristos /* Define to 1 when the gnulib module dup should be tested. */ 1909fd8799cSchristos #define GNULIB_TEST_DUP 1 1919fd8799cSchristos 1929fd8799cSchristos /* Define to 1 when the gnulib module dup2 should be tested. */ 1939fd8799cSchristos #define GNULIB_TEST_DUP2 1 1949fd8799cSchristos 1959fd8799cSchristos /* Define to 1 when the gnulib module environ should be tested. */ 1969fd8799cSchristos #define GNULIB_TEST_ENVIRON 1 1979fd8799cSchristos 1989fd8799cSchristos /* Define to 1 when the gnulib module fchdir should be tested. */ 1999fd8799cSchristos #define GNULIB_TEST_FCHDIR 1 2009fd8799cSchristos 2019fd8799cSchristos /* Define to 1 when the gnulib module fcntl should be tested. */ 2029fd8799cSchristos #define GNULIB_TEST_FCNTL 1 2039fd8799cSchristos 2049fd8799cSchristos /* Define to 1 when the gnulib module fdopendir should be tested. */ 2059fd8799cSchristos #define GNULIB_TEST_FDOPENDIR 1 2069fd8799cSchristos 207a45db23fSchristos /* Define to 1 when the gnulib module fgetc should be tested. */ 208a45db23fSchristos #define GNULIB_TEST_FGETC 1 209a45db23fSchristos 210a45db23fSchristos /* Define to 1 when the gnulib module fgets should be tested. */ 211a45db23fSchristos #define GNULIB_TEST_FGETS 1 212a45db23fSchristos 2139fd8799cSchristos /* Define to 1 when the gnulib module fnmatch should be tested. */ 2149fd8799cSchristos #define GNULIB_TEST_FNMATCH 1 2159fd8799cSchristos 216a45db23fSchristos /* Define to 1 when the gnulib module fprintf should be tested. */ 217a45db23fSchristos #define GNULIB_TEST_FPRINTF 1 218a45db23fSchristos 219a45db23fSchristos /* Define to 1 when the gnulib module fputc should be tested. */ 220a45db23fSchristos #define GNULIB_TEST_FPUTC 1 221a45db23fSchristos 222a45db23fSchristos /* Define to 1 when the gnulib module fputs should be tested. */ 223a45db23fSchristos #define GNULIB_TEST_FPUTS 1 224a45db23fSchristos 225a45db23fSchristos /* Define to 1 when the gnulib module fread should be tested. */ 226a45db23fSchristos #define GNULIB_TEST_FREAD 1 227a45db23fSchristos 228a45db23fSchristos /* Define to 1 when the gnulib module free-posix should be tested. */ 229a45db23fSchristos #define GNULIB_TEST_FREE_POSIX 1 230a45db23fSchristos 2319fd8799cSchristos /* Define to 1 when the gnulib module frexp should be tested. */ 2329fd8799cSchristos #define GNULIB_TEST_FREXP 1 2339fd8799cSchristos 2349fd8799cSchristos /* Define to 1 when the gnulib module frexpl should be tested. */ 2359fd8799cSchristos #define GNULIB_TEST_FREXPL 1 2369fd8799cSchristos 237a45db23fSchristos /* Define to 1 when the gnulib module fscanf should be tested. */ 238a45db23fSchristos #define GNULIB_TEST_FSCANF 1 239a45db23fSchristos 2409fd8799cSchristos /* Define to 1 when the gnulib module fstat should be tested. */ 2419fd8799cSchristos #define GNULIB_TEST_FSTAT 1 2429fd8799cSchristos 2439fd8799cSchristos /* Define to 1 when the gnulib module fstatat should be tested. */ 2449fd8799cSchristos #define GNULIB_TEST_FSTATAT 1 2459fd8799cSchristos 246a45db23fSchristos /* Define to 1 when the gnulib module fwrite should be tested. */ 247a45db23fSchristos #define GNULIB_TEST_FWRITE 1 248a45db23fSchristos 249a45db23fSchristos /* Define to 1 when the gnulib module getc should be tested. */ 250a45db23fSchristos #define GNULIB_TEST_GETC 1 251a45db23fSchristos 252a45db23fSchristos /* Define to 1 when the gnulib module getchar should be tested. */ 253a45db23fSchristos #define GNULIB_TEST_GETCHAR 1 254a45db23fSchristos 2559fd8799cSchristos /* Define to 1 when the gnulib module getcwd should be tested. */ 2569fd8799cSchristos #define GNULIB_TEST_GETCWD 1 2579fd8799cSchristos 258a45db23fSchristos /* Define to 1 when the gnulib module getdelim should be tested. */ 259a45db23fSchristos #define GNULIB_TEST_GETDELIM 1 260a45db23fSchristos 2619fd8799cSchristos /* Define to 1 when the gnulib module getdtablesize should be tested. */ 2629fd8799cSchristos #define GNULIB_TEST_GETDTABLESIZE 1 2639fd8799cSchristos 264a45db23fSchristos /* Define to 1 when the gnulib module getline should be tested. */ 265a45db23fSchristos #define GNULIB_TEST_GETLINE 1 266a45db23fSchristos 2679fd8799cSchristos /* Define to 1 when the gnulib module getlogin_r should be tested. */ 2689fd8799cSchristos #define GNULIB_TEST_GETLOGIN_R 1 2699fd8799cSchristos 2709fd8799cSchristos /* Define to 1 when the gnulib module getrandom should be tested. */ 2719fd8799cSchristos #define GNULIB_TEST_GETRANDOM 1 2729fd8799cSchristos 2739fd8799cSchristos /* Define to 1 when the gnulib module gettimeofday should be tested. */ 2749fd8799cSchristos #define GNULIB_TEST_GETTIMEOFDAY 1 2759fd8799cSchristos 2769fd8799cSchristos /* Define to 1 when the gnulib module glob should be tested. */ 2779fd8799cSchristos #define GNULIB_TEST_GLOB 1 2789fd8799cSchristos 279a45db23fSchristos /* Define to 1 when the gnulib module listen should be tested. */ 280a45db23fSchristos #define GNULIB_TEST_LISTEN 1 281a45db23fSchristos 2829fd8799cSchristos /* Define to 1 when the gnulib module lstat should be tested. */ 2839fd8799cSchristos #define GNULIB_TEST_LSTAT 1 2849fd8799cSchristos 2859fd8799cSchristos /* Define to 1 when the gnulib module malloc-posix should be tested. */ 2869fd8799cSchristos #define GNULIB_TEST_MALLOC_POSIX 1 2879fd8799cSchristos 2889fd8799cSchristos /* Define to 1 when the gnulib module mbrtowc should be tested. */ 2899fd8799cSchristos #define GNULIB_TEST_MBRTOWC 1 2909fd8799cSchristos 2919fd8799cSchristos /* Define to 1 when the gnulib module mbsinit should be tested. */ 2929fd8799cSchristos #define GNULIB_TEST_MBSINIT 1 2939fd8799cSchristos 2949fd8799cSchristos /* Define to 1 when the gnulib module mbsrtowcs should be tested. */ 2959fd8799cSchristos #define GNULIB_TEST_MBSRTOWCS 1 2969fd8799cSchristos 2979fd8799cSchristos /* Define to 1 when the gnulib module mbtowc should be tested. */ 2989fd8799cSchristos #define GNULIB_TEST_MBTOWC 1 2999fd8799cSchristos 3009fd8799cSchristos /* Define to 1 when the gnulib module memchr should be tested. */ 3019fd8799cSchristos #define GNULIB_TEST_MEMCHR 1 3029fd8799cSchristos 3039fd8799cSchristos /* Define to 1 when the gnulib module memmem should be tested. */ 3049fd8799cSchristos #define GNULIB_TEST_MEMMEM 1 3059fd8799cSchristos 3069fd8799cSchristos /* Define to 1 when the gnulib module mempcpy should be tested. */ 3079fd8799cSchristos #define GNULIB_TEST_MEMPCPY 1 3089fd8799cSchristos 3099fd8799cSchristos /* Define to 1 when the gnulib module memrchr should be tested. */ 3109fd8799cSchristos #define GNULIB_TEST_MEMRCHR 1 3119fd8799cSchristos 312a45db23fSchristos /* Define to 1 when the gnulib module mkdir should be tested. */ 313a45db23fSchristos #define GNULIB_TEST_MKDIR 1 314a45db23fSchristos 3159fd8799cSchristos /* Define to 1 when the gnulib module mkdtemp should be tested. */ 3169fd8799cSchristos #define GNULIB_TEST_MKDTEMP 1 3179fd8799cSchristos 3189fd8799cSchristos /* Define to 1 when the gnulib module mkostemp should be tested. */ 3199fd8799cSchristos #define GNULIB_TEST_MKOSTEMP 1 3209fd8799cSchristos 3219fd8799cSchristos /* Define to 1 when the gnulib module open should be tested. */ 3229fd8799cSchristos #define GNULIB_TEST_OPEN 1 3239fd8799cSchristos 3249fd8799cSchristos /* Define to 1 when the gnulib module openat should be tested. */ 3259fd8799cSchristos #define GNULIB_TEST_OPENAT 1 3269fd8799cSchristos 3279fd8799cSchristos /* Define to 1 when the gnulib module opendir should be tested. */ 3289fd8799cSchristos #define GNULIB_TEST_OPENDIR 1 3299fd8799cSchristos 330a45db23fSchristos /* Define to 1 when the gnulib module pipe should be tested. */ 331a45db23fSchristos #define GNULIB_TEST_PIPE 1 332a45db23fSchristos 333a45db23fSchristos /* Define to 1 when the gnulib module printf should be tested. */ 334a45db23fSchristos #define GNULIB_TEST_PRINTF 1 335a45db23fSchristos 336a45db23fSchristos /* Define to 1 when the gnulib module putc should be tested. */ 337a45db23fSchristos #define GNULIB_TEST_PUTC 1 338a45db23fSchristos 339a45db23fSchristos /* Define to 1 when the gnulib module putchar should be tested. */ 340a45db23fSchristos #define GNULIB_TEST_PUTCHAR 1 341a45db23fSchristos 342a45db23fSchristos /* Define to 1 when the gnulib module puts should be tested. */ 343a45db23fSchristos #define GNULIB_TEST_PUTS 1 344a45db23fSchristos 3459fd8799cSchristos /* Define to 1 when the gnulib module rawmemchr should be tested. */ 3469fd8799cSchristos #define GNULIB_TEST_RAWMEMCHR 1 3479fd8799cSchristos 3489fd8799cSchristos /* Define to 1 when the gnulib module readdir should be tested. */ 3499fd8799cSchristos #define GNULIB_TEST_READDIR 1 3509fd8799cSchristos 3519fd8799cSchristos /* Define to 1 when the gnulib module readlink should be tested. */ 3529fd8799cSchristos #define GNULIB_TEST_READLINK 1 3539fd8799cSchristos 3549fd8799cSchristos /* Define to 1 when the gnulib module realloc-posix should be tested. */ 3559fd8799cSchristos #define GNULIB_TEST_REALLOC_POSIX 1 3569fd8799cSchristos 3579fd8799cSchristos /* Define to 1 when the gnulib module realpath should be tested. */ 3589fd8799cSchristos #define GNULIB_TEST_REALPATH 1 3599fd8799cSchristos 3609fd8799cSchristos /* Define to 1 when the gnulib module rename should be tested. */ 3619fd8799cSchristos #define GNULIB_TEST_RENAME 1 3629fd8799cSchristos 3639fd8799cSchristos /* Define to 1 when the gnulib module rewinddir should be tested. */ 3649fd8799cSchristos #define GNULIB_TEST_REWINDDIR 1 3659fd8799cSchristos 3669fd8799cSchristos /* Define to 1 when the gnulib module rmdir should be tested. */ 3679fd8799cSchristos #define GNULIB_TEST_RMDIR 1 3689fd8799cSchristos 369a45db23fSchristos /* Define to 1 when the gnulib module scanf should be tested. */ 370a45db23fSchristos #define GNULIB_TEST_SCANF 1 371a45db23fSchristos 372a45db23fSchristos /* Define to 1 when the gnulib module select should be tested. */ 373a45db23fSchristos #define GNULIB_TEST_SELECT 1 374a45db23fSchristos 3759fd8799cSchristos /* Define to 1 when the gnulib module setenv should be tested. */ 3769fd8799cSchristos #define GNULIB_TEST_SETENV 1 3779fd8799cSchristos 3789fd8799cSchristos /* Define to 1 when the gnulib module setlocale_null should be tested. */ 3799fd8799cSchristos #define GNULIB_TEST_SETLOCALE_NULL 1 3809fd8799cSchristos 381a45db23fSchristos /* Define to 1 when the gnulib module setsockopt should be tested. */ 382a45db23fSchristos #define GNULIB_TEST_SETSOCKOPT 1 383a45db23fSchristos 384a45db23fSchristos /* Define to 1 when the gnulib module socket should be tested. */ 385a45db23fSchristos #define GNULIB_TEST_SOCKET 1 386a45db23fSchristos 3879fd8799cSchristos /* Define to 1 when the gnulib module stat should be tested. */ 3889fd8799cSchristos #define GNULIB_TEST_STAT 1 3899fd8799cSchristos 3909fd8799cSchristos /* Define to 1 when the gnulib module strchrnul should be tested. */ 3919fd8799cSchristos #define GNULIB_TEST_STRCHRNUL 1 3929fd8799cSchristos 3939fd8799cSchristos /* Define to 1 when the gnulib module strdup should be tested. */ 3949fd8799cSchristos #define GNULIB_TEST_STRDUP 1 3959fd8799cSchristos 3969fd8799cSchristos /* Define to 1 when the gnulib module strerror should be tested. */ 3979fd8799cSchristos #define GNULIB_TEST_STRERROR 1 3989fd8799cSchristos 3999fd8799cSchristos /* Define to 1 when the gnulib module strerror_r should be tested. */ 4009fd8799cSchristos #define GNULIB_TEST_STRERROR_R 1 4019fd8799cSchristos 4029fd8799cSchristos /* Define to 1 when the gnulib module strnlen should be tested. */ 4039fd8799cSchristos #define GNULIB_TEST_STRNLEN 1 4049fd8799cSchristos 4059fd8799cSchristos /* Define to 1 when the gnulib module strstr should be tested. */ 4069fd8799cSchristos #define GNULIB_TEST_STRSTR 1 4079fd8799cSchristos 4089fd8799cSchristos /* Define to 1 when the gnulib module strtok_r should be tested. */ 4099fd8799cSchristos #define GNULIB_TEST_STRTOK_R 1 4109fd8799cSchristos 4119fd8799cSchristos /* Define to 1 when the gnulib module time_r should be tested. */ 4129fd8799cSchristos #define GNULIB_TEST_TIME_R 1 4139fd8799cSchristos 4149fd8799cSchristos /* Define to 1 when the gnulib module unsetenv should be tested. */ 4159fd8799cSchristos #define GNULIB_TEST_UNSETENV 1 4169fd8799cSchristos 417a45db23fSchristos /* Define to 1 when the gnulib module vfprintf should be tested. */ 418a45db23fSchristos #define GNULIB_TEST_VFPRINTF 1 419a45db23fSchristos 420a45db23fSchristos /* Define to 1 when the gnulib module vprintf should be tested. */ 421a45db23fSchristos #define GNULIB_TEST_VPRINTF 1 422a45db23fSchristos 4239fd8799cSchristos /* Define to 1 when the gnulib module wmemchr should be tested. */ 4249fd8799cSchristos #define GNULIB_TEST_WMEMCHR 1 4259fd8799cSchristos 4269fd8799cSchristos /* Define to 1 when the gnulib module wmempcpy should be tested. */ 4279fd8799cSchristos #define GNULIB_TEST_WMEMPCPY 1 4289fd8799cSchristos 4299fd8799cSchristos /* Define to 1 if you have 'alloca' after including <alloca.h>, a header that 4309fd8799cSchristos may be supplied by this distribution. */ 4319fd8799cSchristos #define HAVE_ALLOCA 1 4329fd8799cSchristos 4339fd8799cSchristos /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix). 4349fd8799cSchristos */ 4359fd8799cSchristos /* #undef HAVE_ALLOCA_H */ 4369fd8799cSchristos 4379fd8799cSchristos /* Define to 1 if you have the <arpa/inet.h> header file. */ 4389fd8799cSchristos #define HAVE_ARPA_INET_H 1 4399fd8799cSchristos 4409fd8799cSchristos /* Define to 1 if you have the <bcrypt.h> header file. */ 4419fd8799cSchristos /* #undef HAVE_BCRYPT_H */ 4429fd8799cSchristos 4439fd8799cSchristos /* Define to 1 if you have the <bp-sym.h> header file. */ 4449fd8799cSchristos /* #undef HAVE_BP_SYM_H */ 4459fd8799cSchristos 4469fd8799cSchristos /* Define to 1 if you have the `btowc' function. */ 4479fd8799cSchristos #define HAVE_BTOWC 1 4489fd8799cSchristos 4499fd8799cSchristos /* Define to 1 if you have the `canonicalize_file_name' function. */ 4509fd8799cSchristos /* #undef HAVE_CANONICALIZE_FILE_NAME */ 4519fd8799cSchristos 4529fd8799cSchristos /* Define to 1 if you have the `catgets' function. */ 4539fd8799cSchristos #define HAVE_CATGETS 1 4549fd8799cSchristos 455a45db23fSchristos /* Define to 1 if you have the `chown' function. */ 456a45db23fSchristos #define HAVE_CHOWN 1 457a45db23fSchristos 458a45db23fSchristos /* Define to 1 if you have the `clock_getres' function. */ 459a45db23fSchristos #define HAVE_CLOCK_GETRES 1 460a45db23fSchristos 461a45db23fSchristos /* Define to 1 if you have the `clock_gettime' function. */ 462a45db23fSchristos #define HAVE_CLOCK_GETTIME 1 463a45db23fSchristos 464a45db23fSchristos /* Define to 1 if you have the `clock_settime' function. */ 465a45db23fSchristos #define HAVE_CLOCK_SETTIME 1 466a45db23fSchristos 4679fd8799cSchristos /* Define to 1 if you have the `closedir' function. */ 4689fd8799cSchristos #define HAVE_CLOSEDIR 1 4699fd8799cSchristos 4709fd8799cSchristos /* Define to 1 if you have the <crtdefs.h> header file. */ 4719fd8799cSchristos /* #undef HAVE_CRTDEFS_H */ 4729fd8799cSchristos 473a45db23fSchristos /* Define to 1 if C supports variable-length arrays. */ 474a45db23fSchristos #define HAVE_C_VARARRAYS 1 475a45db23fSchristos 4769fd8799cSchristos /* Define to 1 if you have the declaration of `alarm', and to 0 if you don't. 4779fd8799cSchristos */ 4789fd8799cSchristos #define HAVE_DECL_ALARM 1 4799fd8799cSchristos 4809fd8799cSchristos /* Define to 1 if you have the declaration of `dirfd', and to 0 if you don't. 4819fd8799cSchristos */ 4829fd8799cSchristos #define HAVE_DECL_DIRFD 1 4839fd8799cSchristos 484a45db23fSchristos /* Define to 1 if you have the declaration of `ecvt', and to 0 if you don't. 485a45db23fSchristos */ 486a45db23fSchristos #define HAVE_DECL_ECVT 0 487a45db23fSchristos 488a45db23fSchristos /* Define to 1 if you have the declaration of `execvpe', and to 0 if you 489a45db23fSchristos don't. */ 490a45db23fSchristos #define HAVE_DECL_EXECVPE 1 491a45db23fSchristos 4929fd8799cSchristos /* Define to 1 if you have the declaration of `fchdir', and to 0 if you don't. 4939fd8799cSchristos */ 4949fd8799cSchristos #define HAVE_DECL_FCHDIR 1 4959fd8799cSchristos 496a45db23fSchristos /* Define to 1 if you have the declaration of `fcloseall', and to 0 if you 497a45db23fSchristos don't. */ 498a45db23fSchristos #define HAVE_DECL_FCLOSEALL 0 499a45db23fSchristos 500a45db23fSchristos /* Define to 1 if you have the declaration of `fcvt', and to 0 if you don't. 501a45db23fSchristos */ 502a45db23fSchristos #define HAVE_DECL_FCVT 0 503a45db23fSchristos 5049fd8799cSchristos /* Define to 1 if you have the declaration of `fdopendir', and to 0 if you 5059fd8799cSchristos don't. */ 5069fd8799cSchristos #define HAVE_DECL_FDOPENDIR 1 5079fd8799cSchristos 508a45db23fSchristos /* Define to 1 if you have the declaration of `gcvt', and to 0 if you don't. 509a45db23fSchristos */ 510a45db23fSchristos #define HAVE_DECL_GCVT 0 511a45db23fSchristos 5129fd8799cSchristos /* Define to 1 if you have the declaration of `getcwd', and to 0 if you don't. 5139fd8799cSchristos */ 5149fd8799cSchristos #define HAVE_DECL_GETCWD 1 5159fd8799cSchristos 516a45db23fSchristos /* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you 517a45db23fSchristos don't. */ 518a45db23fSchristos #define HAVE_DECL_GETC_UNLOCKED 1 519a45db23fSchristos 520a45db23fSchristos /* Define to 1 if you have the declaration of `getdelim', and to 0 if you 521a45db23fSchristos don't. */ 522a45db23fSchristos #define HAVE_DECL_GETDELIM 1 523a45db23fSchristos 5249fd8799cSchristos /* Define to 1 if you have the declaration of `getdtablesize', and to 0 if you 5259fd8799cSchristos don't. */ 5269fd8799cSchristos #define HAVE_DECL_GETDTABLESIZE 1 5279fd8799cSchristos 528a45db23fSchristos /* Define to 1 if you have the declaration of `getline', and to 0 if you 529a45db23fSchristos don't. */ 530a45db23fSchristos #define HAVE_DECL_GETLINE 1 531a45db23fSchristos 5329fd8799cSchristos /* Define to 1 if you have the declaration of `getlogin', and to 0 if you 5339fd8799cSchristos don't. */ 5349fd8799cSchristos #define HAVE_DECL_GETLOGIN 1 5359fd8799cSchristos 5369fd8799cSchristos /* Define to 1 if you have the declaration of `getlogin_r', and to 0 if you 5379fd8799cSchristos don't. */ 5389fd8799cSchristos #define HAVE_DECL_GETLOGIN_R 1 5399fd8799cSchristos 5409fd8799cSchristos /* Define to 1 if you have the declaration of `inet_ntop', and to 0 if you 5419fd8799cSchristos don't. */ 5429fd8799cSchristos #define HAVE_DECL_INET_NTOP 1 5439fd8799cSchristos 5449fd8799cSchristos /* Define to 1 if you have the declaration of `localtime_r', and to 0 if you 5459fd8799cSchristos don't. */ 5469fd8799cSchristos #define HAVE_DECL_LOCALTIME_R 1 5479fd8799cSchristos 5489fd8799cSchristos /* Define to 1 if you have the declaration of `mbrtowc', and to 0 if you 5499fd8799cSchristos don't. */ 5509fd8799cSchristos /* #undef HAVE_DECL_MBRTOWC */ 5519fd8799cSchristos 5529fd8799cSchristos /* Define to 1 if you have the declaration of `mbsinit', and to 0 if you 5539fd8799cSchristos don't. */ 5549fd8799cSchristos /* #undef HAVE_DECL_MBSINIT */ 5559fd8799cSchristos 5569fd8799cSchristos /* Define to 1 if you have the declaration of `mbsrtowcs', and to 0 if you 5579fd8799cSchristos don't. */ 5589fd8799cSchristos /* #undef HAVE_DECL_MBSRTOWCS */ 5599fd8799cSchristos 5609fd8799cSchristos /* Define to 1 if you have the declaration of `memmem', and to 0 if you don't. 5619fd8799cSchristos */ 5629fd8799cSchristos #define HAVE_DECL_MEMMEM 1 5639fd8799cSchristos 5649fd8799cSchristos /* Define to 1 if you have the declaration of `memrchr', and to 0 if you 5659fd8799cSchristos don't. */ 5669fd8799cSchristos #define HAVE_DECL_MEMRCHR 1 5679fd8799cSchristos 5689fd8799cSchristos /* Define to 1 if you have the declaration of `program_invocation_name', and 5699fd8799cSchristos to 0 if you don't. */ 5709fd8799cSchristos #define HAVE_DECL_PROGRAM_INVOCATION_NAME 0 5719fd8799cSchristos 5729fd8799cSchristos /* Define to 1 if you have the declaration of `program_invocation_short_name', 5739fd8799cSchristos and to 0 if you don't. */ 5749fd8799cSchristos #define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME 0 5759fd8799cSchristos 5769fd8799cSchristos /* Define to 1 if you have the declaration of `setenv', and to 0 if you don't. 5779fd8799cSchristos */ 5789fd8799cSchristos #define HAVE_DECL_SETENV 1 5799fd8799cSchristos 5809fd8799cSchristos /* Define to 1 if you have the declaration of `strdup', and to 0 if you don't. 5819fd8799cSchristos */ 5829fd8799cSchristos #define HAVE_DECL_STRDUP 1 5839fd8799cSchristos 5849fd8799cSchristos /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you 5859fd8799cSchristos don't. */ 5869fd8799cSchristos #define HAVE_DECL_STRERROR_R 1 5879fd8799cSchristos 5889fd8799cSchristos /* Define to 1 if you have the declaration of `strnlen', and to 0 if you 5899fd8799cSchristos don't. */ 5909fd8799cSchristos #define HAVE_DECL_STRNLEN 1 5919fd8799cSchristos 5929fd8799cSchristos /* Define to 1 if you have the declaration of `strtok_r', and to 0 if you 5939fd8799cSchristos don't. */ 5949fd8799cSchristos #define HAVE_DECL_STRTOK_R 1 5959fd8799cSchristos 5969fd8799cSchristos /* Define to 1 if you have the declaration of `towlower', and to 0 if you 5979fd8799cSchristos don't. */ 5989fd8799cSchristos /* #undef HAVE_DECL_TOWLOWER */ 5999fd8799cSchristos 6009fd8799cSchristos /* Define to 1 if you have the declaration of `unsetenv', and to 0 if you 6019fd8799cSchristos don't. */ 6029fd8799cSchristos #define HAVE_DECL_UNSETENV 1 6039fd8799cSchristos 604a45db23fSchristos /* Define to 1 if you have the declaration of `wcsdup', and to 0 if you don't. 605a45db23fSchristos */ 606a45db23fSchristos #define HAVE_DECL_WCSDUP 1 607a45db23fSchristos 6089fd8799cSchristos /* Define to 1 if you have the declaration of `__argv', and to 0 if you don't. 6099fd8799cSchristos */ 6109fd8799cSchristos #define HAVE_DECL___ARGV 0 6119fd8799cSchristos 6129fd8799cSchristos /* Define to 1 if you have the <dirent.h> header file. */ 6139fd8799cSchristos #define HAVE_DIRENT_H 1 6149fd8799cSchristos 6159fd8799cSchristos /* Define to 1 if you have the `dirfd' function. */ 6169fd8799cSchristos /* #undef HAVE_DIRFD */ 6179fd8799cSchristos 6189fd8799cSchristos /* Define to 1 if you have the <dlfcn.h> header file. */ 6199fd8799cSchristos #define HAVE_DLFCN_H 1 6209fd8799cSchristos 6219fd8799cSchristos /* Define if you have the declaration of environ. */ 6229fd8799cSchristos /* #undef HAVE_ENVIRON_DECL */ 6239fd8799cSchristos 624a45db23fSchristos /* Define to 1 if you have the `faccessat' function. */ 625a45db23fSchristos #define HAVE_FACCESSAT 1 626a45db23fSchristos 6279fd8799cSchristos /* Define to 1 if you have the `fchdir' function. */ 6289fd8799cSchristos #define HAVE_FCHDIR 1 6299fd8799cSchristos 630a45db23fSchristos /* Define to 1 if you have the `fchown' function. */ 631a45db23fSchristos #define HAVE_FCHOWN 1 632a45db23fSchristos 6339fd8799cSchristos /* Define to 1 if you have the `fcntl' function. */ 6349fd8799cSchristos #define HAVE_FCNTL 1 6359fd8799cSchristos 6369fd8799cSchristos /* Define to 1 if you have the `fdopendir' function. */ 6379fd8799cSchristos #define HAVE_FDOPENDIR 1 6389fd8799cSchristos 6399fd8799cSchristos /* Define to 1 if you have the <features.h> header file. */ 6409fd8799cSchristos /* #undef HAVE_FEATURES_H */ 6419fd8799cSchristos 642a45db23fSchristos /* Define to 1 if you have the `flockfile' function. */ 643a45db23fSchristos #define HAVE_FLOCKFILE 1 644a45db23fSchristos 6459fd8799cSchristos /* Define to 1 if you have the `fnmatch' function. */ 6469fd8799cSchristos #define HAVE_FNMATCH 1 6479fd8799cSchristos 6489fd8799cSchristos /* Define to 1 if you have the <fnmatch.h> header file. */ 6499fd8799cSchristos #define HAVE_FNMATCH_H 1 6509fd8799cSchristos 651a45db23fSchristos /* Define if the 'free' function is guaranteed to preserve errno. */ 652a45db23fSchristos /* #undef HAVE_FREE_POSIX */ 653a45db23fSchristos 6549fd8799cSchristos /* Define if the frexp() function is available and works. */ 655a45db23fSchristos /* #undef HAVE_FREXP */ 6569fd8799cSchristos 6579fd8799cSchristos /* Define if the frexpl() function is available. */ 6589fd8799cSchristos #define HAVE_FREXPL 1 6599fd8799cSchristos 6609fd8799cSchristos /* Define to 1 if you have the `fstatat' function. */ 6619fd8799cSchristos #define HAVE_FSTATAT 1 6629fd8799cSchristos 663a45db23fSchristos /* Define to 1 if you have the `funlockfile' function. */ 664a45db23fSchristos #define HAVE_FUNLOCKFILE 1 665a45db23fSchristos 6669fd8799cSchristos /* Define to 1 if you have the `getcwd' function. */ 6679fd8799cSchristos #define HAVE_GETCWD 1 6689fd8799cSchristos 6699fd8799cSchristos /* Define to 1 if getcwd works, but with shorter paths than is generally 6709fd8799cSchristos tested with the replacement. */ 6719fd8799cSchristos /* #undef HAVE_GETCWD_SHORTER */ 6729fd8799cSchristos 673a45db23fSchristos /* Define to 1 if you have the `getdelim' function. */ 674a45db23fSchristos #define HAVE_GETDELIM 1 675a45db23fSchristos 6769fd8799cSchristos /* Define to 1 if you have the `getdtablesize' function. */ 6779fd8799cSchristos #define HAVE_GETDTABLESIZE 1 6789fd8799cSchristos 6799fd8799cSchristos /* Define to 1 if you have the `getexecname' function. */ 6809fd8799cSchristos /* #undef HAVE_GETEXECNAME */ 6819fd8799cSchristos 6829fd8799cSchristos /* Define to 1 if you have the `getlogin_r' function. */ 6839fd8799cSchristos #define HAVE_GETLOGIN_R 1 6849fd8799cSchristos 6859fd8799cSchristos /* Define to 1 if the system has the 'getpagesize' function. */ 6869fd8799cSchristos /* #undef HAVE_GETPAGESIZE */ 6879fd8799cSchristos 6889fd8799cSchristos /* Define to 1 if you have the `getprogname' function. */ 6899fd8799cSchristos #define HAVE_GETPROGNAME 1 6909fd8799cSchristos 6919fd8799cSchristos /* Define to 1 if you have the `getpwnam_r' function. */ 6929fd8799cSchristos #define HAVE_GETPWNAM_R 1 6939fd8799cSchristos 6949fd8799cSchristos /* Define to 1 if you have the `getrandom' function. */ 6959fd8799cSchristos #define HAVE_GETRANDOM 1 6969fd8799cSchristos 6979fd8799cSchristos /* Define to 1 if you have the `gettimeofday' function. */ 6989fd8799cSchristos #define HAVE_GETTIMEOFDAY 1 6999fd8799cSchristos 7009fd8799cSchristos /* Define to 1 if you have the `glob' function. */ 7019fd8799cSchristos #define HAVE_GLOB 1 7029fd8799cSchristos 7039fd8799cSchristos /* Define to 1 if you have the <glob.h> header file. */ 7049fd8799cSchristos #define HAVE_GLOB_H 1 7059fd8799cSchristos 7069fd8799cSchristos /* Define to 1 if you have the `glob_pattern_p' function. */ 7079fd8799cSchristos #define HAVE_GLOB_PATTERN_P 1 7089fd8799cSchristos 7099fd8799cSchristos /* Define to 1 if you have the `inet_ntop' function. */ 7109fd8799cSchristos /* #undef HAVE_INET_NTOP */ 7119fd8799cSchristos 7129fd8799cSchristos /* Define to 1 if you have the <inttypes.h> header file. */ 7139fd8799cSchristos #define HAVE_INTTYPES_H 1 7149fd8799cSchristos 7159fd8799cSchristos /* Define to 1 if <sys/socket.h> defines AF_INET. */ 7169fd8799cSchristos #define HAVE_IPV4 1 7179fd8799cSchristos 7189fd8799cSchristos /* Define to 1 if <sys/socket.h> defines AF_INET6. */ 7199fd8799cSchristos #define HAVE_IPV6 1 7209fd8799cSchristos 7219fd8799cSchristos /* Define to 1 if you have the `isblank' function. */ 7229fd8799cSchristos #define HAVE_ISBLANK 1 7239fd8799cSchristos 7249fd8799cSchristos /* Define if the isnan(double) function is available in libc. */ 7259fd8799cSchristos #define HAVE_ISNAND_IN_LIBC 1 7269fd8799cSchristos 7279fd8799cSchristos /* Define if the isnan(long double) function is available in libc. */ 7289fd8799cSchristos #define HAVE_ISNANL_IN_LIBC 1 7299fd8799cSchristos 7309fd8799cSchristos /* Define to 1 if you have the `iswcntrl' function. */ 7319fd8799cSchristos #define HAVE_ISWCNTRL 1 7329fd8799cSchristos 7339fd8799cSchristos /* Define if you have <langinfo.h> and nl_langinfo(CODESET). */ 7349fd8799cSchristos #define HAVE_LANGINFO_CODESET 1 7359fd8799cSchristos 7369fd8799cSchristos /* Define to 1 if the bcrypt library is guaranteed to be present. */ 7379fd8799cSchristos /* #undef HAVE_LIB_BCRYPT */ 7389fd8799cSchristos 7399fd8799cSchristos /* Define to 1 if you have the <limits.h> header file. */ 7409fd8799cSchristos #define HAVE_LIMITS_H 1 7419fd8799cSchristos 7429fd8799cSchristos /* Define to 1 if you have the `link' function. */ 7439fd8799cSchristos #define HAVE_LINK 1 7449fd8799cSchristos 7459fd8799cSchristos /* Define to 1 if you have the `localtime_r' function. */ 7469fd8799cSchristos #define HAVE_LOCALTIME_R 1 7479fd8799cSchristos 7489fd8799cSchristos /* Define to 1 if the system has the type 'long long int'. */ 7499fd8799cSchristos #define HAVE_LONG_LONG_INT 1 7509fd8799cSchristos 7519fd8799cSchristos /* Define to 1 if you have the `lstat' function. */ 7529fd8799cSchristos #define HAVE_LSTAT 1 7539fd8799cSchristos 754a45db23fSchristos /* Define if malloc, realloc, and calloc set errno on allocation failure. */ 7559fd8799cSchristos #define HAVE_MALLOC_POSIX 1 7569fd8799cSchristos 7579fd8799cSchristos /* Define to 1 if mmap()'s MAP_ANONYMOUS flag is available after including 7589fd8799cSchristos config.h and <sys/mman.h>. */ 7599fd8799cSchristos #define HAVE_MAP_ANONYMOUS 1 7609fd8799cSchristos 7619fd8799cSchristos /* Define to 1 if you have the <math.h> header file. */ 7629fd8799cSchristos #define HAVE_MATH_H 1 7639fd8799cSchristos 7649fd8799cSchristos /* Define to 1 if you have the `mbrtowc' function. */ 7659fd8799cSchristos #define HAVE_MBRTOWC 1 7669fd8799cSchristos 7679fd8799cSchristos /* Define to 1 if you have the `mbsinit' function. */ 7689fd8799cSchristos #define HAVE_MBSINIT 1 7699fd8799cSchristos 7709fd8799cSchristos /* Define to 1 if you have the `mbsrtowcs' function. */ 7719fd8799cSchristos #define HAVE_MBSRTOWCS 1 7729fd8799cSchristos 7739fd8799cSchristos /* Define to 1 if <wchar.h> declares mbstate_t. */ 7749fd8799cSchristos #define HAVE_MBSTATE_T 1 7759fd8799cSchristos 7769fd8799cSchristos /* Define to 1 if you have the `mbtowc' function. */ 7779fd8799cSchristos #define HAVE_MBTOWC 1 7789fd8799cSchristos 7799fd8799cSchristos /* Define to 1 if you have the `memmem' function. */ 7809fd8799cSchristos #define HAVE_MEMMEM 1 7819fd8799cSchristos 7829fd8799cSchristos /* Define to 1 if you have the <memory.h> header file. */ 7839fd8799cSchristos #define HAVE_MEMORY_H 1 7849fd8799cSchristos 7859fd8799cSchristos /* Define to 1 if you have the `mempcpy' function. */ 786a45db23fSchristos #define HAVE_MEMPCPY 1 7879fd8799cSchristos 7889fd8799cSchristos /* Define to 1 if you have the `memrchr' function. */ 7899fd8799cSchristos #define HAVE_MEMRCHR 1 7909fd8799cSchristos 7919fd8799cSchristos /* Define to 1 if getcwd minimally works, that is, its result can be trusted 7929fd8799cSchristos when it succeeds. */ 7939fd8799cSchristos /* #undef HAVE_MINIMALLY_WORKING_GETCWD */ 7949fd8799cSchristos 795a45db23fSchristos /* Define to 1 if you have the <minix/config.h> header file. */ 796a45db23fSchristos /* #undef HAVE_MINIX_CONFIG_H */ 797a45db23fSchristos 7989fd8799cSchristos /* Define to 1 if <limits.h> defines the MIN and MAX macros. */ 7999fd8799cSchristos /* #undef HAVE_MINMAX_IN_LIMITS_H */ 8009fd8799cSchristos 8019fd8799cSchristos /* Define to 1 if <sys/param.h> defines the MIN and MAX macros. */ 8029fd8799cSchristos #define HAVE_MINMAX_IN_SYS_PARAM_H 1 8039fd8799cSchristos 8049fd8799cSchristos /* Define to 1 if you have the `mkdtemp' function. */ 8059fd8799cSchristos #define HAVE_MKDTEMP 1 8069fd8799cSchristos 8079fd8799cSchristos /* Define to 1 if you have the `mkostemp' function. */ 8089fd8799cSchristos #define HAVE_MKOSTEMP 1 8099fd8799cSchristos 8109fd8799cSchristos /* Define to 1 if you have the `mprotect' function. */ 8119fd8799cSchristos #define HAVE_MPROTECT 1 8129fd8799cSchristos 8139fd8799cSchristos /* Define to 1 on MSVC platforms that have the "invalid parameter handler" 8149fd8799cSchristos concept. */ 8159fd8799cSchristos /* #undef HAVE_MSVC_INVALID_PARAMETER_HANDLER */ 8169fd8799cSchristos 8179fd8799cSchristos /* Define to 1 if you have the <netdb.h> header file. */ 8189fd8799cSchristos #define HAVE_NETDB_H 1 8199fd8799cSchristos 8209fd8799cSchristos /* Define to 1 if you have the <netinet/in.h> header file. */ 8219fd8799cSchristos #define HAVE_NETINET_IN_H 1 8229fd8799cSchristos 8239fd8799cSchristos /* Define to 1 if you have the `openat' function. */ 8249fd8799cSchristos #define HAVE_OPENAT 1 8259fd8799cSchristos 8269fd8799cSchristos /* Define to 1 if you have the `opendir' function. */ 8279fd8799cSchristos #define HAVE_OPENDIR 1 8289fd8799cSchristos 8299fd8799cSchristos /* Define to 1 if getcwd works, except it sometimes fails when it shouldn't, 8309fd8799cSchristos setting errno to ERANGE, ENAMETOOLONG, or ENOENT. */ 8319fd8799cSchristos /* #undef HAVE_PARTLY_WORKING_GETCWD */ 8329fd8799cSchristos 8339fd8799cSchristos /* Define to 1 if you have the `pipe' function. */ 8349fd8799cSchristos #define HAVE_PIPE 1 8359fd8799cSchristos 8369fd8799cSchristos /* Define if you have the <pthread.h> header and the POSIX threads API. */ 8379fd8799cSchristos #define HAVE_PTHREAD_API 1 8389fd8799cSchristos 8399fd8799cSchristos /* Define if the <pthread.h> defines PTHREAD_MUTEX_RECURSIVE. */ 8409fd8799cSchristos #define HAVE_PTHREAD_MUTEX_RECURSIVE 1 8419fd8799cSchristos 8429fd8799cSchristos /* Define if the POSIX multithreading library has read/write locks. */ 8439fd8799cSchristos #define HAVE_PTHREAD_RWLOCK 1 8449fd8799cSchristos 8459fd8799cSchristos /* Define if the 'pthread_rwlock_rdlock' function prefers a writer to a 8469fd8799cSchristos reader. */ 8479fd8799cSchristos /* #undef HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER */ 8489fd8799cSchristos 8499fd8799cSchristos /* Define to 1 if you have the `rawmemchr' function. */ 8509fd8799cSchristos /* #undef HAVE_RAWMEMCHR */ 8519fd8799cSchristos 8529fd8799cSchristos /* Define to 1 if you have the `readdir' function. */ 8539fd8799cSchristos #define HAVE_READDIR 1 8549fd8799cSchristos 8559fd8799cSchristos /* Define to 1 if you have the `readlink' function. */ 8569fd8799cSchristos #define HAVE_READLINK 1 8579fd8799cSchristos 8589fd8799cSchristos /* Define to 1 if you have the `realpath' function. */ 8599fd8799cSchristos #define HAVE_REALPATH 1 8609fd8799cSchristos 8619fd8799cSchristos /* Define to 1 if you have the `rewinddir' function. */ 8629fd8799cSchristos #define HAVE_REWINDDIR 1 8639fd8799cSchristos 8649fd8799cSchristos /* Define to 1 if 'long double' and 'double' have the same representation. */ 8659fd8799cSchristos #define HAVE_SAME_LONG_DOUBLE_AS_DOUBLE 1 8669fd8799cSchristos 8679fd8799cSchristos /* Define to 1 if the system has the type `sa_family_t'. */ 8689fd8799cSchristos #define HAVE_SA_FAMILY_T 1 8699fd8799cSchristos 870a45db23fSchristos /* Define to 1 if you have the <sdkddkver.h> header file. */ 871a45db23fSchristos /* #undef HAVE_SDKDDKVER_H */ 872a45db23fSchristos 8739fd8799cSchristos /* Define to 1 if you have the <search.h> header file. */ 8749fd8799cSchristos #define HAVE_SEARCH_H 1 8759fd8799cSchristos 8769fd8799cSchristos /* Define to 1 if you have the `setdtablesize' function. */ 8779fd8799cSchristos /* #undef HAVE_SETDTABLESIZE */ 8789fd8799cSchristos 8799fd8799cSchristos /* Define to 1 if you have the `setenv' function. */ 8809fd8799cSchristos #define HAVE_SETENV 1 8819fd8799cSchristos 8829fd8799cSchristos /* Define to 1 if you have the `shutdown' function. */ 8839fd8799cSchristos #define HAVE_SHUTDOWN 1 8849fd8799cSchristos 8859fd8799cSchristos /* Define to 1 if 'sig_atomic_t' is a signed integer type. */ 8869fd8799cSchristos /* #undef HAVE_SIGNED_SIG_ATOMIC_T */ 8879fd8799cSchristos 8889fd8799cSchristos /* Define to 1 if 'wchar_t' is a signed integer type. */ 8899fd8799cSchristos /* #undef HAVE_SIGNED_WCHAR_T */ 8909fd8799cSchristos 8919fd8799cSchristos /* Define to 1 if 'wint_t' is a signed integer type. */ 8929fd8799cSchristos /* #undef HAVE_SIGNED_WINT_T */ 8939fd8799cSchristos 8949fd8799cSchristos /* Define to 1 if the system has the type `sigset_t'. */ 8959fd8799cSchristos #define HAVE_SIGSET_T 1 8969fd8799cSchristos 8979fd8799cSchristos /* Define to 1 if you have the `snprintf' function. */ 8989fd8799cSchristos #define HAVE_SNPRINTF 1 8999fd8799cSchristos 9009fd8799cSchristos /* Define to 1 if you have the <stdint.h> header file. */ 9019fd8799cSchristos #define HAVE_STDINT_H 1 9029fd8799cSchristos 9039fd8799cSchristos /* Define to 1 if you have the <stdlib.h> header file. */ 9049fd8799cSchristos #define HAVE_STDLIB_H 1 9059fd8799cSchristos 9069fd8799cSchristos /* Define to 1 if you have the `strchrnul' function. */ 9079fd8799cSchristos #define HAVE_STRCHRNUL 1 9089fd8799cSchristos 9099fd8799cSchristos /* Define to 1 if you have the `strerror_r' function. */ 9109fd8799cSchristos #define HAVE_STRERROR_R 1 9119fd8799cSchristos 9129fd8799cSchristos /* Define to 1 if you have the <strings.h> header file. */ 9139fd8799cSchristos #define HAVE_STRINGS_H 1 9149fd8799cSchristos 9159fd8799cSchristos /* Define to 1 if you have the <string.h> header file. */ 9169fd8799cSchristos #define HAVE_STRING_H 1 9179fd8799cSchristos 9189fd8799cSchristos /* Define to 1 if you have the `strtok_r' function. */ 9199fd8799cSchristos #define HAVE_STRTOK_R 1 9209fd8799cSchristos 9219fd8799cSchristos /* Define if there is a member named d_type in the struct describing directory 9229fd8799cSchristos headers. */ 9239fd8799cSchristos #define HAVE_STRUCT_DIRENT_D_TYPE 1 9249fd8799cSchristos 9259fd8799cSchristos /* Define to 1 if the system has the type `struct sockaddr_storage'. */ 9269fd8799cSchristos #define HAVE_STRUCT_SOCKADDR_STORAGE 1 9279fd8799cSchristos 9289fd8799cSchristos /* Define to 1 if `ss_family' is a member of `struct sockaddr_storage'. */ 9299fd8799cSchristos #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 9309fd8799cSchristos 9319fd8799cSchristos /* Define to 1 if `st_atimensec' is a member of `struct stat'. */ 9329fd8799cSchristos /* #undef HAVE_STRUCT_STAT_ST_ATIMENSEC */ 9339fd8799cSchristos 9349fd8799cSchristos /* Define to 1 if `st_atimespec.tv_nsec' is a member of `struct stat'. */ 9359fd8799cSchristos /* #undef HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC */ 9369fd8799cSchristos 9379fd8799cSchristos /* Define to 1 if `st_atim.st__tim.tv_nsec' is a member of `struct stat'. */ 9389fd8799cSchristos /* #undef HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC */ 9399fd8799cSchristos 9409fd8799cSchristos /* Define to 1 if `st_atim.tv_nsec' is a member of `struct stat'. */ 9419fd8799cSchristos #define HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC 1 9429fd8799cSchristos 9439fd8799cSchristos /* Define to 1 if `st_birthtimensec' is a member of `struct stat'. */ 9449fd8799cSchristos /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC */ 9459fd8799cSchristos 9469fd8799cSchristos /* Define to 1 if `st_birthtimespec.tv_nsec' is a member of `struct stat'. */ 9479fd8799cSchristos #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC 1 9489fd8799cSchristos 9499fd8799cSchristos /* Define to 1 if `st_birthtim.tv_nsec' is a member of `struct stat'. */ 9509fd8799cSchristos /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIM_TV_NSEC */ 9519fd8799cSchristos 9529fd8799cSchristos /* Define to 1 if you have the `symlink' function. */ 9539fd8799cSchristos #define HAVE_SYMLINK 1 9549fd8799cSchristos 9559fd8799cSchristos /* Define to 1 if you have the <sys/bitypes.h> header file. */ 9569fd8799cSchristos /* #undef HAVE_SYS_BITYPES_H */ 9579fd8799cSchristos 9589fd8799cSchristos /* Define to 1 if you have the <sys/inttypes.h> header file. */ 9599fd8799cSchristos /* #undef HAVE_SYS_INTTYPES_H */ 9609fd8799cSchristos 9619fd8799cSchristos /* Define to 1 if you have the <sys/mman.h> header file. */ 9629fd8799cSchristos #define HAVE_SYS_MMAN_H 1 9639fd8799cSchristos 9649fd8799cSchristos /* Define to 1 if you have the <sys/param.h> header file. */ 9659fd8799cSchristos #define HAVE_SYS_PARAM_H 1 9669fd8799cSchristos 9679fd8799cSchristos /* Define to 1 if you have the <sys/random.h> header file. */ 9689fd8799cSchristos #define HAVE_SYS_RANDOM_H 1 9699fd8799cSchristos 970a45db23fSchristos /* Define to 1 if you have the <sys/select.h> header file. */ 971a45db23fSchristos #define HAVE_SYS_SELECT_H 1 972a45db23fSchristos 9739fd8799cSchristos /* Define to 1 if you have the <sys/socket.h> header file. */ 9749fd8799cSchristos #define HAVE_SYS_SOCKET_H 1 9759fd8799cSchristos 9769fd8799cSchristos /* Define to 1 if you have the <sys/stat.h> header file. */ 9779fd8799cSchristos #define HAVE_SYS_STAT_H 1 9789fd8799cSchristos 9799fd8799cSchristos /* Define to 1 if you have the <sys/time.h> header file. */ 9809fd8799cSchristos #define HAVE_SYS_TIME_H 1 9819fd8799cSchristos 9829fd8799cSchristos /* Define to 1 if you have the <sys/types.h> header file. */ 9839fd8799cSchristos #define HAVE_SYS_TYPES_H 1 9849fd8799cSchristos 9859fd8799cSchristos /* Define to 1 if you have the <sys/uio.h> header file. */ 9869fd8799cSchristos #define HAVE_SYS_UIO_H 1 9879fd8799cSchristos 988a45db23fSchristos /* Define to 1 if you have the <sys/wait.h> header file. */ 989a45db23fSchristos #define HAVE_SYS_WAIT_H 1 990a45db23fSchristos 9919fd8799cSchristos /* Define to 1 if you have the `thrd_create' function. */ 9929fd8799cSchristos /* #undef HAVE_THRD_CREATE */ 9939fd8799cSchristos 9949fd8799cSchristos /* Define to 1 if you have the <threads.h> header file. */ 9959fd8799cSchristos #define HAVE_THREADS_H 1 9969fd8799cSchristos 9979fd8799cSchristos /* Define to 1 if you have the `towlower' function. */ 9989fd8799cSchristos #define HAVE_TOWLOWER 1 9999fd8799cSchristos 10009fd8799cSchristos /* Define to 1 if you have the `tsearch' function. */ 10019fd8799cSchristos #define HAVE_TSEARCH 1 10029fd8799cSchristos 10039fd8799cSchristos /* Define to 1 if you have the <unistd.h> header file. */ 10049fd8799cSchristos #define HAVE_UNISTD_H 1 10059fd8799cSchristos 10069fd8799cSchristos /* Define to 1 if you have the `unsetenv' function. */ 10079fd8799cSchristos #define HAVE_UNSETENV 1 10089fd8799cSchristos 10099fd8799cSchristos /* Define to 1 if the system has the type 'unsigned long long int'. */ 10109fd8799cSchristos #define HAVE_UNSIGNED_LONG_LONG_INT 1 10119fd8799cSchristos 10129fd8799cSchristos /* Define if you have a global __progname variable */ 10139fd8799cSchristos #define HAVE_VAR___PROGNAME 1 10149fd8799cSchristos 10159fd8799cSchristos /* Define to 1 or 0, depending whether the compiler supports simple visibility 10169fd8799cSchristos declarations. */ 10179fd8799cSchristos #define HAVE_VISIBILITY 1 10189fd8799cSchristos 10199fd8799cSchristos /* Define to 1 if you have the <wchar.h> header file. */ 10209fd8799cSchristos #define HAVE_WCHAR_H 1 10219fd8799cSchristos 10229fd8799cSchristos /* Define if you have the 'wchar_t' type. */ 10239fd8799cSchristos #define HAVE_WCHAR_T 1 10249fd8799cSchristos 10259fd8799cSchristos /* Define to 1 if you have the <wctype.h> header file. */ 10269fd8799cSchristos #define HAVE_WCTYPE_H 1 10279fd8799cSchristos 10289fd8799cSchristos /* Define to 1 if the compiler and linker support weak declarations of 10299fd8799cSchristos symbols. */ 10309fd8799cSchristos #define HAVE_WEAK_SYMBOLS 1 10319fd8799cSchristos 10329fd8799cSchristos /* Define to 1 if you have the <windows.h> header file. */ 10339fd8799cSchristos /* #undef HAVE_WINDOWS_H */ 10349fd8799cSchristos 10359fd8799cSchristos /* Define to 1 if you have the <winsock2.h> header file. */ 10369fd8799cSchristos /* #undef HAVE_WINSOCK2_H */ 10379fd8799cSchristos 10389fd8799cSchristos /* Define if you have the 'wint_t' type. */ 10399fd8799cSchristos #define HAVE_WINT_T 1 10409fd8799cSchristos 10419fd8799cSchristos /* Define to 1 if you have the `wmempcpy' function. */ 1042a45db23fSchristos #define HAVE_WMEMPCPY 1 10439fd8799cSchristos 10449fd8799cSchristos /* Define to 1 if fstatat (..., 0) works. For example, it does not work in AIX 10459fd8799cSchristos 7.1. */ 1046a45db23fSchristos #define HAVE_WORKING_FSTATAT_ZERO_FLAG 1 10479fd8799cSchristos 10489fd8799cSchristos /* Define to 1 if O_NOATIME works. */ 10499fd8799cSchristos #define HAVE_WORKING_O_NOATIME 0 10509fd8799cSchristos 10519fd8799cSchristos /* Define to 1 if O_NOFOLLOW works. */ 10529fd8799cSchristos #define HAVE_WORKING_O_NOFOLLOW 0 10539fd8799cSchristos 10549fd8799cSchristos /* Define to 1 if you have the <ws2tcpip.h> header file. */ 10559fd8799cSchristos /* #undef HAVE_WS2TCPIP_H */ 10569fd8799cSchristos 10579fd8799cSchristos /* Define to 1 if you have the <xlocale.h> header file. */ 10589fd8799cSchristos /* #undef HAVE_XLOCALE_H */ 10599fd8799cSchristos 10609fd8799cSchristos /* Define to 1 if the system has the type `_Bool'. */ 10619fd8799cSchristos #define HAVE__BOOL 1 10629fd8799cSchristos 10639fd8799cSchristos /* Define to 1 if you have the `_set_invalid_parameter_handler' function. */ 10649fd8799cSchristos /* #undef HAVE__SET_INVALID_PARAMETER_HANDLER */ 10659fd8799cSchristos 10669fd8799cSchristos /* Define to 1 if the compiler supports __builtin_expect, 10679fd8799cSchristos and to 2 if <builtins.h> does. */ 10689fd8799cSchristos #define HAVE___BUILTIN_EXPECT 1 10699fd8799cSchristos #ifndef HAVE___BUILTIN_EXPECT 10709fd8799cSchristos # define __builtin_expect(e, c) (e) 10719fd8799cSchristos #elif HAVE___BUILTIN_EXPECT == 2 10729fd8799cSchristos # include <builtins.h> 10739fd8799cSchristos #endif 10749fd8799cSchristos 10759fd8799cSchristos 1076a45db23fSchristos /* Define to 1 if ctype.h defines __header_inline. */ 1077a45db23fSchristos /* #undef HAVE___HEADER_INLINE */ 1078a45db23fSchristos 1079a45db23fSchristos /* Please see the Gnulib manual for how to use these macros. 1080a45db23fSchristos 1081a45db23fSchristos Suppress extern inline with HP-UX cc, as it appears to be broken; see 1082a45db23fSchristos <https://lists.gnu.org/r/bug-texinfo/2013-02/msg00030.html>. 1083a45db23fSchristos 1084a45db23fSchristos Suppress extern inline with Sun C in standards-conformance mode, as it 1085a45db23fSchristos mishandles inline functions that call each other. E.g., for 'inline void f 1086a45db23fSchristos (void) { } inline void g (void) { f (); }', c99 incorrectly complains 1087a45db23fSchristos 'reference to static identifier "f" in extern inline function'. 1088a45db23fSchristos This bug was observed with Oracle Developer Studio 12.6 1089a45db23fSchristos (Sun C 5.15 SunOS_sparc 2017/05/30). 1090a45db23fSchristos 1091a45db23fSchristos Suppress extern inline (with or without __attribute__ ((__gnu_inline__))) 1092a45db23fSchristos on configurations that mistakenly use 'static inline' to implement 1093a45db23fSchristos functions or macros in standard C headers like <ctype.h>. For example, 1094a45db23fSchristos if isdigit is mistakenly implemented via a static inline function, 1095a45db23fSchristos a program containing an extern inline function that calls isdigit 1096a45db23fSchristos may not work since the C standard prohibits extern inline functions 1097a45db23fSchristos from calling static functions (ISO C 99 section 6.7.4.(3). 1098a45db23fSchristos This bug is known to occur on: 1099a45db23fSchristos 1100a45db23fSchristos OS X 10.8 and earlier; see: 1101a45db23fSchristos https://lists.gnu.org/r/bug-gnulib/2012-12/msg00023.html 1102a45db23fSchristos 1103a45db23fSchristos DragonFly; see 1104a45db23fSchristos http://muscles.dragonflybsd.org/bulk/clang-master-potential/20141111_102002/logs/ah-tty-0.3.12.log 1105a45db23fSchristos 1106a45db23fSchristos FreeBSD; see: 1107a45db23fSchristos https://lists.gnu.org/r/bug-gnulib/2014-07/msg00104.html 1108a45db23fSchristos 1109a45db23fSchristos OS X 10.9 has a macro __header_inline indicating the bug is fixed for C and 1110a45db23fSchristos for clang but remains for g++; see <https://trac.macports.org/ticket/41033>. 1111a45db23fSchristos Assume DragonFly and FreeBSD will be similar. 1112a45db23fSchristos 1113a45db23fSchristos GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99 1114a45db23fSchristos inline semantics, unless -fgnu89-inline is used. It defines a macro 1115a45db23fSchristos __GNUC_STDC_INLINE__ to indicate this situation or a macro 1116a45db23fSchristos __GNUC_GNU_INLINE__ to indicate the opposite situation. 1117a45db23fSchristos GCC 4.2 with -std=c99 or -std=gnu99 implements the GNU C inline 1118a45db23fSchristos semantics but warns, unless -fgnu89-inline is used: 1119a45db23fSchristos warning: C99 inline functions are not supported; using GNU89 1120a45db23fSchristos warning: to disable this warning use -fgnu89-inline or the gnu_inline function attribute 1121a45db23fSchristos It defines a macro __GNUC_GNU_INLINE__ to indicate this situation. 1122a45db23fSchristos */ 1123a45db23fSchristos #if (((defined __APPLE__ && defined __MACH__) \ 1124a45db23fSchristos || defined __DragonFly__ || defined __FreeBSD__) \ 1125a45db23fSchristos && (defined HAVE___HEADER_INLINE \ 1126a45db23fSchristos ? (defined __cplusplus && defined __GNUC_STDC_INLINE__ \ 1127a45db23fSchristos && ! defined __clang__) \ 1128a45db23fSchristos : ((! defined _DONT_USE_CTYPE_INLINE_ \ 1129a45db23fSchristos && (defined __GNUC__ || defined __cplusplus)) \ 1130a45db23fSchristos || (defined _FORTIFY_SOURCE && 0 < _FORTIFY_SOURCE \ 1131a45db23fSchristos && defined __GNUC__ && ! defined __cplusplus)))) 1132a45db23fSchristos # define _GL_EXTERN_INLINE_STDHEADER_BUG 1133a45db23fSchristos #endif 1134a45db23fSchristos #if ((__GNUC__ \ 1135a45db23fSchristos ? defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ \ 1136a45db23fSchristos : (199901L <= __STDC_VERSION__ \ 1137a45db23fSchristos && !defined __HP_cc \ 1138a45db23fSchristos && !defined __PGI \ 1139a45db23fSchristos && !(defined __SUNPRO_C && __STDC__))) \ 1140a45db23fSchristos && !defined _GL_EXTERN_INLINE_STDHEADER_BUG) 1141a45db23fSchristos # define _GL_INLINE inline 1142a45db23fSchristos # define _GL_EXTERN_INLINE extern inline 1143a45db23fSchristos # define _GL_EXTERN_INLINE_IN_USE 1144a45db23fSchristos #elif (2 < __GNUC__ + (7 <= __GNUC_MINOR__) && !defined __STRICT_ANSI__ \ 1145a45db23fSchristos && !defined _GL_EXTERN_INLINE_STDHEADER_BUG) 1146a45db23fSchristos # if defined __GNUC_GNU_INLINE__ && __GNUC_GNU_INLINE__ 1147a45db23fSchristos /* __gnu_inline__ suppresses a GCC 4.2 diagnostic. */ 1148a45db23fSchristos # define _GL_INLINE extern inline __attribute__ ((__gnu_inline__)) 1149a45db23fSchristos # else 1150a45db23fSchristos # define _GL_INLINE extern inline 1151a45db23fSchristos # endif 1152a45db23fSchristos # define _GL_EXTERN_INLINE extern 1153a45db23fSchristos # define _GL_EXTERN_INLINE_IN_USE 1154a45db23fSchristos #else 1155a45db23fSchristos # define _GL_INLINE _GL_UNUSED static 1156a45db23fSchristos # define _GL_EXTERN_INLINE _GL_UNUSED static 1157a45db23fSchristos #endif 1158a45db23fSchristos 1159a45db23fSchristos /* In GCC 4.6 (inclusive) to 5.1 (exclusive), 1160a45db23fSchristos suppress bogus "no previous prototype for 'FOO'" 1161a45db23fSchristos and "no previous declaration for 'FOO'" diagnostics, 1162a45db23fSchristos when FOO is an inline function in the header; see 1163a45db23fSchristos <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54113> and 1164a45db23fSchristos <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63877>. */ 1165a45db23fSchristos #if __GNUC__ == 4 && 6 <= __GNUC_MINOR__ 1166a45db23fSchristos # if defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ 1167a45db23fSchristos # define _GL_INLINE_HEADER_CONST_PRAGMA 1168a45db23fSchristos # else 1169a45db23fSchristos # define _GL_INLINE_HEADER_CONST_PRAGMA \ 1170a45db23fSchristos _Pragma ("GCC diagnostic ignored \"-Wsuggest-attribute=const\"") 1171a45db23fSchristos # endif 1172a45db23fSchristos # define _GL_INLINE_HEADER_BEGIN \ 1173a45db23fSchristos _Pragma ("GCC diagnostic push") \ 1174a45db23fSchristos _Pragma ("GCC diagnostic ignored \"-Wmissing-prototypes\"") \ 1175a45db23fSchristos _Pragma ("GCC diagnostic ignored \"-Wmissing-declarations\"") \ 1176a45db23fSchristos _GL_INLINE_HEADER_CONST_PRAGMA 1177a45db23fSchristos # define _GL_INLINE_HEADER_END \ 1178a45db23fSchristos _Pragma ("GCC diagnostic pop") 1179a45db23fSchristos #else 1180a45db23fSchristos # define _GL_INLINE_HEADER_BEGIN 1181a45db23fSchristos # define _GL_INLINE_HEADER_END 1182a45db23fSchristos #endif 1183a45db23fSchristos 11849fd8799cSchristos /* Define to 1 if the compiler supports the keyword '__inline'. */ 11859fd8799cSchristos #define HAVE___INLINE 1 11869fd8799cSchristos 11879fd8799cSchristos /* Define to 1 if you have the `__xpg_strerror_r' function. */ 11889fd8799cSchristos /* #undef HAVE___XPG_STRERROR_R */ 11899fd8799cSchristos 11909fd8799cSchristos /* Define as the bit index in the word where to find bit 0 of the exponent of 11919fd8799cSchristos 'long double'. */ 11929fd8799cSchristos /* #undef LDBL_EXPBIT0_BIT */ 11939fd8799cSchristos 11949fd8799cSchristos /* Define as the word index where to find the exponent of 'long double'. */ 11959fd8799cSchristos /* #undef LDBL_EXPBIT0_WORD */ 11969fd8799cSchristos 11979fd8799cSchristos /* Define to 1 if 'lstat' dereferences a symlink specified with a trailing 11989fd8799cSchristos slash. */ 1199a45db23fSchristos /* #undef LSTAT_FOLLOWS_SLASHED_SYMLINK */ 12009fd8799cSchristos 12019fd8799cSchristos /* If malloc(0) is != NULL, define this to 1. Otherwise define this to 0. */ 12029fd8799cSchristos #define MALLOC_0_IS_NONNULL 1 12039fd8799cSchristos 12049fd8799cSchristos /* Define to a substitute value for mmap()'s MAP_ANONYMOUS flag. */ 12059fd8799cSchristos /* #undef MAP_ANONYMOUS */ 12069fd8799cSchristos 12079fd8799cSchristos /* Define if the mbrtowc function does not return (size_t) -2 for empty input. 12089fd8799cSchristos */ 12099fd8799cSchristos /* #undef MBRTOWC_EMPTY_INPUT_BUG */ 12109fd8799cSchristos 12119fd8799cSchristos /* Define if the mbrtowc function may signal encoding errors in the C locale. 12129fd8799cSchristos */ 1213a45db23fSchristos #define MBRTOWC_IN_C_LOCALE_MAYBE_EILSEQ 1 12149fd8799cSchristos 12159fd8799cSchristos /* Define if the mbrtowc function has the NULL pwc argument bug. */ 12169fd8799cSchristos /* #undef MBRTOWC_NULL_ARG1_BUG */ 12179fd8799cSchristos 12189fd8799cSchristos /* Define if the mbrtowc function has the NULL string argument bug. */ 12199fd8799cSchristos /* #undef MBRTOWC_NULL_ARG2_BUG */ 12209fd8799cSchristos 12219fd8799cSchristos /* Define if the mbrtowc function does not return 0 for a NUL character. */ 12229fd8799cSchristos /* #undef MBRTOWC_NUL_RETVAL_BUG */ 12239fd8799cSchristos 12249fd8799cSchristos /* Define if the mbrtowc function returns a wrong return value. */ 12259fd8799cSchristos /* #undef MBRTOWC_RETVAL_BUG */ 12269fd8799cSchristos 12279fd8799cSchristos /* Define if the mbrtowc function stores a wide character when reporting 12289fd8799cSchristos incomplete input. */ 12299fd8799cSchristos /* #undef MBRTOWC_STORES_INCOMPLETE_BUG */ 12309fd8799cSchristos 12319fd8799cSchristos /* Use GNU style printf and scanf. */ 12329fd8799cSchristos #ifndef __USE_MINGW_ANSI_STDIO 12339fd8799cSchristos # define __USE_MINGW_ANSI_STDIO 1 12349fd8799cSchristos #endif 12359fd8799cSchristos 12369fd8799cSchristos 12379fd8799cSchristos /* Define to 1 if open() fails to recognize a trailing slash. */ 12389fd8799cSchristos /* #undef OPEN_TRAILING_SLASH_BUG */ 12399fd8799cSchristos 12409fd8799cSchristos /* Define to the address where bug reports for this package should be sent. */ 12419fd8799cSchristos #define PACKAGE_BUGREPORT "" 12429fd8799cSchristos 12439fd8799cSchristos /* Define to the full name of this package. */ 12449fd8799cSchristos #define PACKAGE_NAME "libgnu" 12459fd8799cSchristos 12469fd8799cSchristos /* Define to the full name and version of this package. */ 12479fd8799cSchristos #define PACKAGE_STRING "libgnu UNUSED-VERSION" 12489fd8799cSchristos 12499fd8799cSchristos /* Define to the one symbol short name of this package. */ 12509fd8799cSchristos #define PACKAGE_TARNAME "libgnu" 12519fd8799cSchristos 12529fd8799cSchristos /* Define to the home page for this package. */ 12539fd8799cSchristos #define PACKAGE_URL "" 12549fd8799cSchristos 12559fd8799cSchristos /* Define to the version of this package. */ 12569fd8799cSchristos #define PACKAGE_VERSION "UNUSED-VERSION" 12579fd8799cSchristos 12589fd8799cSchristos /* Define to the type that is the result of default argument promotions of 12599fd8799cSchristos type mode_t. */ 12609fd8799cSchristos #define PROMOTED_MODE_T mode_t 12619fd8799cSchristos 12629fd8799cSchristos /* Define if the pthread_in_use() detection is hard. */ 12639fd8799cSchristos /* #undef PTHREAD_IN_USE_DETECTION_HARD */ 12649fd8799cSchristos 12659fd8799cSchristos /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 12669fd8799cSchristos 'ptrdiff_t'. */ 12679fd8799cSchristos /* #undef PTRDIFF_T_SUFFIX */ 12689fd8799cSchristos 12699fd8799cSchristos /* Define to 1 if readlink fails to recognize a trailing slash. */ 1270a45db23fSchristos #define READLINK_TRAILING_SLASH_BUG 1 1271a45db23fSchristos 1272a45db23fSchristos /* Define to 1 if readlink sets errno instead of truncating a too-long link. 1273a45db23fSchristos */ 1274a45db23fSchristos #define READLINK_TRUNCATE_BUG 1 12759fd8799cSchristos 12769fd8799cSchristos /* Define if rename does not work when the destination file exists, as on 12779fd8799cSchristos Cygwin 1.5 or Windows. */ 1278*800f65cfSrin /* #undef RENAME_DEST_EXISTS_BUG */ 12799fd8799cSchristos 12809fd8799cSchristos /* Define if rename fails to leave hard links alone, as on NetBSD 1.6 or 12819fd8799cSchristos Cygwin 1.5. */ 1282*800f65cfSrin /* #undef RENAME_HARD_LINK_BUG */ 12839fd8799cSchristos 12849fd8799cSchristos /* Define if rename does not correctly handle slashes on the destination 12859fd8799cSchristos argument, such as on Solaris 11 or NetBSD 1.6. */ 1286*800f65cfSrin /* #undef RENAME_TRAILING_SLASH_DEST_BUG */ 12879fd8799cSchristos 12889fd8799cSchristos /* Define if rename does not correctly handle slashes on the source argument, 12899fd8799cSchristos such as on Solaris 9 or cygwin 1.5. */ 1290*800f65cfSrin /* #undef RENAME_TRAILING_SLASH_SOURCE_BUG */ 12919fd8799cSchristos 12929fd8799cSchristos /* Define to 1 if gnulib's dirfd() replacement is used. */ 12939fd8799cSchristos /* #undef REPLACE_DIRFD */ 12949fd8799cSchristos 12959fd8799cSchristos /* Define to 1 if gnulib's fchdir() replacement is used. */ 12969fd8799cSchristos /* #undef REPLACE_FCHDIR */ 12979fd8799cSchristos 12989fd8799cSchristos /* Define to 1 if stat needs help when passed a file name with a trailing 12999fd8799cSchristos slash */ 1300a45db23fSchristos #define REPLACE_FUNC_STAT_FILE 1 13019fd8799cSchristos 13029fd8799cSchristos /* Define to 1 if open() should work around the inability to open a directory. 13039fd8799cSchristos */ 13049fd8799cSchristos /* #undef REPLACE_OPEN_DIRECTORY */ 13059fd8799cSchristos 13069fd8799cSchristos /* Define to 1 if strerror(0) does not return a message implying success. */ 13079fd8799cSchristos #define REPLACE_STRERROR_0 1 13089fd8799cSchristos 13099fd8799cSchristos /* Define to 1 if setlocale (LC_ALL, NULL) is multithread-safe. */ 13109fd8799cSchristos #define SETLOCALE_NULL_ALL_MTSAFE 0 13119fd8799cSchristos 13129fd8799cSchristos /* Define to 1 if setlocale (category, NULL) is multithread-safe. */ 13139fd8799cSchristos #define SETLOCALE_NULL_ONE_MTSAFE 1 13149fd8799cSchristos 13159fd8799cSchristos /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 13169fd8799cSchristos 'sig_atomic_t'. */ 13179fd8799cSchristos /* #undef SIG_ATOMIC_T_SUFFIX */ 13189fd8799cSchristos 13199fd8799cSchristos /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 13209fd8799cSchristos 'size_t'. */ 13219fd8799cSchristos /* #undef SIZE_T_SUFFIX */ 13229fd8799cSchristos 13239fd8799cSchristos /* If using the C implementation of alloca, define if you know the 13249fd8799cSchristos direction of stack growth for your system; otherwise it will be 13259fd8799cSchristos automatically deduced at runtime. 13269fd8799cSchristos STACK_DIRECTION > 0 => grows toward higher addresses 13279fd8799cSchristos STACK_DIRECTION < 0 => grows toward lower addresses 13289fd8799cSchristos STACK_DIRECTION = 0 => direction of growth unknown */ 13299fd8799cSchristos /* #undef STACK_DIRECTION */ 13309fd8799cSchristos 13319fd8799cSchristos /* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */ 13329fd8799cSchristos /* #undef STAT_MACROS_BROKEN */ 13339fd8799cSchristos 13349fd8799cSchristos /* Define to 1 if you have the ANSI C header files. */ 13359fd8799cSchristos #define STDC_HEADERS 1 13369fd8799cSchristos 13379fd8799cSchristos /* Define to 1 if strerror_r returns char *. */ 13389fd8799cSchristos /* #undef STRERROR_R_CHAR_P */ 13399fd8799cSchristos 13409fd8799cSchristos /* Define to 1 if the type of the st_atim member of a struct stat is struct 13419fd8799cSchristos timespec. */ 13429fd8799cSchristos #define TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC 1 13439fd8799cSchristos 13449fd8799cSchristos /* Define if the combination of the ISO C and POSIX multithreading APIs can be 13459fd8799cSchristos used. */ 13469fd8799cSchristos /* #undef USE_ISOC_AND_POSIX_THREADS */ 13479fd8799cSchristos 13489fd8799cSchristos /* Define if the ISO C multithreading library can be used. */ 13499fd8799cSchristos /* #undef USE_ISOC_THREADS */ 13509fd8799cSchristos 13519fd8799cSchristos /* Define if the POSIX multithreading library can be used. */ 13529fd8799cSchristos #define USE_POSIX_THREADS 1 13539fd8799cSchristos 1354a45db23fSchristos /* Define if references to the POSIX multithreading library are satisfied by 1355a45db23fSchristos libc. */ 1356a45db23fSchristos /* #undef USE_POSIX_THREADS_FROM_LIBC */ 1357a45db23fSchristos 13589fd8799cSchristos /* Define if references to the POSIX multithreading library should be made 13599fd8799cSchristos weak. */ 13609fd8799cSchristos #define USE_POSIX_THREADS_WEAK 1 13619fd8799cSchristos 13629fd8799cSchristos /* Enable extensions on AIX 3, Interix. */ 13639fd8799cSchristos #ifndef _ALL_SOURCE 13649fd8799cSchristos # define _ALL_SOURCE 1 13659fd8799cSchristos #endif 13669fd8799cSchristos /* Enable general extensions on macOS. */ 13679fd8799cSchristos #ifndef _DARWIN_C_SOURCE 13689fd8799cSchristos # define _DARWIN_C_SOURCE 1 13699fd8799cSchristos #endif 1370a45db23fSchristos /* Enable general extensions on Solaris. */ 1371a45db23fSchristos #ifndef __EXTENSIONS__ 1372a45db23fSchristos # define __EXTENSIONS__ 1 1373a45db23fSchristos #endif 13749fd8799cSchristos /* Enable GNU extensions on systems that have them. */ 13759fd8799cSchristos #ifndef _GNU_SOURCE 13769fd8799cSchristos # define _GNU_SOURCE 1 13779fd8799cSchristos #endif 1378a45db23fSchristos /* Enable X/Open compliant socket functions that do not require linking 1379a45db23fSchristos with -lxnet on HP-UX 11.11. */ 1380a45db23fSchristos #ifndef _HPUX_ALT_XOPEN_SOCKET_API 1381a45db23fSchristos # define _HPUX_ALT_XOPEN_SOCKET_API 1 1382a45db23fSchristos #endif 1383a45db23fSchristos /* Identify the host operating system as Minix. 1384a45db23fSchristos This macro does not affect the system headers' behavior. 1385a45db23fSchristos A future release of Autoconf may stop defining this macro. */ 1386a45db23fSchristos #ifndef _MINIX 1387a45db23fSchristos /* # undef _MINIX */ 1388a45db23fSchristos #endif 1389a45db23fSchristos /* Enable general extensions on NetBSD. 1390a45db23fSchristos Enable NetBSD compatibility extensions on Minix. */ 13919fd8799cSchristos #ifndef _NETBSD_SOURCE 13929fd8799cSchristos # define _NETBSD_SOURCE 1 13939fd8799cSchristos #endif 1394a45db23fSchristos /* Enable OpenBSD compatibility extensions on NetBSD. 1395a45db23fSchristos Oddly enough, this does nothing on OpenBSD. */ 13969fd8799cSchristos #ifndef _OPENBSD_SOURCE 13979fd8799cSchristos # define _OPENBSD_SOURCE 1 13989fd8799cSchristos #endif 1399a45db23fSchristos /* Define to 1 if needed for POSIX-compatible behavior. */ 1400a45db23fSchristos #ifndef _POSIX_SOURCE 1401a45db23fSchristos /* # undef _POSIX_SOURCE */ 1402a45db23fSchristos #endif 1403a45db23fSchristos /* Define to 2 if needed for POSIX-compatible behavior. */ 1404a45db23fSchristos #ifndef _POSIX_1_SOURCE 1405a45db23fSchristos /* # undef _POSIX_1_SOURCE */ 1406a45db23fSchristos #endif 1407a45db23fSchristos /* Enable POSIX-compatible threading on Solaris. */ 14089fd8799cSchristos #ifndef _POSIX_PTHREAD_SEMANTICS 14099fd8799cSchristos # define _POSIX_PTHREAD_SEMANTICS 1 14109fd8799cSchristos #endif 14119fd8799cSchristos /* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ 14129fd8799cSchristos #ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 14139fd8799cSchristos # define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 14149fd8799cSchristos #endif 14159fd8799cSchristos /* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ 14169fd8799cSchristos #ifndef __STDC_WANT_IEC_60559_BFP_EXT__ 14179fd8799cSchristos # define __STDC_WANT_IEC_60559_BFP_EXT__ 1 14189fd8799cSchristos #endif 14199fd8799cSchristos /* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ 14209fd8799cSchristos #ifndef __STDC_WANT_IEC_60559_DFP_EXT__ 14219fd8799cSchristos # define __STDC_WANT_IEC_60559_DFP_EXT__ 1 14229fd8799cSchristos #endif 14239fd8799cSchristos /* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ 14249fd8799cSchristos #ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ 14259fd8799cSchristos # define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 14269fd8799cSchristos #endif 14279fd8799cSchristos /* Enable extensions specified by ISO/IEC TS 18661-3:2015. */ 14289fd8799cSchristos #ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ 14299fd8799cSchristos # define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 14309fd8799cSchristos #endif 14319fd8799cSchristos /* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ 14329fd8799cSchristos #ifndef __STDC_WANT_LIB_EXT2__ 14339fd8799cSchristos # define __STDC_WANT_LIB_EXT2__ 1 14349fd8799cSchristos #endif 14359fd8799cSchristos /* Enable extensions specified by ISO/IEC 24747:2009. */ 14369fd8799cSchristos #ifndef __STDC_WANT_MATH_SPEC_FUNCS__ 14379fd8799cSchristos # define __STDC_WANT_MATH_SPEC_FUNCS__ 1 14389fd8799cSchristos #endif 14399fd8799cSchristos /* Enable extensions on HP NonStop. */ 14409fd8799cSchristos #ifndef _TANDEM_SOURCE 14419fd8799cSchristos # define _TANDEM_SOURCE 1 14429fd8799cSchristos #endif 1443a45db23fSchristos /* Enable X/Open extensions. Define to 500 only if necessary 1444a45db23fSchristos to make mbstate_t available. */ 14459fd8799cSchristos #ifndef _XOPEN_SOURCE 14469fd8799cSchristos /* # undef _XOPEN_SOURCE */ 14479fd8799cSchristos #endif 14489fd8799cSchristos 14499fd8799cSchristos 14509fd8799cSchristos /* Define if the native Windows multithreading API can be used. */ 14519fd8799cSchristos /* #undef USE_WINDOWS_THREADS */ 14529fd8799cSchristos 14539fd8799cSchristos /* Define to 1 if unsetenv returns void instead of int. */ 14549fd8799cSchristos /* #undef VOID_UNSETENV */ 14559fd8799cSchristos 14569fd8799cSchristos /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 14579fd8799cSchristos 'wchar_t'. */ 14589fd8799cSchristos /* #undef WCHAR_T_SUFFIX */ 14599fd8799cSchristos 1460a45db23fSchristos /* Define if WSAStartup is needed. */ 1461a45db23fSchristos /* #undef WINDOWS_SOCKETS */ 1462a45db23fSchristos 14639fd8799cSchristos /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 14649fd8799cSchristos 'wint_t'. */ 14659fd8799cSchristos /* #undef WINT_T_SUFFIX */ 14669fd8799cSchristos 14679fd8799cSchristos /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most 14689fd8799cSchristos significant byte first (like Motorola and SPARC, unlike Intel). */ 14699fd8799cSchristos #if defined AC_APPLE_UNIVERSAL_BUILD 14709fd8799cSchristos # if defined __BIG_ENDIAN__ 14719fd8799cSchristos # define WORDS_BIGENDIAN 1 14729fd8799cSchristos # endif 14739fd8799cSchristos #else 14749fd8799cSchristos # ifndef WORDS_BIGENDIAN 14759fd8799cSchristos # define WORDS_BIGENDIAN 1 14769fd8799cSchristos # endif 14779fd8799cSchristos #endif 14789fd8799cSchristos 14799fd8799cSchristos /* Number of bits in a file offset, on hosts where this is settable. */ 14809fd8799cSchristos /* #undef _FILE_OFFSET_BITS */ 14819fd8799cSchristos 14829fd8799cSchristos /* True if the compiler says it groks GNU C version MAJOR.MINOR. */ 14839fd8799cSchristos #if defined __GNUC__ && defined __GNUC_MINOR__ 14849fd8799cSchristos # define _GL_GNUC_PREREQ(major, minor) \ 14859fd8799cSchristos ((major) < __GNUC__ + ((minor) <= __GNUC_MINOR__)) 14869fd8799cSchristos #else 14879fd8799cSchristos # define _GL_GNUC_PREREQ(major, minor) 0 14889fd8799cSchristos #endif 14899fd8799cSchristos 14909fd8799cSchristos 1491a45db23fSchristos /* Define to enable the declarations of ISO C 11 types and functions. */ 1492a45db23fSchristos /* #undef _ISOC11_SOURCE */ 1493a45db23fSchristos 14949fd8799cSchristos /* Define for large files, on AIX-style hosts. */ 14959fd8799cSchristos /* #undef _LARGE_FILES */ 14969fd8799cSchristos 14979fd8799cSchristos /* Define to 1 on Solaris. */ 14989fd8799cSchristos /* #undef _LCONV_C99 */ 14999fd8799cSchristos 15009fd8799cSchristos /* The _Noreturn keyword of C11. */ 15019fd8799cSchristos #ifndef _Noreturn 15029fd8799cSchristos # if (defined __cplusplus \ 15039fd8799cSchristos && ((201103 <= __cplusplus && !(__GNUC__ == 4 && __GNUC_MINOR__ == 7)) \ 15049fd8799cSchristos || (defined _MSC_VER && 1900 <= _MSC_VER)) \ 15059fd8799cSchristos && 0) 15069fd8799cSchristos /* [[noreturn]] is not practically usable, because with it the syntax 15079fd8799cSchristos extern _Noreturn void func (...); 15089fd8799cSchristos would not be valid; such a declaration would only be valid with 'extern' 15099fd8799cSchristos and '_Noreturn' swapped, or without the 'extern' keyword. However, some 15109fd8799cSchristos AIX system header files and several gnulib header files use precisely 15119fd8799cSchristos this syntax with 'extern'. */ 15129fd8799cSchristos # define _Noreturn [[noreturn]] 15139fd8799cSchristos # elif ((!defined __cplusplus || defined __clang__) \ 15149fd8799cSchristos && (201112 <= (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) \ 1515a45db23fSchristos || (!defined __STRICT_ANSI__ \ 1516a45db23fSchristos && (_GL_GNUC_PREREQ (4, 7) \ 15179fd8799cSchristos || (defined __apple_build_version__ \ 15189fd8799cSchristos ? 6000000 <= __apple_build_version__ \ 1519a45db23fSchristos : 3 < __clang_major__ + (5 <= __clang_minor__)))))) 15209fd8799cSchristos /* _Noreturn works as-is. */ 1521a45db23fSchristos # elif _GL_GNUC_PREREQ (2, 8) || defined __clang__ || 0x5110 <= __SUNPRO_C 15229fd8799cSchristos # define _Noreturn __attribute__ ((__noreturn__)) 15239fd8799cSchristos # elif 1200 <= (defined _MSC_VER ? _MSC_VER : 0) 15249fd8799cSchristos # define _Noreturn __declspec (noreturn) 15259fd8799cSchristos # else 15269fd8799cSchristos # define _Noreturn 15279fd8799cSchristos # endif 15289fd8799cSchristos #endif 15299fd8799cSchristos 15309fd8799cSchristos 15319fd8799cSchristos /* Define to 1 in order to get the POSIX compatible declarations of socket 15329fd8799cSchristos functions. */ 15339fd8799cSchristos /* #undef _POSIX_PII_SOCKET */ 15349fd8799cSchristos 1535a45db23fSchristos /* Number of bits in a timestamp, on hosts where this is settable. */ 1536a45db23fSchristos /* #undef _TIME_BITS */ 15379fd8799cSchristos 15389fd8799cSchristos /* For standard stat data types on VMS. */ 15399fd8799cSchristos #define _USE_STD_STAT 1 15409fd8799cSchristos 1541a45db23fSchristos /* For 64-bit time_t on 32-bit mingw. */ 1542a45db23fSchristos /* #undef __MINGW_USE_VC2005_COMPAT */ 1543a45db23fSchristos 15449fd8799cSchristos /* Define to 1 if the system <stdint.h> predates C++11. */ 15459fd8799cSchristos /* #undef __STDC_CONSTANT_MACROS */ 15469fd8799cSchristos 15479fd8799cSchristos /* Define to 1 if the system <stdint.h> predates C++11. */ 15489fd8799cSchristos /* #undef __STDC_LIMIT_MACROS */ 15499fd8799cSchristos 1550a45db23fSchristos /* Define to 1 if C does not support variable-length arrays, and if the 1551a45db23fSchristos compiler does not already define this. */ 1552a45db23fSchristos /* #undef __STDC_NO_VLA__ */ 1553a45db23fSchristos 15549fd8799cSchristos /* The _GL_ASYNC_SAFE marker should be attached to functions that are 15559fd8799cSchristos signal handlers (for signals other than SIGABRT, SIGPIPE) or can be 15569fd8799cSchristos invoked from such signal handlers. Such functions have some restrictions: 15579fd8799cSchristos * All functions that it calls should be marked _GL_ASYNC_SAFE as well, 15589fd8799cSchristos or should be listed as async-signal-safe in POSIX 15599fd8799cSchristos <https://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_04> 15609fd8799cSchristos section 2.4.3. Note that malloc(), sprintf(), and fwrite(), in 15619fd8799cSchristos particular, are NOT async-signal-safe. 15629fd8799cSchristos * All memory locations (variables and struct fields) that these functions 15639fd8799cSchristos access must be marked 'volatile'. This holds for both read and write 15649fd8799cSchristos accesses. Otherwise the compiler might optimize away stores to and 15659fd8799cSchristos reads from such locations that occur in the program, depending on its 15669fd8799cSchristos data flow analysis. For example, when the program contains a loop 15679fd8799cSchristos that is intended to inspect a variable set from within a signal handler 15689fd8799cSchristos while (!signal_occurred) 15699fd8799cSchristos ; 15709fd8799cSchristos the compiler is allowed to transform this into an endless loop if the 15719fd8799cSchristos variable 'signal_occurred' is not declared 'volatile'. 15729fd8799cSchristos Additionally, recall that: 15739fd8799cSchristos * A signal handler should not modify errno (except if it is a handler 15749fd8799cSchristos for a fatal signal and ends by raising the same signal again, thus 15759fd8799cSchristos provoking the termination of the process). If it invokes a function 15769fd8799cSchristos that may clobber errno, it needs to save and restore the value of 15779fd8799cSchristos errno. */ 15789fd8799cSchristos #define _GL_ASYNC_SAFE 15799fd8799cSchristos 15809fd8799cSchristos 15819fd8799cSchristos /* Attributes. */ 1582a45db23fSchristos #if (defined __has_attribute \ 1583a45db23fSchristos && (!defined __clang_minor__ \ 1584a45db23fSchristos || (defined __apple_build_version__ \ 1585a45db23fSchristos ? 6000000 <= __apple_build_version__ \ 1586a45db23fSchristos : 3 < __clang_major__ + (5 <= __clang_minor__)))) 15879fd8799cSchristos # define _GL_HAS_ATTRIBUTE(attr) __has_attribute (__##attr##__) 15889fd8799cSchristos #else 15899fd8799cSchristos # define _GL_HAS_ATTRIBUTE(attr) _GL_ATTR_##attr 15909fd8799cSchristos # define _GL_ATTR_alloc_size _GL_GNUC_PREREQ (4, 3) 15919fd8799cSchristos # define _GL_ATTR_always_inline _GL_GNUC_PREREQ (3, 2) 15929fd8799cSchristos # define _GL_ATTR_artificial _GL_GNUC_PREREQ (4, 3) 15939fd8799cSchristos # define _GL_ATTR_cold _GL_GNUC_PREREQ (4, 3) 15949fd8799cSchristos # define _GL_ATTR_const _GL_GNUC_PREREQ (2, 95) 15959fd8799cSchristos # define _GL_ATTR_deprecated _GL_GNUC_PREREQ (3, 1) 1596a45db23fSchristos # define _GL_ATTR_diagnose_if 0 15979fd8799cSchristos # define _GL_ATTR_error _GL_GNUC_PREREQ (4, 3) 15989fd8799cSchristos # define _GL_ATTR_externally_visible _GL_GNUC_PREREQ (4, 1) 15999fd8799cSchristos # define _GL_ATTR_fallthrough _GL_GNUC_PREREQ (7, 0) 16009fd8799cSchristos # define _GL_ATTR_format _GL_GNUC_PREREQ (2, 7) 16019fd8799cSchristos # define _GL_ATTR_leaf _GL_GNUC_PREREQ (4, 6) 1602a45db23fSchristos # define _GL_ATTR_malloc _GL_GNUC_PREREQ (3, 0) 16039fd8799cSchristos # ifdef _ICC 16049fd8799cSchristos # define _GL_ATTR_may_alias 0 16059fd8799cSchristos # else 16069fd8799cSchristos # define _GL_ATTR_may_alias _GL_GNUC_PREREQ (3, 3) 16079fd8799cSchristos # endif 16089fd8799cSchristos # define _GL_ATTR_noinline _GL_GNUC_PREREQ (3, 1) 16099fd8799cSchristos # define _GL_ATTR_nonnull _GL_GNUC_PREREQ (3, 3) 16109fd8799cSchristos # define _GL_ATTR_nonstring _GL_GNUC_PREREQ (8, 0) 16119fd8799cSchristos # define _GL_ATTR_nothrow _GL_GNUC_PREREQ (3, 3) 16129fd8799cSchristos # define _GL_ATTR_packed _GL_GNUC_PREREQ (2, 7) 16139fd8799cSchristos # define _GL_ATTR_pure _GL_GNUC_PREREQ (2, 96) 16149fd8799cSchristos # define _GL_ATTR_returns_nonnull _GL_GNUC_PREREQ (4, 9) 16159fd8799cSchristos # define _GL_ATTR_sentinel _GL_GNUC_PREREQ (4, 0) 16169fd8799cSchristos # define _GL_ATTR_unused _GL_GNUC_PREREQ (2, 7) 16179fd8799cSchristos # define _GL_ATTR_warn_unused_result _GL_GNUC_PREREQ (3, 4) 16189fd8799cSchristos #endif 16199fd8799cSchristos 1620a45db23fSchristos #ifdef __has_c_attribute 1621a45db23fSchristos # if ((defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) <= 201710 \ 1622a45db23fSchristos && _GL_GNUC_PREREQ (4, 6)) 1623a45db23fSchristos # pragma GCC diagnostic ignored "-Wpedantic" 1624a45db23fSchristos # endif 1625a45db23fSchristos # define _GL_HAS_C_ATTRIBUTE(attr) __has_c_attribute (__##attr##__) 1626a45db23fSchristos #else 1627a45db23fSchristos # define _GL_HAS_C_ATTRIBUTE(attr) 0 1628a45db23fSchristos #endif 16299fd8799cSchristos 1630a45db23fSchristos 1631a45db23fSchristos /* _GL_ATTRIBUTE_ALLOC_SIZE ((N)) declares that the Nth argument of the function 1632a45db23fSchristos is the size of the returned memory block. 1633a45db23fSchristos _GL_ATTRIBUTE_ALLOC_SIZE ((M, N)) declares that the Mth argument multiplied 1634a45db23fSchristos by the Nth argument of the function is the size of the returned memory block. 1635a45db23fSchristos */ 1636a45db23fSchristos /* Applies to: function, pointer to function, function types. */ 16379fd8799cSchristos #if _GL_HAS_ATTRIBUTE (alloc_size) 16389fd8799cSchristos # define _GL_ATTRIBUTE_ALLOC_SIZE(args) __attribute__ ((__alloc_size__ args)) 16399fd8799cSchristos #else 16409fd8799cSchristos # define _GL_ATTRIBUTE_ALLOC_SIZE(args) 16419fd8799cSchristos #endif 16429fd8799cSchristos 1643a45db23fSchristos /* _GL_ATTRIBUTE_ALWAYS_INLINE tells that the compiler should always inline the 1644a45db23fSchristos function and report an error if it cannot do so. */ 1645a45db23fSchristos /* Applies to: function. */ 16469fd8799cSchristos #if _GL_HAS_ATTRIBUTE (always_inline) 16479fd8799cSchristos # define _GL_ATTRIBUTE_ALWAYS_INLINE __attribute__ ((__always_inline__)) 16489fd8799cSchristos #else 16499fd8799cSchristos # define _GL_ATTRIBUTE_ALWAYS_INLINE 16509fd8799cSchristos #endif 16519fd8799cSchristos 1652a45db23fSchristos /* _GL_ATTRIBUTE_ARTIFICIAL declares that the function is not important to show 1653a45db23fSchristos in stack traces when debugging. The compiler should omit the function from 1654a45db23fSchristos stack traces. */ 1655a45db23fSchristos /* Applies to: function. */ 16569fd8799cSchristos #if _GL_HAS_ATTRIBUTE (artificial) 16579fd8799cSchristos # define _GL_ATTRIBUTE_ARTIFICIAL __attribute__ ((__artificial__)) 16589fd8799cSchristos #else 16599fd8799cSchristos # define _GL_ATTRIBUTE_ARTIFICIAL 16609fd8799cSchristos #endif 16619fd8799cSchristos 1662a45db23fSchristos /* _GL_ATTRIBUTE_COLD declares that the function is rarely executed. */ 1663a45db23fSchristos /* Applies to: functions. */ 16649fd8799cSchristos /* Avoid __attribute__ ((cold)) on MinGW; see thread starting at 1665a45db23fSchristos <https://lists.gnu.org/r/emacs-devel/2019-04/msg01152.html>. 1666a45db23fSchristos Also, Oracle Studio 12.6 requires 'cold' not '__cold__'. */ 16679fd8799cSchristos #if _GL_HAS_ATTRIBUTE (cold) && !defined __MINGW32__ 1668a45db23fSchristos # ifndef __SUNPRO_C 16699fd8799cSchristos # define _GL_ATTRIBUTE_COLD __attribute__ ((__cold__)) 16709fd8799cSchristos # else 1671a45db23fSchristos # define _GL_ATTRIBUTE_COLD __attribute__ ((cold)) 1672a45db23fSchristos # endif 1673a45db23fSchristos #else 16749fd8799cSchristos # define _GL_ATTRIBUTE_COLD 16759fd8799cSchristos #endif 16769fd8799cSchristos 1677a45db23fSchristos /* _GL_ATTRIBUTE_CONST declares that it is OK for a compiler to omit duplicate 1678a45db23fSchristos calls to the function with the same arguments. 1679a45db23fSchristos This attribute is safe for a function that neither depends on nor affects 1680a45db23fSchristos observable state, and always returns exactly once - e.g., does not loop 1681a45db23fSchristos forever, and does not call longjmp. 1682a45db23fSchristos (This attribute is stricter than _GL_ATTRIBUTE_PURE.) */ 1683a45db23fSchristos /* Applies to: functions. */ 16849fd8799cSchristos #if _GL_HAS_ATTRIBUTE (const) 16859fd8799cSchristos # define _GL_ATTRIBUTE_CONST __attribute__ ((__const__)) 16869fd8799cSchristos #else 16879fd8799cSchristos # define _GL_ATTRIBUTE_CONST 16889fd8799cSchristos #endif 16899fd8799cSchristos 1690a45db23fSchristos /* _GL_ATTRIBUTE_DEALLOC (F, I) declares that the function returns pointers 1691a45db23fSchristos that can be freed by passing them as the Ith argument to the 1692a45db23fSchristos function F. 1693a45db23fSchristos _GL_ATTRIBUTE_DEALLOC_FREE declares that the function returns pointers that 1694a45db23fSchristos can be freed via 'free'; it can be used only after declaring 'free'. */ 1695a45db23fSchristos /* Applies to: functions. Cannot be used on inline functions. */ 1696a45db23fSchristos /* Disable on Solaris to avoid GDB PR build/29791. */ 1697a45db23fSchristos #if _GL_GNUC_PREREQ (11, 0) && !(defined(__sun__) && defined(__svr4__)) 1698a45db23fSchristos # define _GL_ATTRIBUTE_DEALLOC(f, i) __attribute__ ((__malloc__ (f, i))) 1699a45db23fSchristos #else 1700a45db23fSchristos # define _GL_ATTRIBUTE_DEALLOC(f, i) 1701a45db23fSchristos #endif 1702a45db23fSchristos /* If gnulib's <string.h> or <wchar.h> has already defined this macro, continue 1703a45db23fSchristos to use this earlier definition, since <stdlib.h> may not have been included 1704a45db23fSchristos yet. */ 1705a45db23fSchristos #ifndef _GL_ATTRIBUTE_DEALLOC_FREE 1706a45db23fSchristos # define _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_DEALLOC (free, 1) 1707a45db23fSchristos #endif 1708a45db23fSchristos 1709a45db23fSchristos /* _GL_ATTRIBUTE_DEPRECATED: Declares that an entity is deprecated. 1710a45db23fSchristos The compiler may warn if the entity is used. */ 1711a45db23fSchristos /* Applies to: 1712a45db23fSchristos - function, variable, 1713a45db23fSchristos - struct, union, struct/union member, 1714a45db23fSchristos - enumeration, enumeration item, 1715a45db23fSchristos - typedef, 1716a45db23fSchristos in C++ also: namespace, class, template specialization. */ 1717a45db23fSchristos #if _GL_HAS_C_ATTRIBUTE (deprecated) 17189fd8799cSchristos # define _GL_ATTRIBUTE_DEPRECATED [[__deprecated__]] 17199fd8799cSchristos #elif _GL_HAS_ATTRIBUTE (deprecated) 17209fd8799cSchristos # define _GL_ATTRIBUTE_DEPRECATED __attribute__ ((__deprecated__)) 17219fd8799cSchristos #else 17229fd8799cSchristos # define _GL_ATTRIBUTE_DEPRECATED 17239fd8799cSchristos #endif 17249fd8799cSchristos 1725a45db23fSchristos /* _GL_ATTRIBUTE_ERROR(msg) requests an error if a function is called and 1726a45db23fSchristos the function call is not optimized away. 1727a45db23fSchristos _GL_ATTRIBUTE_WARNING(msg) requests a warning if a function is called and 1728a45db23fSchristos the function call is not optimized away. */ 1729a45db23fSchristos /* Applies to: functions. */ 17309fd8799cSchristos #if _GL_HAS_ATTRIBUTE (error) 17319fd8799cSchristos # define _GL_ATTRIBUTE_ERROR(msg) __attribute__ ((__error__ (msg))) 17329fd8799cSchristos # define _GL_ATTRIBUTE_WARNING(msg) __attribute__ ((__warning__ (msg))) 1733a45db23fSchristos #elif _GL_HAS_ATTRIBUTE (diagnose_if) 1734a45db23fSchristos # define _GL_ATTRIBUTE_ERROR(msg) __attribute__ ((__diagnose_if__ (1, msg, "error"))) 1735a45db23fSchristos # define _GL_ATTRIBUTE_WARNING(msg) __attribute__ ((__diagnose_if__ (1, msg, "warning"))) 17369fd8799cSchristos #else 17379fd8799cSchristos # define _GL_ATTRIBUTE_ERROR(msg) 17389fd8799cSchristos # define _GL_ATTRIBUTE_WARNING(msg) 17399fd8799cSchristos #endif 17409fd8799cSchristos 1741a45db23fSchristos /* _GL_ATTRIBUTE_EXTERNALLY_VISIBLE declares that the entity should remain 1742a45db23fSchristos visible to debuggers etc., even with '-fwhole-program'. */ 1743a45db23fSchristos /* Applies to: functions, variables. */ 17449fd8799cSchristos #if _GL_HAS_ATTRIBUTE (externally_visible) 17459fd8799cSchristos # define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE __attribute__ ((externally_visible)) 17469fd8799cSchristos #else 17479fd8799cSchristos # define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE 17489fd8799cSchristos #endif 17499fd8799cSchristos 1750a45db23fSchristos /* _GL_ATTRIBUTE_FALLTHROUGH declares that it is not a programming mistake if 1751a45db23fSchristos the control flow falls through to the immediately following 'case' or 1752a45db23fSchristos 'default' label. The compiler should not warn in this case. */ 1753a45db23fSchristos /* Applies to: Empty statement (;), inside a 'switch' statement. */ 1754a45db23fSchristos /* Always expands to something. */ 1755a45db23fSchristos #if _GL_HAS_C_ATTRIBUTE (fallthrough) 17569fd8799cSchristos # define _GL_ATTRIBUTE_FALLTHROUGH [[__fallthrough__]] 17579fd8799cSchristos #elif _GL_HAS_ATTRIBUTE (fallthrough) 17589fd8799cSchristos # define _GL_ATTRIBUTE_FALLTHROUGH __attribute__ ((__fallthrough__)) 17599fd8799cSchristos #else 17609fd8799cSchristos # define _GL_ATTRIBUTE_FALLTHROUGH ((void) 0) 17619fd8799cSchristos #endif 17629fd8799cSchristos 1763a45db23fSchristos /* _GL_ATTRIBUTE_FORMAT ((ARCHETYPE, STRING-INDEX, FIRST-TO-CHECK)) 1764a45db23fSchristos declares that the STRING-INDEXth function argument is a format string of 1765a45db23fSchristos style ARCHETYPE, which is one of: 1766a45db23fSchristos printf, gnu_printf 1767a45db23fSchristos scanf, gnu_scanf, 1768a45db23fSchristos strftime, gnu_strftime, 1769a45db23fSchristos strfmon, 1770a45db23fSchristos or the same thing prefixed and suffixed with '__'. 1771a45db23fSchristos If FIRST-TO-CHECK is not 0, arguments starting at FIRST-TO_CHECK 1772a45db23fSchristos are suitable for the format string. */ 1773a45db23fSchristos /* Applies to: functions. */ 17749fd8799cSchristos #if _GL_HAS_ATTRIBUTE (format) 17759fd8799cSchristos # define _GL_ATTRIBUTE_FORMAT(spec) __attribute__ ((__format__ spec)) 17769fd8799cSchristos #else 17779fd8799cSchristos # define _GL_ATTRIBUTE_FORMAT(spec) 17789fd8799cSchristos #endif 17799fd8799cSchristos 1780a45db23fSchristos /* _GL_ATTRIBUTE_LEAF declares that if the function is called from some other 1781a45db23fSchristos compilation unit, it executes code from that unit only by return or by 1782a45db23fSchristos exception handling. This declaration lets the compiler optimize that unit 1783a45db23fSchristos more aggressively. */ 1784a45db23fSchristos /* Applies to: functions. */ 17859fd8799cSchristos #if _GL_HAS_ATTRIBUTE (leaf) 17869fd8799cSchristos # define _GL_ATTRIBUTE_LEAF __attribute__ ((__leaf__)) 17879fd8799cSchristos #else 17889fd8799cSchristos # define _GL_ATTRIBUTE_LEAF 17899fd8799cSchristos #endif 17909fd8799cSchristos 1791a45db23fSchristos /* _GL_ATTRIBUTE_MALLOC declares that the function returns a pointer to freshly 1792a45db23fSchristos allocated memory. */ 1793a45db23fSchristos /* Applies to: functions. */ 17949fd8799cSchristos #if _GL_HAS_ATTRIBUTE (malloc) 17959fd8799cSchristos # define _GL_ATTRIBUTE_MALLOC __attribute__ ((__malloc__)) 17969fd8799cSchristos #else 17979fd8799cSchristos # define _GL_ATTRIBUTE_MALLOC 17989fd8799cSchristos #endif 17999fd8799cSchristos 1800a45db23fSchristos /* _GL_ATTRIBUTE_MAY_ALIAS declares that pointers to the type may point to the 1801a45db23fSchristos same storage as pointers to other types. Thus this declaration disables 1802a45db23fSchristos strict aliasing optimization. */ 1803a45db23fSchristos /* Applies to: types. */ 1804a45db23fSchristos /* Oracle Studio 12.6 mishandles may_alias despite __has_attribute OK. */ 1805a45db23fSchristos #if _GL_HAS_ATTRIBUTE (may_alias) && !defined __SUNPRO_C 1806a45db23fSchristos # define _GL_ATTRIBUTE_MAY_ALIAS __attribute__ ((__may_alias__)) 1807a45db23fSchristos #else 1808a45db23fSchristos # define _GL_ATTRIBUTE_MAY_ALIAS 1809a45db23fSchristos #endif 1810a45db23fSchristos 1811a45db23fSchristos /* _GL_ATTRIBUTE_MAYBE_UNUSED declares that it is not a programming mistake if 1812a45db23fSchristos the entity is not used. The compiler should not warn if the entity is not 1813a45db23fSchristos used. */ 1814a45db23fSchristos /* Applies to: 1815a45db23fSchristos - function, variable, 1816a45db23fSchristos - struct, union, struct/union member, 1817a45db23fSchristos - enumeration, enumeration item, 1818a45db23fSchristos - typedef, 1819a45db23fSchristos in C++ also: class. */ 1820a45db23fSchristos /* In C++ and C2x, this is spelled [[__maybe_unused__]]. 1821a45db23fSchristos GCC's syntax is __attribute__ ((__unused__)). 1822a45db23fSchristos clang supports both syntaxes. */ 1823a45db23fSchristos #if _GL_HAS_C_ATTRIBUTE (maybe_unused) 1824a45db23fSchristos # define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]] 1825a45db23fSchristos #else 1826a45db23fSchristos # define _GL_ATTRIBUTE_MAYBE_UNUSED _GL_ATTRIBUTE_UNUSED 1827a45db23fSchristos #endif 1828a45db23fSchristos /* Alternative spelling of this macro, for convenience. */ 1829a45db23fSchristos #define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED 1830a45db23fSchristos /* Earlier spellings of this macro. */ 1831a45db23fSchristos #define _UNUSED_PARAMETER_ _GL_ATTRIBUTE_MAYBE_UNUSED 1832a45db23fSchristos 1833a45db23fSchristos /* _GL_ATTRIBUTE_NODISCARD declares that the caller of the function should not 1834a45db23fSchristos discard the return value. The compiler may warn if the caller does not use 1835a45db23fSchristos the return value, unless the caller uses something like ignore_value. */ 1836a45db23fSchristos /* Applies to: function, enumeration, class. */ 1837a45db23fSchristos #if _GL_HAS_C_ATTRIBUTE (nodiscard) 18389fd8799cSchristos # define _GL_ATTRIBUTE_NODISCARD [[__nodiscard__]] 18399fd8799cSchristos #elif _GL_HAS_ATTRIBUTE (warn_unused_result) 18409fd8799cSchristos # define _GL_ATTRIBUTE_NODISCARD __attribute__ ((__warn_unused_result__)) 18419fd8799cSchristos #else 18429fd8799cSchristos # define _GL_ATTRIBUTE_NODISCARD 18439fd8799cSchristos #endif 18449fd8799cSchristos 1845a45db23fSchristos /* _GL_ATTRIBUTE_NOINLINE tells that the compiler should not inline the 1846a45db23fSchristos function. */ 1847a45db23fSchristos /* Applies to: functions. */ 18489fd8799cSchristos #if _GL_HAS_ATTRIBUTE (noinline) 18499fd8799cSchristos # define _GL_ATTRIBUTE_NOINLINE __attribute__ ((__noinline__)) 18509fd8799cSchristos #else 18519fd8799cSchristos # define _GL_ATTRIBUTE_NOINLINE 18529fd8799cSchristos #endif 18539fd8799cSchristos 1854a45db23fSchristos /* _GL_ATTRIBUTE_NONNULL ((N1, N2,...)) declares that the arguments N1, N2,... 1855a45db23fSchristos must not be NULL. 1856a45db23fSchristos _GL_ATTRIBUTE_NONNULL () declares that all pointer arguments must not be 1857a45db23fSchristos null. */ 1858a45db23fSchristos /* Applies to: functions. */ 18599fd8799cSchristos #if _GL_HAS_ATTRIBUTE (nonnull) 18609fd8799cSchristos # define _GL_ATTRIBUTE_NONNULL(args) __attribute__ ((__nonnull__ args)) 18619fd8799cSchristos #else 18629fd8799cSchristos # define _GL_ATTRIBUTE_NONNULL(args) 18639fd8799cSchristos #endif 18649fd8799cSchristos 1865a45db23fSchristos /* _GL_ATTRIBUTE_NONSTRING declares that the contents of a character array is 1866a45db23fSchristos not meant to be NUL-terminated. */ 1867a45db23fSchristos /* Applies to: struct/union members and variables that are arrays of element 1868a45db23fSchristos type '[[un]signed] char'. */ 18699fd8799cSchristos #if _GL_HAS_ATTRIBUTE (nonstring) 18709fd8799cSchristos # define _GL_ATTRIBUTE_NONSTRING __attribute__ ((__nonstring__)) 18719fd8799cSchristos #else 18729fd8799cSchristos # define _GL_ATTRIBUTE_NONSTRING 18739fd8799cSchristos #endif 18749fd8799cSchristos 18759fd8799cSchristos /* There is no _GL_ATTRIBUTE_NORETURN; use _Noreturn instead. */ 18769fd8799cSchristos 1877a45db23fSchristos /* _GL_ATTRIBUTE_NOTHROW declares that the function does not throw exceptions. 1878a45db23fSchristos */ 1879a45db23fSchristos /* Applies to: functions. */ 18809fd8799cSchristos #if _GL_HAS_ATTRIBUTE (nothrow) && !defined __cplusplus 18819fd8799cSchristos # define _GL_ATTRIBUTE_NOTHROW __attribute__ ((__nothrow__)) 18829fd8799cSchristos #else 18839fd8799cSchristos # define _GL_ATTRIBUTE_NOTHROW 18849fd8799cSchristos #endif 18859fd8799cSchristos 1886a45db23fSchristos /* _GL_ATTRIBUTE_PACKED declares: 1887a45db23fSchristos For struct members: The member has the smallest possible alignment. 1888a45db23fSchristos For struct, union, class: All members have the smallest possible alignment, 1889a45db23fSchristos minimizing the memory required. */ 1890a45db23fSchristos /* Applies to: struct members, struct, union, 1891a45db23fSchristos in C++ also: class. */ 18929fd8799cSchristos #if _GL_HAS_ATTRIBUTE (packed) 18939fd8799cSchristos # define _GL_ATTRIBUTE_PACKED __attribute__ ((__packed__)) 18949fd8799cSchristos #else 18959fd8799cSchristos # define _GL_ATTRIBUTE_PACKED 18969fd8799cSchristos #endif 18979fd8799cSchristos 1898a45db23fSchristos /* _GL_ATTRIBUTE_PURE declares that It is OK for a compiler to omit duplicate 1899a45db23fSchristos calls to the function with the same arguments if observable state is not 1900a45db23fSchristos changed between calls. 1901a45db23fSchristos This attribute is safe for a function that does not affect 1902a45db23fSchristos observable state, and always returns exactly once. 1903a45db23fSchristos (This attribute is looser than _GL_ATTRIBUTE_CONST.) */ 1904a45db23fSchristos /* Applies to: functions. */ 19059fd8799cSchristos #if _GL_HAS_ATTRIBUTE (pure) 19069fd8799cSchristos # define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__)) 19079fd8799cSchristos #else 19089fd8799cSchristos # define _GL_ATTRIBUTE_PURE 19099fd8799cSchristos #endif 19109fd8799cSchristos 1911a45db23fSchristos /* _GL_ATTRIBUTE_RETURNS_NONNULL declares that the function's return value is 1912a45db23fSchristos a non-NULL pointer. */ 1913a45db23fSchristos /* Applies to: functions. */ 19149fd8799cSchristos #if _GL_HAS_ATTRIBUTE (returns_nonnull) 19159fd8799cSchristos # define _GL_ATTRIBUTE_RETURNS_NONNULL __attribute__ ((__returns_nonnull__)) 19169fd8799cSchristos #else 19179fd8799cSchristos # define _GL_ATTRIBUTE_RETURNS_NONNULL 19189fd8799cSchristos #endif 19199fd8799cSchristos 1920a45db23fSchristos /* _GL_ATTRIBUTE_SENTINEL(pos) declares that the variadic function expects a 1921a45db23fSchristos trailing NULL argument. 1922a45db23fSchristos _GL_ATTRIBUTE_SENTINEL () - The last argument is NULL (requires C99). 1923a45db23fSchristos _GL_ATTRIBUTE_SENTINEL ((N)) - The (N+1)st argument from the end is NULL. */ 1924a45db23fSchristos /* Applies to: functions. */ 19259fd8799cSchristos #if _GL_HAS_ATTRIBUTE (sentinel) 19269fd8799cSchristos # define _GL_ATTRIBUTE_SENTINEL(pos) __attribute__ ((__sentinel__ pos)) 19279fd8799cSchristos #else 19289fd8799cSchristos # define _GL_ATTRIBUTE_SENTINEL(pos) 19299fd8799cSchristos #endif 19309fd8799cSchristos 1931a45db23fSchristos /* A helper macro. Don't use it directly. */ 1932a45db23fSchristos #if _GL_HAS_ATTRIBUTE (unused) 1933a45db23fSchristos # define _GL_ATTRIBUTE_UNUSED __attribute__ ((__unused__)) 1934a45db23fSchristos #else 1935a45db23fSchristos # define _GL_ATTRIBUTE_UNUSED 1936a45db23fSchristos #endif 19379fd8799cSchristos 1938a45db23fSchristos 1939a45db23fSchristos /* _GL_UNUSED_LABEL; declares that it is not a programming mistake if the 1940a45db23fSchristos immediately preceding label is not used. The compiler should not warn 1941a45db23fSchristos if the label is not used. */ 1942a45db23fSchristos /* Applies to: label (both in C and C++). */ 1943a45db23fSchristos /* Note that g++ < 4.5 does not support the '__attribute__ ((__unused__)) ;' 1944a45db23fSchristos syntax. But clang does. */ 1945a45db23fSchristos #if !(defined __cplusplus && !_GL_GNUC_PREREQ (4, 5)) || defined __clang__ 1946a45db23fSchristos # define _GL_UNUSED_LABEL _GL_ATTRIBUTE_UNUSED 19479fd8799cSchristos #else 19489fd8799cSchristos # define _GL_UNUSED_LABEL 19499fd8799cSchristos #endif 19509fd8799cSchristos 19519fd8799cSchristos 19529fd8799cSchristos /* Define to `int' if <sys/types.h> doesn't define. */ 19539fd8799cSchristos /* #undef gid_t */ 19549fd8799cSchristos 19559fd8799cSchristos /* Define to `__inline__' or `__inline' if that's what the C compiler 19569fd8799cSchristos calls it, or to nothing if 'inline' is not supported under any name. */ 19579fd8799cSchristos #ifndef __cplusplus 19589fd8799cSchristos /* #undef inline */ 19599fd8799cSchristos #endif 19609fd8799cSchristos 19619fd8799cSchristos /* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports 19629fd8799cSchristos the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of 19639fd8799cSchristos earlier versions), but does not display it by setting __GNUC_STDC_INLINE__. 19649fd8799cSchristos __APPLE__ && __MACH__ test for Mac OS X. 19659fd8799cSchristos __APPLE_CC__ tests for the Apple compiler and its version. 19669fd8799cSchristos __STDC_VERSION__ tests for the C99 mode. */ 19679fd8799cSchristos #if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__ 19689fd8799cSchristos # define __GNUC_STDC_INLINE__ 1 19699fd8799cSchristos #endif 19709fd8799cSchristos 19719fd8799cSchristos /* Define to a type if <wchar.h> does not define. */ 19729fd8799cSchristos /* #undef mbstate_t */ 19739fd8799cSchristos 1974a45db23fSchristos /* _GL_CMP (n1, n2) performs a three-valued comparison on n1 vs. n2, where 1975a45db23fSchristos n1 and n2 are expressions without side effects, that evaluate to real 1976a45db23fSchristos numbers (excluding NaN). 1977a45db23fSchristos It returns 1978a45db23fSchristos 1 if n1 > n2 1979a45db23fSchristos 0 if n1 == n2 1980a45db23fSchristos -1 if n1 < n2 1981a45db23fSchristos The naïve code (n1 > n2 ? 1 : n1 < n2 ? -1 : 0) produces a conditional 1982a45db23fSchristos jump with nearly all GCC versions up to GCC 10. 1983a45db23fSchristos This variant (n1 < n2 ? -1 : n1 > n2) produces a conditional with many 1984a45db23fSchristos GCC versions up to GCC 9. 1985a45db23fSchristos The better code (n1 > n2) - (n1 < n2) from Hacker's Delight § 2-9 1986a45db23fSchristos avoids conditional jumps in all GCC versions >= 3.4. */ 1987a45db23fSchristos #define _GL_CMP(n1, n2) (((n1) > (n2)) - ((n1) < (n2))) 1988a45db23fSchristos 1989a45db23fSchristos 19909fd8799cSchristos /* Define to `int' if <sys/types.h> does not define. */ 19919fd8799cSchristos /* #undef mode_t */ 19929fd8799cSchristos 19939fd8799cSchristos /* Define to the type of st_nlink in struct stat, or a supertype. */ 19949fd8799cSchristos /* #undef nlink_t */ 19959fd8799cSchristos 1996a45db23fSchristos /* Define as a signed integer type capable of holding a process identifier. */ 19979fd8799cSchristos /* #undef pid_t */ 19989fd8799cSchristos 19999fd8799cSchristos /* Define to the equivalent of the C99 'restrict' keyword, or to 20009fd8799cSchristos nothing if this is not supported. Do not define if restrict is 2001a45db23fSchristos supported only directly. */ 2002a45db23fSchristos #define restrict __restrict__ 20039fd8799cSchristos /* Work around a bug in older versions of Sun C++, which did not 20049fd8799cSchristos #define __restrict__ or support _Restrict or __restrict__ 20059fd8799cSchristos even though the corresponding Sun C compiler ended up with 20069fd8799cSchristos "#define restrict _Restrict" or "#define restrict __restrict__" 20079fd8799cSchristos in the previous line. This workaround can be removed once 20089fd8799cSchristos we assume Oracle Developer Studio 12.5 (2016) or later. */ 20099fd8799cSchristos #if defined __SUNPRO_CC && !defined __RESTRICT && !defined __restrict__ 20109fd8799cSchristos # define _Restrict 20119fd8799cSchristos # define __restrict__ 20129fd8799cSchristos #endif 20139fd8799cSchristos 20149fd8799cSchristos /* Define to `unsigned int' if <sys/types.h> does not define. */ 20159fd8799cSchristos /* #undef size_t */ 20169fd8799cSchristos 20179fd8799cSchristos /* type to use in place of socklen_t if not defined */ 20189fd8799cSchristos /* #undef socklen_t */ 20199fd8799cSchristos 20209fd8799cSchristos /* Define as a signed type of the same size as size_t. */ 20219fd8799cSchristos /* #undef ssize_t */ 20229fd8799cSchristos 20239fd8799cSchristos /* Define to `int' if <sys/types.h> doesn't define. */ 20249fd8799cSchristos /* #undef uid_t */ 2025