106dfa844Sskrll /* This file is automatically generated. DO NOT EDIT! */ 22dd29543Schristos /* Generated from: NetBSD: mknative-gdb,v 1.16 2023/07/31 17:09:59 christos Exp */ 306dfa844Sskrll /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp */ 406dfa844Sskrll 506dfa844Sskrll /* config.h. Generated from config.in by configure. */ 606dfa844Sskrll /* config.in. Generated from configure.ac by autoheader. */ 706dfa844Sskrll 806dfa844Sskrll /* Define if building universal (internal helper macro) */ 906dfa844Sskrll /* #undef AC_APPLE_UNIVERSAL_BUILD */ 1006dfa844Sskrll 1106dfa844Sskrll /* Define to the number of bits in type 'ptrdiff_t'. */ 1206dfa844Sskrll /* #undef BITSIZEOF_PTRDIFF_T */ 1306dfa844Sskrll 1406dfa844Sskrll /* Define to the number of bits in type 'sig_atomic_t'. */ 1506dfa844Sskrll /* #undef BITSIZEOF_SIG_ATOMIC_T */ 1606dfa844Sskrll 1706dfa844Sskrll /* Define to the number of bits in type 'size_t'. */ 1806dfa844Sskrll /* #undef BITSIZEOF_SIZE_T */ 1906dfa844Sskrll 2006dfa844Sskrll /* Define to the number of bits in type 'wchar_t'. */ 2106dfa844Sskrll /* #undef BITSIZEOF_WCHAR_T */ 2206dfa844Sskrll 2306dfa844Sskrll /* Define to the number of bits in type 'wint_t'. */ 2406dfa844Sskrll /* #undef BITSIZEOF_WINT_T */ 2506dfa844Sskrll 262dd29543Schristos /* Define to 1 if chown fails to change ctime when at least one argument was 272dd29543Schristos not -1. */ 282dd29543Schristos #define CHOWN_CHANGE_TIME_BUG 1 2906dfa844Sskrll 302dd29543Schristos /* Define if chown is not POSIX compliant regarding IDs of -1. */ 312dd29543Schristos #define CHOWN_FAILS_TO_HONOR_ID_OF_NEGATIVE_ONE 1 322dd29543Schristos 332dd29543Schristos /* Define if chown modifies symlinks. */ 342dd29543Schristos /* #undef CHOWN_MODIFIES_SYMLINK */ 352dd29543Schristos 362dd29543Schristos /* Define to 1 if chown mishandles trailing slash. */ 372dd29543Schristos #define CHOWN_TRAILING_SLASH_BUG 1 382dd29543Schristos 392dd29543Schristos /* Define to 1 if using 'alloca.c'. */ 4006dfa844Sskrll /* #undef C_ALLOCA */ 4106dfa844Sskrll 4206dfa844Sskrll /* Define as the bit index in the word where to find bit 0 of the exponent of 4306dfa844Sskrll 'double'. */ 4406dfa844Sskrll #define DBL_EXPBIT0_BIT 20 4506dfa844Sskrll 4606dfa844Sskrll /* Define as the word index where to find the exponent of 'double'. */ 4706dfa844Sskrll #define DBL_EXPBIT0_WORD 1 4806dfa844Sskrll 4906dfa844Sskrll /* the name of the file descriptor member of DIR */ 5006dfa844Sskrll /* #undef DIR_FD_MEMBER_NAME */ 5106dfa844Sskrll 5206dfa844Sskrll #ifdef DIR_FD_MEMBER_NAME 5306dfa844Sskrll # define DIR_TO_FD(Dir_p) ((Dir_p)->DIR_FD_MEMBER_NAME) 5406dfa844Sskrll #else 5506dfa844Sskrll # define DIR_TO_FD(Dir_p) -1 5606dfa844Sskrll #endif 5706dfa844Sskrll 5806dfa844Sskrll 5906dfa844Sskrll /* Define to 1 if // is a file system root distinct from /. */ 6006dfa844Sskrll /* #undef DOUBLE_SLASH_IS_DISTINCT_ROOT */ 6106dfa844Sskrll 6206dfa844Sskrll /* Define if struct dirent has a member d_ino that actually works. */ 6306dfa844Sskrll /* #undef D_INO_IN_DIRENT */ 6406dfa844Sskrll 6506dfa844Sskrll /* Define this to 1 if F_DUPFD behavior does not match POSIX */ 6606dfa844Sskrll /* #undef FCNTL_DUPFD_BUGGY */ 6706dfa844Sskrll 6806dfa844Sskrll /* Define to nothing if C supports flexible array members, and to 1 if it does 6906dfa844Sskrll not. That way, with a declaration like 'struct s { int n; short 7006dfa844Sskrll d[FLEXIBLE_ARRAY_MEMBER]; };', the struct hack can be used with pre-C99 7106dfa844Sskrll compilers. Use 'FLEXSIZEOF (struct s, d, N * sizeof (short))' to calculate 7206dfa844Sskrll the size in bytes of such a struct containing an N-element array. */ 7306dfa844Sskrll #define FLEXIBLE_ARRAY_MEMBER /**/ 7406dfa844Sskrll 7506dfa844Sskrll /* Define to 1 if mkdir mistakenly creates a directory given with a trailing 7606dfa844Sskrll dot component. */ 772dd29543Schristos #define FUNC_MKDIR_DOT_BUG 1 7806dfa844Sskrll 7906dfa844Sskrll /* Define to 1 if realpath() can malloc memory, always gives an absolute path, 802dd29543Schristos and handles a trailing slash correctly. */ 812dd29543Schristos /* #undef FUNC_REALPATH_NEARLY_WORKS */ 8206dfa844Sskrll 832dd29543Schristos /* Define to 1 if realpath() can malloc memory, always gives an absolute path, 842dd29543Schristos and handles leading slashes and a trailing slash correctly. */ 852dd29543Schristos /* #undef FUNC_REALPATH_WORKS */ 8606dfa844Sskrll 8706dfa844Sskrll /* Define this to 'void' or 'struct timezone' to match the system's 8806dfa844Sskrll declaration of the second argument to gettimeofday. */ 8906dfa844Sskrll #define GETTIMEOFDAY_TIMEZONE void 9006dfa844Sskrll 9106dfa844Sskrll /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 9206dfa844Sskrll whether the gnulib module canonicalize-lgpl shall be considered present. */ 9306dfa844Sskrll #define GNULIB_CANONICALIZE_LGPL 1 9406dfa844Sskrll 9506dfa844Sskrll /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 9606dfa844Sskrll whether the gnulib module fdopendir shall be considered present. */ 9706dfa844Sskrll #define GNULIB_FDOPENDIR 1 9806dfa844Sskrll 9906dfa844Sskrll /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 10006dfa844Sskrll whether the gnulib module fd-safer-flag shall be considered present. */ 10106dfa844Sskrll #define GNULIB_FD_SAFER_FLAG 1 10206dfa844Sskrll 10306dfa844Sskrll /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 10406dfa844Sskrll whether the gnulib module fnmatch-gnu shall be considered present. */ 10506dfa844Sskrll #define GNULIB_FNMATCH_GNU 1 10606dfa844Sskrll 10706dfa844Sskrll /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 10806dfa844Sskrll whether the gnulib module fscanf shall be considered present. */ 10906dfa844Sskrll #define GNULIB_FSCANF 1 11006dfa844Sskrll 11106dfa844Sskrll /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 11206dfa844Sskrll whether the gnulib module getcwd shall be considered present. */ 11306dfa844Sskrll #define GNULIB_GETCWD 1 11406dfa844Sskrll 11506dfa844Sskrll /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 11606dfa844Sskrll whether the gnulib module isblank shall be considered present. */ 11706dfa844Sskrll #define GNULIB_ISBLANK 1 11806dfa844Sskrll 11906dfa844Sskrll /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 12006dfa844Sskrll whether the gnulib module lock shall be considered present. */ 12106dfa844Sskrll #define GNULIB_LOCK 1 12206dfa844Sskrll 12306dfa844Sskrll /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 12406dfa844Sskrll whether the gnulib module mkostemp shall be considered present. */ 12506dfa844Sskrll #define GNULIB_MKOSTEMP 1 12606dfa844Sskrll 12706dfa844Sskrll /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 12806dfa844Sskrll whether the gnulib module msvc-nothrow shall be considered present. */ 12906dfa844Sskrll #define GNULIB_MSVC_NOTHROW 1 13006dfa844Sskrll 13106dfa844Sskrll /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 13206dfa844Sskrll whether the gnulib module openat shall be considered present. */ 13306dfa844Sskrll #define GNULIB_OPENAT 1 13406dfa844Sskrll 13506dfa844Sskrll /* Define to 1 if printf and friends should be labeled with attribute 13606dfa844Sskrll "__gnu_printf__" instead of "__printf__" */ 13706dfa844Sskrll /* #undef GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU */ 13806dfa844Sskrll 13906dfa844Sskrll /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 14006dfa844Sskrll whether the gnulib module scanf shall be considered present. */ 14106dfa844Sskrll #define GNULIB_SCANF 1 14206dfa844Sskrll 14306dfa844Sskrll /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 14406dfa844Sskrll whether the gnulib module strerror shall be considered present. */ 14506dfa844Sskrll #define GNULIB_STRERROR 1 14606dfa844Sskrll 14706dfa844Sskrll /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 14806dfa844Sskrll whether the gnulib module strerror_r-posix shall be considered present. */ 14906dfa844Sskrll #define GNULIB_STRERROR_R_POSIX 1 15006dfa844Sskrll 1512dd29543Schristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 1522dd29543Schristos whether the gnulib module tempname shall be considered present. */ 1532dd29543Schristos #define GNULIB_TEMPNAME 1 1542dd29543Schristos 1552dd29543Schristos /* Define to 1 when the gnulib module accept should be tested. */ 1562dd29543Schristos #define GNULIB_TEST_ACCEPT 1 1572dd29543Schristos 1582dd29543Schristos /* Define to 1 when the gnulib module bind should be tested. */ 1592dd29543Schristos #define GNULIB_TEST_BIND 1 1602dd29543Schristos 16106dfa844Sskrll /* Define to 1 when the gnulib module btowc should be tested. */ 16206dfa844Sskrll #define GNULIB_TEST_BTOWC 1 16306dfa844Sskrll 16406dfa844Sskrll /* Define to 1 when the gnulib module canonicalize_file_name should be tested. 16506dfa844Sskrll */ 16606dfa844Sskrll #define GNULIB_TEST_CANONICALIZE_FILE_NAME 1 16706dfa844Sskrll 16806dfa844Sskrll /* Define to 1 when the gnulib module chdir should be tested. */ 16906dfa844Sskrll #define GNULIB_TEST_CHDIR 1 17006dfa844Sskrll 1712dd29543Schristos /* Define to 1 when the gnulib module chown should be tested. */ 1722dd29543Schristos #define GNULIB_TEST_CHOWN 1 1732dd29543Schristos 17406dfa844Sskrll /* Define to 1 when the gnulib module cloexec should be tested. */ 17506dfa844Sskrll #define GNULIB_TEST_CLOEXEC 1 17606dfa844Sskrll 17706dfa844Sskrll /* Define to 1 when the gnulib module close should be tested. */ 17806dfa844Sskrll #define GNULIB_TEST_CLOSE 1 17906dfa844Sskrll 18006dfa844Sskrll /* Define to 1 when the gnulib module closedir should be tested. */ 18106dfa844Sskrll #define GNULIB_TEST_CLOSEDIR 1 18206dfa844Sskrll 1832dd29543Schristos /* Define to 1 when the gnulib module connect should be tested. */ 1842dd29543Schristos #define GNULIB_TEST_CONNECT 1 1852dd29543Schristos 18606dfa844Sskrll /* Define to 1 when the gnulib module dirfd should be tested. */ 18706dfa844Sskrll #define GNULIB_TEST_DIRFD 1 18806dfa844Sskrll 18906dfa844Sskrll /* Define to 1 when the gnulib module dup should be tested. */ 19006dfa844Sskrll #define GNULIB_TEST_DUP 1 19106dfa844Sskrll 19206dfa844Sskrll /* Define to 1 when the gnulib module dup2 should be tested. */ 19306dfa844Sskrll #define GNULIB_TEST_DUP2 1 19406dfa844Sskrll 19506dfa844Sskrll /* Define to 1 when the gnulib module environ should be tested. */ 19606dfa844Sskrll #define GNULIB_TEST_ENVIRON 1 19706dfa844Sskrll 19806dfa844Sskrll /* Define to 1 when the gnulib module fchdir should be tested. */ 19906dfa844Sskrll #define GNULIB_TEST_FCHDIR 1 20006dfa844Sskrll 20106dfa844Sskrll /* Define to 1 when the gnulib module fcntl should be tested. */ 20206dfa844Sskrll #define GNULIB_TEST_FCNTL 1 20306dfa844Sskrll 20406dfa844Sskrll /* Define to 1 when the gnulib module fdopendir should be tested. */ 20506dfa844Sskrll #define GNULIB_TEST_FDOPENDIR 1 20606dfa844Sskrll 2072dd29543Schristos /* Define to 1 when the gnulib module fgetc should be tested. */ 2082dd29543Schristos #define GNULIB_TEST_FGETC 1 2092dd29543Schristos 2102dd29543Schristos /* Define to 1 when the gnulib module fgets should be tested. */ 2112dd29543Schristos #define GNULIB_TEST_FGETS 1 2122dd29543Schristos 21306dfa844Sskrll /* Define to 1 when the gnulib module fnmatch should be tested. */ 21406dfa844Sskrll #define GNULIB_TEST_FNMATCH 1 21506dfa844Sskrll 2162dd29543Schristos /* Define to 1 when the gnulib module fprintf should be tested. */ 2172dd29543Schristos #define GNULIB_TEST_FPRINTF 1 2182dd29543Schristos 2192dd29543Schristos /* Define to 1 when the gnulib module fputc should be tested. */ 2202dd29543Schristos #define GNULIB_TEST_FPUTC 1 2212dd29543Schristos 2222dd29543Schristos /* Define to 1 when the gnulib module fputs should be tested. */ 2232dd29543Schristos #define GNULIB_TEST_FPUTS 1 2242dd29543Schristos 2252dd29543Schristos /* Define to 1 when the gnulib module fread should be tested. */ 2262dd29543Schristos #define GNULIB_TEST_FREAD 1 2272dd29543Schristos 2282dd29543Schristos /* Define to 1 when the gnulib module free-posix should be tested. */ 2292dd29543Schristos #define GNULIB_TEST_FREE_POSIX 1 2302dd29543Schristos 23106dfa844Sskrll /* Define to 1 when the gnulib module frexp should be tested. */ 23206dfa844Sskrll #define GNULIB_TEST_FREXP 1 23306dfa844Sskrll 23406dfa844Sskrll /* Define to 1 when the gnulib module frexpl should be tested. */ 23506dfa844Sskrll #define GNULIB_TEST_FREXPL 1 23606dfa844Sskrll 2372dd29543Schristos /* Define to 1 when the gnulib module fscanf should be tested. */ 2382dd29543Schristos #define GNULIB_TEST_FSCANF 1 2392dd29543Schristos 24006dfa844Sskrll /* Define to 1 when the gnulib module fstat should be tested. */ 24106dfa844Sskrll #define GNULIB_TEST_FSTAT 1 24206dfa844Sskrll 24306dfa844Sskrll /* Define to 1 when the gnulib module fstatat should be tested. */ 24406dfa844Sskrll #define GNULIB_TEST_FSTATAT 1 24506dfa844Sskrll 2462dd29543Schristos /* Define to 1 when the gnulib module fwrite should be tested. */ 2472dd29543Schristos #define GNULIB_TEST_FWRITE 1 2482dd29543Schristos 2492dd29543Schristos /* Define to 1 when the gnulib module getc should be tested. */ 2502dd29543Schristos #define GNULIB_TEST_GETC 1 2512dd29543Schristos 2522dd29543Schristos /* Define to 1 when the gnulib module getchar should be tested. */ 2532dd29543Schristos #define GNULIB_TEST_GETCHAR 1 2542dd29543Schristos 25506dfa844Sskrll /* Define to 1 when the gnulib module getcwd should be tested. */ 25606dfa844Sskrll #define GNULIB_TEST_GETCWD 1 25706dfa844Sskrll 2582dd29543Schristos /* Define to 1 when the gnulib module getdelim should be tested. */ 2592dd29543Schristos #define GNULIB_TEST_GETDELIM 1 2602dd29543Schristos 26106dfa844Sskrll /* Define to 1 when the gnulib module getdtablesize should be tested. */ 26206dfa844Sskrll #define GNULIB_TEST_GETDTABLESIZE 1 26306dfa844Sskrll 2642dd29543Schristos /* Define to 1 when the gnulib module getline should be tested. */ 2652dd29543Schristos #define GNULIB_TEST_GETLINE 1 2662dd29543Schristos 26706dfa844Sskrll /* Define to 1 when the gnulib module getlogin_r should be tested. */ 26806dfa844Sskrll #define GNULIB_TEST_GETLOGIN_R 1 26906dfa844Sskrll 27006dfa844Sskrll /* Define to 1 when the gnulib module getrandom should be tested. */ 27106dfa844Sskrll #define GNULIB_TEST_GETRANDOM 1 27206dfa844Sskrll 27306dfa844Sskrll /* Define to 1 when the gnulib module gettimeofday should be tested. */ 27406dfa844Sskrll #define GNULIB_TEST_GETTIMEOFDAY 1 27506dfa844Sskrll 27606dfa844Sskrll /* Define to 1 when the gnulib module glob should be tested. */ 27706dfa844Sskrll #define GNULIB_TEST_GLOB 1 27806dfa844Sskrll 2792dd29543Schristos /* Define to 1 when the gnulib module listen should be tested. */ 2802dd29543Schristos #define GNULIB_TEST_LISTEN 1 2812dd29543Schristos 28206dfa844Sskrll /* Define to 1 when the gnulib module lstat should be tested. */ 28306dfa844Sskrll #define GNULIB_TEST_LSTAT 1 28406dfa844Sskrll 28506dfa844Sskrll /* Define to 1 when the gnulib module malloc-posix should be tested. */ 28606dfa844Sskrll #define GNULIB_TEST_MALLOC_POSIX 1 28706dfa844Sskrll 28806dfa844Sskrll /* Define to 1 when the gnulib module mbrtowc should be tested. */ 28906dfa844Sskrll #define GNULIB_TEST_MBRTOWC 1 29006dfa844Sskrll 29106dfa844Sskrll /* Define to 1 when the gnulib module mbsinit should be tested. */ 29206dfa844Sskrll #define GNULIB_TEST_MBSINIT 1 29306dfa844Sskrll 29406dfa844Sskrll /* Define to 1 when the gnulib module mbsrtowcs should be tested. */ 29506dfa844Sskrll #define GNULIB_TEST_MBSRTOWCS 1 29606dfa844Sskrll 29706dfa844Sskrll /* Define to 1 when the gnulib module mbtowc should be tested. */ 29806dfa844Sskrll #define GNULIB_TEST_MBTOWC 1 29906dfa844Sskrll 30006dfa844Sskrll /* Define to 1 when the gnulib module memchr should be tested. */ 30106dfa844Sskrll #define GNULIB_TEST_MEMCHR 1 30206dfa844Sskrll 30306dfa844Sskrll /* Define to 1 when the gnulib module memmem should be tested. */ 30406dfa844Sskrll #define GNULIB_TEST_MEMMEM 1 30506dfa844Sskrll 30606dfa844Sskrll /* Define to 1 when the gnulib module mempcpy should be tested. */ 30706dfa844Sskrll #define GNULIB_TEST_MEMPCPY 1 30806dfa844Sskrll 30906dfa844Sskrll /* Define to 1 when the gnulib module memrchr should be tested. */ 31006dfa844Sskrll #define GNULIB_TEST_MEMRCHR 1 31106dfa844Sskrll 3122dd29543Schristos /* Define to 1 when the gnulib module mkdir should be tested. */ 3132dd29543Schristos #define GNULIB_TEST_MKDIR 1 3142dd29543Schristos 31506dfa844Sskrll /* Define to 1 when the gnulib module mkdtemp should be tested. */ 31606dfa844Sskrll #define GNULIB_TEST_MKDTEMP 1 31706dfa844Sskrll 31806dfa844Sskrll /* Define to 1 when the gnulib module mkostemp should be tested. */ 31906dfa844Sskrll #define GNULIB_TEST_MKOSTEMP 1 32006dfa844Sskrll 32106dfa844Sskrll /* Define to 1 when the gnulib module open should be tested. */ 32206dfa844Sskrll #define GNULIB_TEST_OPEN 1 32306dfa844Sskrll 32406dfa844Sskrll /* Define to 1 when the gnulib module openat should be tested. */ 32506dfa844Sskrll #define GNULIB_TEST_OPENAT 1 32606dfa844Sskrll 32706dfa844Sskrll /* Define to 1 when the gnulib module opendir should be tested. */ 32806dfa844Sskrll #define GNULIB_TEST_OPENDIR 1 32906dfa844Sskrll 3302dd29543Schristos /* Define to 1 when the gnulib module pipe should be tested. */ 3312dd29543Schristos #define GNULIB_TEST_PIPE 1 3322dd29543Schristos 3332dd29543Schristos /* Define to 1 when the gnulib module printf should be tested. */ 3342dd29543Schristos #define GNULIB_TEST_PRINTF 1 3352dd29543Schristos 3362dd29543Schristos /* Define to 1 when the gnulib module putc should be tested. */ 3372dd29543Schristos #define GNULIB_TEST_PUTC 1 3382dd29543Schristos 3392dd29543Schristos /* Define to 1 when the gnulib module putchar should be tested. */ 3402dd29543Schristos #define GNULIB_TEST_PUTCHAR 1 3412dd29543Schristos 3422dd29543Schristos /* Define to 1 when the gnulib module puts should be tested. */ 3432dd29543Schristos #define GNULIB_TEST_PUTS 1 3442dd29543Schristos 34506dfa844Sskrll /* Define to 1 when the gnulib module rawmemchr should be tested. */ 34606dfa844Sskrll #define GNULIB_TEST_RAWMEMCHR 1 34706dfa844Sskrll 34806dfa844Sskrll /* Define to 1 when the gnulib module readdir should be tested. */ 34906dfa844Sskrll #define GNULIB_TEST_READDIR 1 35006dfa844Sskrll 35106dfa844Sskrll /* Define to 1 when the gnulib module readlink should be tested. */ 35206dfa844Sskrll #define GNULIB_TEST_READLINK 1 35306dfa844Sskrll 35406dfa844Sskrll /* Define to 1 when the gnulib module realloc-posix should be tested. */ 35506dfa844Sskrll #define GNULIB_TEST_REALLOC_POSIX 1 35606dfa844Sskrll 35706dfa844Sskrll /* Define to 1 when the gnulib module realpath should be tested. */ 35806dfa844Sskrll #define GNULIB_TEST_REALPATH 1 35906dfa844Sskrll 36006dfa844Sskrll /* Define to 1 when the gnulib module rename should be tested. */ 36106dfa844Sskrll #define GNULIB_TEST_RENAME 1 36206dfa844Sskrll 36306dfa844Sskrll /* Define to 1 when the gnulib module rewinddir should be tested. */ 36406dfa844Sskrll #define GNULIB_TEST_REWINDDIR 1 36506dfa844Sskrll 36606dfa844Sskrll /* Define to 1 when the gnulib module rmdir should be tested. */ 36706dfa844Sskrll #define GNULIB_TEST_RMDIR 1 36806dfa844Sskrll 3692dd29543Schristos /* Define to 1 when the gnulib module scanf should be tested. */ 3702dd29543Schristos #define GNULIB_TEST_SCANF 1 3712dd29543Schristos 3722dd29543Schristos /* Define to 1 when the gnulib module select should be tested. */ 3732dd29543Schristos #define GNULIB_TEST_SELECT 1 3742dd29543Schristos 37506dfa844Sskrll /* Define to 1 when the gnulib module setenv should be tested. */ 37606dfa844Sskrll #define GNULIB_TEST_SETENV 1 37706dfa844Sskrll 37806dfa844Sskrll /* Define to 1 when the gnulib module setlocale_null should be tested. */ 37906dfa844Sskrll #define GNULIB_TEST_SETLOCALE_NULL 1 38006dfa844Sskrll 3812dd29543Schristos /* Define to 1 when the gnulib module setsockopt should be tested. */ 3822dd29543Schristos #define GNULIB_TEST_SETSOCKOPT 1 3832dd29543Schristos 3842dd29543Schristos /* Define to 1 when the gnulib module socket should be tested. */ 3852dd29543Schristos #define GNULIB_TEST_SOCKET 1 3862dd29543Schristos 38706dfa844Sskrll /* Define to 1 when the gnulib module stat should be tested. */ 38806dfa844Sskrll #define GNULIB_TEST_STAT 1 38906dfa844Sskrll 39006dfa844Sskrll /* Define to 1 when the gnulib module strchrnul should be tested. */ 39106dfa844Sskrll #define GNULIB_TEST_STRCHRNUL 1 39206dfa844Sskrll 39306dfa844Sskrll /* Define to 1 when the gnulib module strdup should be tested. */ 39406dfa844Sskrll #define GNULIB_TEST_STRDUP 1 39506dfa844Sskrll 39606dfa844Sskrll /* Define to 1 when the gnulib module strerror should be tested. */ 39706dfa844Sskrll #define GNULIB_TEST_STRERROR 1 39806dfa844Sskrll 39906dfa844Sskrll /* Define to 1 when the gnulib module strerror_r should be tested. */ 40006dfa844Sskrll #define GNULIB_TEST_STRERROR_R 1 40106dfa844Sskrll 40206dfa844Sskrll /* Define to 1 when the gnulib module strnlen should be tested. */ 40306dfa844Sskrll #define GNULIB_TEST_STRNLEN 1 40406dfa844Sskrll 40506dfa844Sskrll /* Define to 1 when the gnulib module strstr should be tested. */ 40606dfa844Sskrll #define GNULIB_TEST_STRSTR 1 40706dfa844Sskrll 40806dfa844Sskrll /* Define to 1 when the gnulib module strtok_r should be tested. */ 40906dfa844Sskrll #define GNULIB_TEST_STRTOK_R 1 41006dfa844Sskrll 41106dfa844Sskrll /* Define to 1 when the gnulib module time_r should be tested. */ 41206dfa844Sskrll #define GNULIB_TEST_TIME_R 1 41306dfa844Sskrll 41406dfa844Sskrll /* Define to 1 when the gnulib module unsetenv should be tested. */ 41506dfa844Sskrll #define GNULIB_TEST_UNSETENV 1 41606dfa844Sskrll 4172dd29543Schristos /* Define to 1 when the gnulib module vfprintf should be tested. */ 4182dd29543Schristos #define GNULIB_TEST_VFPRINTF 1 4192dd29543Schristos 4202dd29543Schristos /* Define to 1 when the gnulib module vprintf should be tested. */ 4212dd29543Schristos #define GNULIB_TEST_VPRINTF 1 4222dd29543Schristos 42306dfa844Sskrll /* Define to 1 when the gnulib module wmemchr should be tested. */ 42406dfa844Sskrll #define GNULIB_TEST_WMEMCHR 1 42506dfa844Sskrll 42606dfa844Sskrll /* Define to 1 when the gnulib module wmempcpy should be tested. */ 42706dfa844Sskrll #define GNULIB_TEST_WMEMPCPY 1 42806dfa844Sskrll 42906dfa844Sskrll /* Define to 1 if you have 'alloca' after including <alloca.h>, a header that 43006dfa844Sskrll may be supplied by this distribution. */ 43106dfa844Sskrll #define HAVE_ALLOCA 1 43206dfa844Sskrll 43306dfa844Sskrll /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix). 43406dfa844Sskrll */ 43506dfa844Sskrll /* #undef HAVE_ALLOCA_H */ 43606dfa844Sskrll 43706dfa844Sskrll /* Define to 1 if you have the <arpa/inet.h> header file. */ 43806dfa844Sskrll #define HAVE_ARPA_INET_H 1 43906dfa844Sskrll 44006dfa844Sskrll /* Define to 1 if you have the <bcrypt.h> header file. */ 44106dfa844Sskrll /* #undef HAVE_BCRYPT_H */ 44206dfa844Sskrll 44306dfa844Sskrll /* Define to 1 if you have the <bp-sym.h> header file. */ 44406dfa844Sskrll /* #undef HAVE_BP_SYM_H */ 44506dfa844Sskrll 44606dfa844Sskrll /* Define to 1 if you have the `btowc' function. */ 44706dfa844Sskrll #define HAVE_BTOWC 1 44806dfa844Sskrll 44906dfa844Sskrll /* Define to 1 if you have the `canonicalize_file_name' function. */ 45006dfa844Sskrll /* #undef HAVE_CANONICALIZE_FILE_NAME */ 45106dfa844Sskrll 45206dfa844Sskrll /* Define to 1 if you have the `catgets' function. */ 45306dfa844Sskrll #define HAVE_CATGETS 1 45406dfa844Sskrll 4552dd29543Schristos /* Define to 1 if you have the `chown' function. */ 4562dd29543Schristos #define HAVE_CHOWN 1 4572dd29543Schristos 4582dd29543Schristos /* Define to 1 if you have the `clock_getres' function. */ 4592dd29543Schristos #define HAVE_CLOCK_GETRES 1 4602dd29543Schristos 4612dd29543Schristos /* Define to 1 if you have the `clock_gettime' function. */ 4622dd29543Schristos #define HAVE_CLOCK_GETTIME 1 4632dd29543Schristos 4642dd29543Schristos /* Define to 1 if you have the `clock_settime' function. */ 4652dd29543Schristos #define HAVE_CLOCK_SETTIME 1 4662dd29543Schristos 46706dfa844Sskrll /* Define to 1 if you have the `closedir' function. */ 46806dfa844Sskrll #define HAVE_CLOSEDIR 1 46906dfa844Sskrll 47006dfa844Sskrll /* Define to 1 if you have the <crtdefs.h> header file. */ 47106dfa844Sskrll /* #undef HAVE_CRTDEFS_H */ 47206dfa844Sskrll 4732dd29543Schristos /* Define to 1 if C supports variable-length arrays. */ 4742dd29543Schristos #define HAVE_C_VARARRAYS 1 4752dd29543Schristos 47606dfa844Sskrll /* Define to 1 if you have the declaration of `alarm', and to 0 if you don't. 47706dfa844Sskrll */ 47806dfa844Sskrll #define HAVE_DECL_ALARM 1 47906dfa844Sskrll 48006dfa844Sskrll /* Define to 1 if you have the declaration of `dirfd', and to 0 if you don't. 48106dfa844Sskrll */ 48206dfa844Sskrll #define HAVE_DECL_DIRFD 1 48306dfa844Sskrll 4842dd29543Schristos /* Define to 1 if you have the declaration of `ecvt', and to 0 if you don't. 4852dd29543Schristos */ 4862dd29543Schristos #define HAVE_DECL_ECVT 0 4872dd29543Schristos 4882dd29543Schristos /* Define to 1 if you have the declaration of `execvpe', and to 0 if you 4892dd29543Schristos don't. */ 4902dd29543Schristos #define HAVE_DECL_EXECVPE 1 4912dd29543Schristos 49206dfa844Sskrll /* Define to 1 if you have the declaration of `fchdir', and to 0 if you don't. 49306dfa844Sskrll */ 49406dfa844Sskrll #define HAVE_DECL_FCHDIR 1 49506dfa844Sskrll 4962dd29543Schristos /* Define to 1 if you have the declaration of `fcloseall', and to 0 if you 4972dd29543Schristos don't. */ 4982dd29543Schristos #define HAVE_DECL_FCLOSEALL 0 4992dd29543Schristos 5002dd29543Schristos /* Define to 1 if you have the declaration of `fcvt', and to 0 if you don't. 5012dd29543Schristos */ 5022dd29543Schristos #define HAVE_DECL_FCVT 0 5032dd29543Schristos 50406dfa844Sskrll /* Define to 1 if you have the declaration of `fdopendir', and to 0 if you 50506dfa844Sskrll don't. */ 50606dfa844Sskrll #define HAVE_DECL_FDOPENDIR 1 50706dfa844Sskrll 5082dd29543Schristos /* Define to 1 if you have the declaration of `gcvt', and to 0 if you don't. 5092dd29543Schristos */ 5102dd29543Schristos #define HAVE_DECL_GCVT 0 5112dd29543Schristos 51206dfa844Sskrll /* Define to 1 if you have the declaration of `getcwd', and to 0 if you don't. 51306dfa844Sskrll */ 51406dfa844Sskrll #define HAVE_DECL_GETCWD 1 51506dfa844Sskrll 5162dd29543Schristos /* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you 5172dd29543Schristos don't. */ 5182dd29543Schristos #define HAVE_DECL_GETC_UNLOCKED 1 5192dd29543Schristos 5202dd29543Schristos /* Define to 1 if you have the declaration of `getdelim', and to 0 if you 5212dd29543Schristos don't. */ 5222dd29543Schristos #define HAVE_DECL_GETDELIM 1 5232dd29543Schristos 52406dfa844Sskrll /* Define to 1 if you have the declaration of `getdtablesize', and to 0 if you 52506dfa844Sskrll don't. */ 52606dfa844Sskrll #define HAVE_DECL_GETDTABLESIZE 1 52706dfa844Sskrll 5282dd29543Schristos /* Define to 1 if you have the declaration of `getline', and to 0 if you 5292dd29543Schristos don't. */ 5302dd29543Schristos #define HAVE_DECL_GETLINE 1 5312dd29543Schristos 53206dfa844Sskrll /* Define to 1 if you have the declaration of `getlogin', and to 0 if you 53306dfa844Sskrll don't. */ 53406dfa844Sskrll #define HAVE_DECL_GETLOGIN 1 53506dfa844Sskrll 53606dfa844Sskrll /* Define to 1 if you have the declaration of `getlogin_r', and to 0 if you 53706dfa844Sskrll don't. */ 53806dfa844Sskrll #define HAVE_DECL_GETLOGIN_R 1 53906dfa844Sskrll 54006dfa844Sskrll /* Define to 1 if you have the declaration of `inet_ntop', and to 0 if you 54106dfa844Sskrll don't. */ 54206dfa844Sskrll #define HAVE_DECL_INET_NTOP 1 54306dfa844Sskrll 54406dfa844Sskrll /* Define to 1 if you have the declaration of `localtime_r', and to 0 if you 54506dfa844Sskrll don't. */ 54606dfa844Sskrll #define HAVE_DECL_LOCALTIME_R 1 54706dfa844Sskrll 54806dfa844Sskrll /* Define to 1 if you have the declaration of `mbrtowc', and to 0 if you 54906dfa844Sskrll don't. */ 55006dfa844Sskrll /* #undef HAVE_DECL_MBRTOWC */ 55106dfa844Sskrll 55206dfa844Sskrll /* Define to 1 if you have the declaration of `mbsinit', and to 0 if you 55306dfa844Sskrll don't. */ 55406dfa844Sskrll /* #undef HAVE_DECL_MBSINIT */ 55506dfa844Sskrll 55606dfa844Sskrll /* Define to 1 if you have the declaration of `mbsrtowcs', and to 0 if you 55706dfa844Sskrll don't. */ 55806dfa844Sskrll /* #undef HAVE_DECL_MBSRTOWCS */ 55906dfa844Sskrll 56006dfa844Sskrll /* Define to 1 if you have the declaration of `memmem', and to 0 if you don't. 56106dfa844Sskrll */ 56206dfa844Sskrll #define HAVE_DECL_MEMMEM 1 56306dfa844Sskrll 56406dfa844Sskrll /* Define to 1 if you have the declaration of `memrchr', and to 0 if you 56506dfa844Sskrll don't. */ 56606dfa844Sskrll #define HAVE_DECL_MEMRCHR 1 56706dfa844Sskrll 56806dfa844Sskrll /* Define to 1 if you have the declaration of `program_invocation_name', and 56906dfa844Sskrll to 0 if you don't. */ 57006dfa844Sskrll #define HAVE_DECL_PROGRAM_INVOCATION_NAME 0 57106dfa844Sskrll 57206dfa844Sskrll /* Define to 1 if you have the declaration of `program_invocation_short_name', 57306dfa844Sskrll and to 0 if you don't. */ 57406dfa844Sskrll #define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME 0 57506dfa844Sskrll 57606dfa844Sskrll /* Define to 1 if you have the declaration of `setenv', and to 0 if you don't. 57706dfa844Sskrll */ 57806dfa844Sskrll #define HAVE_DECL_SETENV 1 57906dfa844Sskrll 58006dfa844Sskrll /* Define to 1 if you have the declaration of `strdup', and to 0 if you don't. 58106dfa844Sskrll */ 58206dfa844Sskrll #define HAVE_DECL_STRDUP 1 58306dfa844Sskrll 58406dfa844Sskrll /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you 58506dfa844Sskrll don't. */ 58606dfa844Sskrll #define HAVE_DECL_STRERROR_R 1 58706dfa844Sskrll 58806dfa844Sskrll /* Define to 1 if you have the declaration of `strnlen', and to 0 if you 58906dfa844Sskrll don't. */ 59006dfa844Sskrll #define HAVE_DECL_STRNLEN 1 59106dfa844Sskrll 59206dfa844Sskrll /* Define to 1 if you have the declaration of `strtok_r', and to 0 if you 59306dfa844Sskrll don't. */ 59406dfa844Sskrll #define HAVE_DECL_STRTOK_R 1 59506dfa844Sskrll 59606dfa844Sskrll /* Define to 1 if you have the declaration of `towlower', and to 0 if you 59706dfa844Sskrll don't. */ 59806dfa844Sskrll /* #undef HAVE_DECL_TOWLOWER */ 59906dfa844Sskrll 60006dfa844Sskrll /* Define to 1 if you have the declaration of `unsetenv', and to 0 if you 60106dfa844Sskrll don't. */ 60206dfa844Sskrll #define HAVE_DECL_UNSETENV 1 60306dfa844Sskrll 6042dd29543Schristos /* Define to 1 if you have the declaration of `wcsdup', and to 0 if you don't. 6052dd29543Schristos */ 6062dd29543Schristos #define HAVE_DECL_WCSDUP 1 6072dd29543Schristos 60806dfa844Sskrll /* Define to 1 if you have the declaration of `__argv', and to 0 if you don't. 60906dfa844Sskrll */ 61006dfa844Sskrll #define HAVE_DECL___ARGV 0 61106dfa844Sskrll 61206dfa844Sskrll /* Define to 1 if you have the <dirent.h> header file. */ 61306dfa844Sskrll #define HAVE_DIRENT_H 1 61406dfa844Sskrll 61506dfa844Sskrll /* Define to 1 if you have the `dirfd' function. */ 61606dfa844Sskrll /* #undef HAVE_DIRFD */ 61706dfa844Sskrll 61806dfa844Sskrll /* Define to 1 if you have the <dlfcn.h> header file. */ 61906dfa844Sskrll #define HAVE_DLFCN_H 1 62006dfa844Sskrll 62106dfa844Sskrll /* Define if you have the declaration of environ. */ 62206dfa844Sskrll /* #undef HAVE_ENVIRON_DECL */ 62306dfa844Sskrll 6242dd29543Schristos /* Define to 1 if you have the `faccessat' function. */ 6252dd29543Schristos #define HAVE_FACCESSAT 1 6262dd29543Schristos 62706dfa844Sskrll /* Define to 1 if you have the `fchdir' function. */ 62806dfa844Sskrll #define HAVE_FCHDIR 1 62906dfa844Sskrll 6302dd29543Schristos /* Define to 1 if you have the `fchown' function. */ 6312dd29543Schristos #define HAVE_FCHOWN 1 6322dd29543Schristos 63306dfa844Sskrll /* Define to 1 if you have the `fcntl' function. */ 63406dfa844Sskrll #define HAVE_FCNTL 1 63506dfa844Sskrll 63606dfa844Sskrll /* Define to 1 if you have the `fdopendir' function. */ 63706dfa844Sskrll #define HAVE_FDOPENDIR 1 63806dfa844Sskrll 63906dfa844Sskrll /* Define to 1 if you have the <features.h> header file. */ 64006dfa844Sskrll /* #undef HAVE_FEATURES_H */ 64106dfa844Sskrll 6422dd29543Schristos /* Define to 1 if you have the `flockfile' function. */ 6432dd29543Schristos #define HAVE_FLOCKFILE 1 6442dd29543Schristos 64506dfa844Sskrll /* Define to 1 if you have the `fnmatch' function. */ 64606dfa844Sskrll #define HAVE_FNMATCH 1 64706dfa844Sskrll 64806dfa844Sskrll /* Define to 1 if you have the <fnmatch.h> header file. */ 64906dfa844Sskrll #define HAVE_FNMATCH_H 1 65006dfa844Sskrll 6512dd29543Schristos /* Define if the 'free' function is guaranteed to preserve errno. */ 6522dd29543Schristos /* #undef HAVE_FREE_POSIX */ 6532dd29543Schristos 65406dfa844Sskrll /* Define if the frexp() function is available and works. */ 6552dd29543Schristos /* #undef HAVE_FREXP */ 65606dfa844Sskrll 65706dfa844Sskrll /* Define if the frexpl() function is available. */ 65806dfa844Sskrll #define HAVE_FREXPL 1 65906dfa844Sskrll 66006dfa844Sskrll /* Define to 1 if you have the `fstatat' function. */ 66106dfa844Sskrll #define HAVE_FSTATAT 1 66206dfa844Sskrll 6632dd29543Schristos /* Define to 1 if you have the `funlockfile' function. */ 6642dd29543Schristos #define HAVE_FUNLOCKFILE 1 6652dd29543Schristos 66606dfa844Sskrll /* Define to 1 if you have the `getcwd' function. */ 66706dfa844Sskrll #define HAVE_GETCWD 1 66806dfa844Sskrll 66906dfa844Sskrll /* Define to 1 if getcwd works, but with shorter paths than is generally 67006dfa844Sskrll tested with the replacement. */ 67106dfa844Sskrll /* #undef HAVE_GETCWD_SHORTER */ 67206dfa844Sskrll 6732dd29543Schristos /* Define to 1 if you have the `getdelim' function. */ 6742dd29543Schristos #define HAVE_GETDELIM 1 6752dd29543Schristos 67606dfa844Sskrll /* Define to 1 if you have the `getdtablesize' function. */ 67706dfa844Sskrll #define HAVE_GETDTABLESIZE 1 67806dfa844Sskrll 67906dfa844Sskrll /* Define to 1 if you have the `getexecname' function. */ 68006dfa844Sskrll /* #undef HAVE_GETEXECNAME */ 68106dfa844Sskrll 68206dfa844Sskrll /* Define to 1 if you have the `getlogin_r' function. */ 68306dfa844Sskrll #define HAVE_GETLOGIN_R 1 68406dfa844Sskrll 68506dfa844Sskrll /* Define to 1 if the system has the 'getpagesize' function. */ 68606dfa844Sskrll /* #undef HAVE_GETPAGESIZE */ 68706dfa844Sskrll 68806dfa844Sskrll /* Define to 1 if you have the `getprogname' function. */ 68906dfa844Sskrll #define HAVE_GETPROGNAME 1 69006dfa844Sskrll 69106dfa844Sskrll /* Define to 1 if you have the `getpwnam_r' function. */ 69206dfa844Sskrll #define HAVE_GETPWNAM_R 1 69306dfa844Sskrll 69406dfa844Sskrll /* Define to 1 if you have the `getrandom' function. */ 69506dfa844Sskrll #define HAVE_GETRANDOM 1 69606dfa844Sskrll 69706dfa844Sskrll /* Define to 1 if you have the `gettimeofday' function. */ 69806dfa844Sskrll #define HAVE_GETTIMEOFDAY 1 69906dfa844Sskrll 70006dfa844Sskrll /* Define to 1 if you have the `glob' function. */ 70106dfa844Sskrll #define HAVE_GLOB 1 70206dfa844Sskrll 70306dfa844Sskrll /* Define to 1 if you have the <glob.h> header file. */ 70406dfa844Sskrll #define HAVE_GLOB_H 1 70506dfa844Sskrll 70606dfa844Sskrll /* Define to 1 if you have the `glob_pattern_p' function. */ 70706dfa844Sskrll #define HAVE_GLOB_PATTERN_P 1 70806dfa844Sskrll 70906dfa844Sskrll /* Define to 1 if you have the `inet_ntop' function. */ 71006dfa844Sskrll /* #undef HAVE_INET_NTOP */ 71106dfa844Sskrll 71206dfa844Sskrll /* Define to 1 if you have the <inttypes.h> header file. */ 71306dfa844Sskrll #define HAVE_INTTYPES_H 1 71406dfa844Sskrll 71506dfa844Sskrll /* Define to 1 if <sys/socket.h> defines AF_INET. */ 71606dfa844Sskrll #define HAVE_IPV4 1 71706dfa844Sskrll 71806dfa844Sskrll /* Define to 1 if <sys/socket.h> defines AF_INET6. */ 71906dfa844Sskrll #define HAVE_IPV6 1 72006dfa844Sskrll 72106dfa844Sskrll /* Define to 1 if you have the `isblank' function. */ 72206dfa844Sskrll #define HAVE_ISBLANK 1 72306dfa844Sskrll 72406dfa844Sskrll /* Define if the isnan(double) function is available in libc. */ 72506dfa844Sskrll #define HAVE_ISNAND_IN_LIBC 1 72606dfa844Sskrll 72706dfa844Sskrll /* Define if the isnan(long double) function is available in libc. */ 72806dfa844Sskrll #define HAVE_ISNANL_IN_LIBC 1 72906dfa844Sskrll 73006dfa844Sskrll /* Define to 1 if you have the `iswcntrl' function. */ 73106dfa844Sskrll #define HAVE_ISWCNTRL 1 73206dfa844Sskrll 73306dfa844Sskrll /* Define if you have <langinfo.h> and nl_langinfo(CODESET). */ 73406dfa844Sskrll #define HAVE_LANGINFO_CODESET 1 73506dfa844Sskrll 73606dfa844Sskrll /* Define to 1 if the bcrypt library is guaranteed to be present. */ 73706dfa844Sskrll /* #undef HAVE_LIB_BCRYPT */ 73806dfa844Sskrll 73906dfa844Sskrll /* Define to 1 if you have the <limits.h> header file. */ 74006dfa844Sskrll #define HAVE_LIMITS_H 1 74106dfa844Sskrll 74206dfa844Sskrll /* Define to 1 if you have the `link' function. */ 74306dfa844Sskrll #define HAVE_LINK 1 74406dfa844Sskrll 74506dfa844Sskrll /* Define to 1 if you have the `localtime_r' function. */ 74606dfa844Sskrll #define HAVE_LOCALTIME_R 1 74706dfa844Sskrll 74806dfa844Sskrll /* Define to 1 if the system has the type 'long long int'. */ 74906dfa844Sskrll #define HAVE_LONG_LONG_INT 1 75006dfa844Sskrll 75106dfa844Sskrll /* Define to 1 if you have the `lstat' function. */ 75206dfa844Sskrll #define HAVE_LSTAT 1 75306dfa844Sskrll 7542dd29543Schristos /* Define if malloc, realloc, and calloc set errno on allocation failure. */ 75506dfa844Sskrll #define HAVE_MALLOC_POSIX 1 75606dfa844Sskrll 75706dfa844Sskrll /* Define to 1 if mmap()'s MAP_ANONYMOUS flag is available after including 75806dfa844Sskrll config.h and <sys/mman.h>. */ 75906dfa844Sskrll #define HAVE_MAP_ANONYMOUS 1 76006dfa844Sskrll 76106dfa844Sskrll /* Define to 1 if you have the <math.h> header file. */ 76206dfa844Sskrll #define HAVE_MATH_H 1 76306dfa844Sskrll 76406dfa844Sskrll /* Define to 1 if you have the `mbrtowc' function. */ 76506dfa844Sskrll #define HAVE_MBRTOWC 1 76606dfa844Sskrll 76706dfa844Sskrll /* Define to 1 if you have the `mbsinit' function. */ 76806dfa844Sskrll #define HAVE_MBSINIT 1 76906dfa844Sskrll 77006dfa844Sskrll /* Define to 1 if you have the `mbsrtowcs' function. */ 77106dfa844Sskrll #define HAVE_MBSRTOWCS 1 77206dfa844Sskrll 77306dfa844Sskrll /* Define to 1 if <wchar.h> declares mbstate_t. */ 77406dfa844Sskrll #define HAVE_MBSTATE_T 1 77506dfa844Sskrll 77606dfa844Sskrll /* Define to 1 if you have the `mbtowc' function. */ 77706dfa844Sskrll #define HAVE_MBTOWC 1 77806dfa844Sskrll 77906dfa844Sskrll /* Define to 1 if you have the `memmem' function. */ 78006dfa844Sskrll #define HAVE_MEMMEM 1 78106dfa844Sskrll 78206dfa844Sskrll /* Define to 1 if you have the <memory.h> header file. */ 78306dfa844Sskrll #define HAVE_MEMORY_H 1 78406dfa844Sskrll 78506dfa844Sskrll /* Define to 1 if you have the `mempcpy' function. */ 7862dd29543Schristos #define HAVE_MEMPCPY 1 78706dfa844Sskrll 78806dfa844Sskrll /* Define to 1 if you have the `memrchr' function. */ 78906dfa844Sskrll #define HAVE_MEMRCHR 1 79006dfa844Sskrll 79106dfa844Sskrll /* Define to 1 if getcwd minimally works, that is, its result can be trusted 79206dfa844Sskrll when it succeeds. */ 79306dfa844Sskrll /* #undef HAVE_MINIMALLY_WORKING_GETCWD */ 79406dfa844Sskrll 7952dd29543Schristos /* Define to 1 if you have the <minix/config.h> header file. */ 7962dd29543Schristos /* #undef HAVE_MINIX_CONFIG_H */ 7972dd29543Schristos 79806dfa844Sskrll /* Define to 1 if <limits.h> defines the MIN and MAX macros. */ 79906dfa844Sskrll /* #undef HAVE_MINMAX_IN_LIMITS_H */ 80006dfa844Sskrll 80106dfa844Sskrll /* Define to 1 if <sys/param.h> defines the MIN and MAX macros. */ 80206dfa844Sskrll #define HAVE_MINMAX_IN_SYS_PARAM_H 1 80306dfa844Sskrll 80406dfa844Sskrll /* Define to 1 if you have the `mkdtemp' function. */ 80506dfa844Sskrll #define HAVE_MKDTEMP 1 80606dfa844Sskrll 80706dfa844Sskrll /* Define to 1 if you have the `mkostemp' function. */ 80806dfa844Sskrll #define HAVE_MKOSTEMP 1 80906dfa844Sskrll 81006dfa844Sskrll /* Define to 1 if you have the `mprotect' function. */ 81106dfa844Sskrll #define HAVE_MPROTECT 1 81206dfa844Sskrll 81306dfa844Sskrll /* Define to 1 on MSVC platforms that have the "invalid parameter handler" 81406dfa844Sskrll concept. */ 81506dfa844Sskrll /* #undef HAVE_MSVC_INVALID_PARAMETER_HANDLER */ 81606dfa844Sskrll 81706dfa844Sskrll /* Define to 1 if you have the <netdb.h> header file. */ 81806dfa844Sskrll #define HAVE_NETDB_H 1 81906dfa844Sskrll 82006dfa844Sskrll /* Define to 1 if you have the <netinet/in.h> header file. */ 82106dfa844Sskrll #define HAVE_NETINET_IN_H 1 82206dfa844Sskrll 82306dfa844Sskrll /* Define to 1 if you have the `openat' function. */ 82406dfa844Sskrll #define HAVE_OPENAT 1 82506dfa844Sskrll 82606dfa844Sskrll /* Define to 1 if you have the `opendir' function. */ 82706dfa844Sskrll #define HAVE_OPENDIR 1 82806dfa844Sskrll 82906dfa844Sskrll /* Define to 1 if getcwd works, except it sometimes fails when it shouldn't, 83006dfa844Sskrll setting errno to ERANGE, ENAMETOOLONG, or ENOENT. */ 83106dfa844Sskrll /* #undef HAVE_PARTLY_WORKING_GETCWD */ 83206dfa844Sskrll 83306dfa844Sskrll /* Define to 1 if you have the `pipe' function. */ 83406dfa844Sskrll #define HAVE_PIPE 1 83506dfa844Sskrll 83606dfa844Sskrll /* Define if you have the <pthread.h> header and the POSIX threads API. */ 83706dfa844Sskrll #define HAVE_PTHREAD_API 1 83806dfa844Sskrll 83906dfa844Sskrll /* Define if the <pthread.h> defines PTHREAD_MUTEX_RECURSIVE. */ 84006dfa844Sskrll #define HAVE_PTHREAD_MUTEX_RECURSIVE 1 84106dfa844Sskrll 84206dfa844Sskrll /* Define if the POSIX multithreading library has read/write locks. */ 84306dfa844Sskrll #define HAVE_PTHREAD_RWLOCK 1 84406dfa844Sskrll 84506dfa844Sskrll /* Define if the 'pthread_rwlock_rdlock' function prefers a writer to a 84606dfa844Sskrll reader. */ 84706dfa844Sskrll /* #undef HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER */ 84806dfa844Sskrll 84906dfa844Sskrll /* Define to 1 if you have the `rawmemchr' function. */ 85006dfa844Sskrll /* #undef HAVE_RAWMEMCHR */ 85106dfa844Sskrll 85206dfa844Sskrll /* Define to 1 if you have the `readdir' function. */ 85306dfa844Sskrll #define HAVE_READDIR 1 85406dfa844Sskrll 85506dfa844Sskrll /* Define to 1 if you have the `readlink' function. */ 85606dfa844Sskrll #define HAVE_READLINK 1 85706dfa844Sskrll 85806dfa844Sskrll /* Define to 1 if you have the `realpath' function. */ 85906dfa844Sskrll #define HAVE_REALPATH 1 86006dfa844Sskrll 86106dfa844Sskrll /* Define to 1 if you have the `rewinddir' function. */ 86206dfa844Sskrll #define HAVE_REWINDDIR 1 86306dfa844Sskrll 86406dfa844Sskrll /* Define to 1 if 'long double' and 'double' have the same representation. */ 86506dfa844Sskrll /* #undef HAVE_SAME_LONG_DOUBLE_AS_DOUBLE */ 86606dfa844Sskrll 86706dfa844Sskrll /* Define to 1 if the system has the type `sa_family_t'. */ 86806dfa844Sskrll #define HAVE_SA_FAMILY_T 1 86906dfa844Sskrll 8702dd29543Schristos /* Define to 1 if you have the <sdkddkver.h> header file. */ 8712dd29543Schristos /* #undef HAVE_SDKDDKVER_H */ 8722dd29543Schristos 87306dfa844Sskrll /* Define to 1 if you have the <search.h> header file. */ 87406dfa844Sskrll #define HAVE_SEARCH_H 1 87506dfa844Sskrll 87606dfa844Sskrll /* Define to 1 if you have the `setdtablesize' function. */ 87706dfa844Sskrll /* #undef HAVE_SETDTABLESIZE */ 87806dfa844Sskrll 87906dfa844Sskrll /* Define to 1 if you have the `setenv' function. */ 88006dfa844Sskrll #define HAVE_SETENV 1 88106dfa844Sskrll 88206dfa844Sskrll /* Define to 1 if you have the `shutdown' function. */ 88306dfa844Sskrll #define HAVE_SHUTDOWN 1 88406dfa844Sskrll 88506dfa844Sskrll /* Define to 1 if 'sig_atomic_t' is a signed integer type. */ 88606dfa844Sskrll /* #undef HAVE_SIGNED_SIG_ATOMIC_T */ 88706dfa844Sskrll 88806dfa844Sskrll /* Define to 1 if 'wchar_t' is a signed integer type. */ 88906dfa844Sskrll /* #undef HAVE_SIGNED_WCHAR_T */ 89006dfa844Sskrll 89106dfa844Sskrll /* Define to 1 if 'wint_t' is a signed integer type. */ 89206dfa844Sskrll /* #undef HAVE_SIGNED_WINT_T */ 89306dfa844Sskrll 89406dfa844Sskrll /* Define to 1 if the system has the type `sigset_t'. */ 89506dfa844Sskrll #define HAVE_SIGSET_T 1 89606dfa844Sskrll 89706dfa844Sskrll /* Define to 1 if you have the `snprintf' function. */ 89806dfa844Sskrll #define HAVE_SNPRINTF 1 89906dfa844Sskrll 90006dfa844Sskrll /* Define to 1 if you have the <stdint.h> header file. */ 90106dfa844Sskrll #define HAVE_STDINT_H 1 90206dfa844Sskrll 90306dfa844Sskrll /* Define to 1 if you have the <stdlib.h> header file. */ 90406dfa844Sskrll #define HAVE_STDLIB_H 1 90506dfa844Sskrll 90606dfa844Sskrll /* Define to 1 if you have the `strchrnul' function. */ 90706dfa844Sskrll #define HAVE_STRCHRNUL 1 90806dfa844Sskrll 90906dfa844Sskrll /* Define to 1 if you have the `strerror_r' function. */ 91006dfa844Sskrll #define HAVE_STRERROR_R 1 91106dfa844Sskrll 91206dfa844Sskrll /* Define to 1 if you have the <strings.h> header file. */ 91306dfa844Sskrll #define HAVE_STRINGS_H 1 91406dfa844Sskrll 91506dfa844Sskrll /* Define to 1 if you have the <string.h> header file. */ 91606dfa844Sskrll #define HAVE_STRING_H 1 91706dfa844Sskrll 91806dfa844Sskrll /* Define to 1 if you have the `strtok_r' function. */ 91906dfa844Sskrll #define HAVE_STRTOK_R 1 92006dfa844Sskrll 92106dfa844Sskrll /* Define if there is a member named d_type in the struct describing directory 92206dfa844Sskrll headers. */ 92306dfa844Sskrll #define HAVE_STRUCT_DIRENT_D_TYPE 1 92406dfa844Sskrll 92506dfa844Sskrll /* Define to 1 if the system has the type `struct sockaddr_storage'. */ 92606dfa844Sskrll #define HAVE_STRUCT_SOCKADDR_STORAGE 1 92706dfa844Sskrll 92806dfa844Sskrll /* Define to 1 if `ss_family' is a member of `struct sockaddr_storage'. */ 92906dfa844Sskrll #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 93006dfa844Sskrll 93106dfa844Sskrll /* Define to 1 if `st_atimensec' is a member of `struct stat'. */ 93206dfa844Sskrll /* #undef HAVE_STRUCT_STAT_ST_ATIMENSEC */ 93306dfa844Sskrll 93406dfa844Sskrll /* Define to 1 if `st_atimespec.tv_nsec' is a member of `struct stat'. */ 93506dfa844Sskrll /* #undef HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC */ 93606dfa844Sskrll 93706dfa844Sskrll /* Define to 1 if `st_atim.st__tim.tv_nsec' is a member of `struct stat'. */ 93806dfa844Sskrll /* #undef HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC */ 93906dfa844Sskrll 94006dfa844Sskrll /* Define to 1 if `st_atim.tv_nsec' is a member of `struct stat'. */ 94106dfa844Sskrll #define HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC 1 94206dfa844Sskrll 94306dfa844Sskrll /* Define to 1 if `st_birthtimensec' is a member of `struct stat'. */ 94406dfa844Sskrll /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC */ 94506dfa844Sskrll 94606dfa844Sskrll /* Define to 1 if `st_birthtimespec.tv_nsec' is a member of `struct stat'. */ 94706dfa844Sskrll #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC 1 94806dfa844Sskrll 94906dfa844Sskrll /* Define to 1 if `st_birthtim.tv_nsec' is a member of `struct stat'. */ 95006dfa844Sskrll /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIM_TV_NSEC */ 95106dfa844Sskrll 95206dfa844Sskrll /* Define to 1 if you have the `symlink' function. */ 95306dfa844Sskrll #define HAVE_SYMLINK 1 95406dfa844Sskrll 95506dfa844Sskrll /* Define to 1 if you have the <sys/bitypes.h> header file. */ 95606dfa844Sskrll /* #undef HAVE_SYS_BITYPES_H */ 95706dfa844Sskrll 95806dfa844Sskrll /* Define to 1 if you have the <sys/inttypes.h> header file. */ 95906dfa844Sskrll /* #undef HAVE_SYS_INTTYPES_H */ 96006dfa844Sskrll 96106dfa844Sskrll /* Define to 1 if you have the <sys/mman.h> header file. */ 96206dfa844Sskrll #define HAVE_SYS_MMAN_H 1 96306dfa844Sskrll 96406dfa844Sskrll /* Define to 1 if you have the <sys/param.h> header file. */ 96506dfa844Sskrll #define HAVE_SYS_PARAM_H 1 96606dfa844Sskrll 96706dfa844Sskrll /* Define to 1 if you have the <sys/random.h> header file. */ 96806dfa844Sskrll #define HAVE_SYS_RANDOM_H 1 96906dfa844Sskrll 9702dd29543Schristos /* Define to 1 if you have the <sys/select.h> header file. */ 9712dd29543Schristos #define HAVE_SYS_SELECT_H 1 9722dd29543Schristos 97306dfa844Sskrll /* Define to 1 if you have the <sys/socket.h> header file. */ 97406dfa844Sskrll #define HAVE_SYS_SOCKET_H 1 97506dfa844Sskrll 97606dfa844Sskrll /* Define to 1 if you have the <sys/stat.h> header file. */ 97706dfa844Sskrll #define HAVE_SYS_STAT_H 1 97806dfa844Sskrll 97906dfa844Sskrll /* Define to 1 if you have the <sys/time.h> header file. */ 98006dfa844Sskrll #define HAVE_SYS_TIME_H 1 98106dfa844Sskrll 98206dfa844Sskrll /* Define to 1 if you have the <sys/types.h> header file. */ 98306dfa844Sskrll #define HAVE_SYS_TYPES_H 1 98406dfa844Sskrll 98506dfa844Sskrll /* Define to 1 if you have the <sys/uio.h> header file. */ 98606dfa844Sskrll #define HAVE_SYS_UIO_H 1 98706dfa844Sskrll 9882dd29543Schristos /* Define to 1 if you have the <sys/wait.h> header file. */ 9892dd29543Schristos #define HAVE_SYS_WAIT_H 1 9902dd29543Schristos 99106dfa844Sskrll /* Define to 1 if you have the `thrd_create' function. */ 99206dfa844Sskrll /* #undef HAVE_THRD_CREATE */ 99306dfa844Sskrll 99406dfa844Sskrll /* Define to 1 if you have the <threads.h> header file. */ 99506dfa844Sskrll #define HAVE_THREADS_H 1 99606dfa844Sskrll 99706dfa844Sskrll /* Define to 1 if you have the `towlower' function. */ 99806dfa844Sskrll #define HAVE_TOWLOWER 1 99906dfa844Sskrll 100006dfa844Sskrll /* Define to 1 if you have the `tsearch' function. */ 100106dfa844Sskrll #define HAVE_TSEARCH 1 100206dfa844Sskrll 100306dfa844Sskrll /* Define to 1 if you have the <unistd.h> header file. */ 100406dfa844Sskrll #define HAVE_UNISTD_H 1 100506dfa844Sskrll 100606dfa844Sskrll /* Define to 1 if you have the `unsetenv' function. */ 100706dfa844Sskrll #define HAVE_UNSETENV 1 100806dfa844Sskrll 100906dfa844Sskrll /* Define to 1 if the system has the type 'unsigned long long int'. */ 101006dfa844Sskrll #define HAVE_UNSIGNED_LONG_LONG_INT 1 101106dfa844Sskrll 101206dfa844Sskrll /* Define if you have a global __progname variable */ 101306dfa844Sskrll #define HAVE_VAR___PROGNAME 1 101406dfa844Sskrll 101506dfa844Sskrll /* Define to 1 or 0, depending whether the compiler supports simple visibility 101606dfa844Sskrll declarations. */ 101706dfa844Sskrll #define HAVE_VISIBILITY 1 101806dfa844Sskrll 101906dfa844Sskrll /* Define to 1 if you have the <wchar.h> header file. */ 102006dfa844Sskrll #define HAVE_WCHAR_H 1 102106dfa844Sskrll 102206dfa844Sskrll /* Define if you have the 'wchar_t' type. */ 102306dfa844Sskrll #define HAVE_WCHAR_T 1 102406dfa844Sskrll 102506dfa844Sskrll /* Define to 1 if you have the <wctype.h> header file. */ 102606dfa844Sskrll #define HAVE_WCTYPE_H 1 102706dfa844Sskrll 102806dfa844Sskrll /* Define to 1 if the compiler and linker support weak declarations of 102906dfa844Sskrll symbols. */ 103006dfa844Sskrll #define HAVE_WEAK_SYMBOLS 1 103106dfa844Sskrll 103206dfa844Sskrll /* Define to 1 if you have the <windows.h> header file. */ 103306dfa844Sskrll /* #undef HAVE_WINDOWS_H */ 103406dfa844Sskrll 103506dfa844Sskrll /* Define to 1 if you have the <winsock2.h> header file. */ 103606dfa844Sskrll /* #undef HAVE_WINSOCK2_H */ 103706dfa844Sskrll 103806dfa844Sskrll /* Define if you have the 'wint_t' type. */ 103906dfa844Sskrll #define HAVE_WINT_T 1 104006dfa844Sskrll 104106dfa844Sskrll /* Define to 1 if you have the `wmempcpy' function. */ 10422dd29543Schristos #define HAVE_WMEMPCPY 1 104306dfa844Sskrll 104406dfa844Sskrll /* Define to 1 if fstatat (..., 0) works. For example, it does not work in AIX 104506dfa844Sskrll 7.1. */ 10462dd29543Schristos #define HAVE_WORKING_FSTATAT_ZERO_FLAG 1 104706dfa844Sskrll 104806dfa844Sskrll /* Define to 1 if O_NOATIME works. */ 104906dfa844Sskrll #define HAVE_WORKING_O_NOATIME 0 105006dfa844Sskrll 105106dfa844Sskrll /* Define to 1 if O_NOFOLLOW works. */ 105206dfa844Sskrll #define HAVE_WORKING_O_NOFOLLOW 0 105306dfa844Sskrll 105406dfa844Sskrll /* Define to 1 if you have the <ws2tcpip.h> header file. */ 105506dfa844Sskrll /* #undef HAVE_WS2TCPIP_H */ 105606dfa844Sskrll 105706dfa844Sskrll /* Define to 1 if you have the <xlocale.h> header file. */ 105806dfa844Sskrll /* #undef HAVE_XLOCALE_H */ 105906dfa844Sskrll 106006dfa844Sskrll /* Define to 1 if the system has the type `_Bool'. */ 106106dfa844Sskrll #define HAVE__BOOL 1 106206dfa844Sskrll 106306dfa844Sskrll /* Define to 1 if you have the `_set_invalid_parameter_handler' function. */ 106406dfa844Sskrll /* #undef HAVE__SET_INVALID_PARAMETER_HANDLER */ 106506dfa844Sskrll 106606dfa844Sskrll /* Define to 1 if the compiler supports __builtin_expect, 106706dfa844Sskrll and to 2 if <builtins.h> does. */ 106806dfa844Sskrll #define HAVE___BUILTIN_EXPECT 1 106906dfa844Sskrll #ifndef HAVE___BUILTIN_EXPECT 107006dfa844Sskrll # define __builtin_expect(e, c) (e) 107106dfa844Sskrll #elif HAVE___BUILTIN_EXPECT == 2 107206dfa844Sskrll # include <builtins.h> 107306dfa844Sskrll #endif 107406dfa844Sskrll 107506dfa844Sskrll 10762dd29543Schristos /* Define to 1 if ctype.h defines __header_inline. */ 10772dd29543Schristos /* #undef HAVE___HEADER_INLINE */ 10782dd29543Schristos 10792dd29543Schristos /* Please see the Gnulib manual for how to use these macros. 10802dd29543Schristos 10812dd29543Schristos Suppress extern inline with HP-UX cc, as it appears to be broken; see 10822dd29543Schristos <https://lists.gnu.org/r/bug-texinfo/2013-02/msg00030.html>. 10832dd29543Schristos 10842dd29543Schristos Suppress extern inline with Sun C in standards-conformance mode, as it 10852dd29543Schristos mishandles inline functions that call each other. E.g., for 'inline void f 10862dd29543Schristos (void) { } inline void g (void) { f (); }', c99 incorrectly complains 10872dd29543Schristos 'reference to static identifier "f" in extern inline function'. 10882dd29543Schristos This bug was observed with Oracle Developer Studio 12.6 10892dd29543Schristos (Sun C 5.15 SunOS_sparc 2017/05/30). 10902dd29543Schristos 10912dd29543Schristos Suppress extern inline (with or without __attribute__ ((__gnu_inline__))) 10922dd29543Schristos on configurations that mistakenly use 'static inline' to implement 10932dd29543Schristos functions or macros in standard C headers like <ctype.h>. For example, 10942dd29543Schristos if isdigit is mistakenly implemented via a static inline function, 10952dd29543Schristos a program containing an extern inline function that calls isdigit 10962dd29543Schristos may not work since the C standard prohibits extern inline functions 10972dd29543Schristos from calling static functions (ISO C 99 section 6.7.4.(3). 10982dd29543Schristos This bug is known to occur on: 10992dd29543Schristos 11002dd29543Schristos OS X 10.8 and earlier; see: 11012dd29543Schristos https://lists.gnu.org/r/bug-gnulib/2012-12/msg00023.html 11022dd29543Schristos 11032dd29543Schristos DragonFly; see 11042dd29543Schristos http://muscles.dragonflybsd.org/bulk/clang-master-potential/20141111_102002/logs/ah-tty-0.3.12.log 11052dd29543Schristos 11062dd29543Schristos FreeBSD; see: 11072dd29543Schristos https://lists.gnu.org/r/bug-gnulib/2014-07/msg00104.html 11082dd29543Schristos 11092dd29543Schristos OS X 10.9 has a macro __header_inline indicating the bug is fixed for C and 11102dd29543Schristos for clang but remains for g++; see <https://trac.macports.org/ticket/41033>. 11112dd29543Schristos Assume DragonFly and FreeBSD will be similar. 11122dd29543Schristos 11132dd29543Schristos GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99 11142dd29543Schristos inline semantics, unless -fgnu89-inline is used. It defines a macro 11152dd29543Schristos __GNUC_STDC_INLINE__ to indicate this situation or a macro 11162dd29543Schristos __GNUC_GNU_INLINE__ to indicate the opposite situation. 11172dd29543Schristos GCC 4.2 with -std=c99 or -std=gnu99 implements the GNU C inline 11182dd29543Schristos semantics but warns, unless -fgnu89-inline is used: 11192dd29543Schristos warning: C99 inline functions are not supported; using GNU89 11202dd29543Schristos warning: to disable this warning use -fgnu89-inline or the gnu_inline function attribute 11212dd29543Schristos It defines a macro __GNUC_GNU_INLINE__ to indicate this situation. 11222dd29543Schristos */ 11232dd29543Schristos #if (((defined __APPLE__ && defined __MACH__) \ 11242dd29543Schristos || defined __DragonFly__ || defined __FreeBSD__) \ 11252dd29543Schristos && (defined HAVE___HEADER_INLINE \ 11262dd29543Schristos ? (defined __cplusplus && defined __GNUC_STDC_INLINE__ \ 11272dd29543Schristos && ! defined __clang__) \ 11282dd29543Schristos : ((! defined _DONT_USE_CTYPE_INLINE_ \ 11292dd29543Schristos && (defined __GNUC__ || defined __cplusplus)) \ 11302dd29543Schristos || (defined _FORTIFY_SOURCE && 0 < _FORTIFY_SOURCE \ 11312dd29543Schristos && defined __GNUC__ && ! defined __cplusplus)))) 11322dd29543Schristos # define _GL_EXTERN_INLINE_STDHEADER_BUG 11332dd29543Schristos #endif 11342dd29543Schristos #if ((__GNUC__ \ 11352dd29543Schristos ? defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ \ 11362dd29543Schristos : (199901L <= __STDC_VERSION__ \ 11372dd29543Schristos && !defined __HP_cc \ 11382dd29543Schristos && !defined __PGI \ 11392dd29543Schristos && !(defined __SUNPRO_C && __STDC__))) \ 11402dd29543Schristos && !defined _GL_EXTERN_INLINE_STDHEADER_BUG) 11412dd29543Schristos # define _GL_INLINE inline 11422dd29543Schristos # define _GL_EXTERN_INLINE extern inline 11432dd29543Schristos # define _GL_EXTERN_INLINE_IN_USE 11442dd29543Schristos #elif (2 < __GNUC__ + (7 <= __GNUC_MINOR__) && !defined __STRICT_ANSI__ \ 11452dd29543Schristos && !defined _GL_EXTERN_INLINE_STDHEADER_BUG) 11462dd29543Schristos # if defined __GNUC_GNU_INLINE__ && __GNUC_GNU_INLINE__ 11472dd29543Schristos /* __gnu_inline__ suppresses a GCC 4.2 diagnostic. */ 11482dd29543Schristos # define _GL_INLINE extern inline __attribute__ ((__gnu_inline__)) 11492dd29543Schristos # else 11502dd29543Schristos # define _GL_INLINE extern inline 11512dd29543Schristos # endif 11522dd29543Schristos # define _GL_EXTERN_INLINE extern 11532dd29543Schristos # define _GL_EXTERN_INLINE_IN_USE 11542dd29543Schristos #else 11552dd29543Schristos # define _GL_INLINE _GL_UNUSED static 11562dd29543Schristos # define _GL_EXTERN_INLINE _GL_UNUSED static 11572dd29543Schristos #endif 11582dd29543Schristos 11592dd29543Schristos /* In GCC 4.6 (inclusive) to 5.1 (exclusive), 11602dd29543Schristos suppress bogus "no previous prototype for 'FOO'" 11612dd29543Schristos and "no previous declaration for 'FOO'" diagnostics, 11622dd29543Schristos when FOO is an inline function in the header; see 11632dd29543Schristos <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54113> and 11642dd29543Schristos <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63877>. */ 11652dd29543Schristos #if __GNUC__ == 4 && 6 <= __GNUC_MINOR__ 11662dd29543Schristos # if defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ 11672dd29543Schristos # define _GL_INLINE_HEADER_CONST_PRAGMA 11682dd29543Schristos # else 11692dd29543Schristos # define _GL_INLINE_HEADER_CONST_PRAGMA \ 11702dd29543Schristos _Pragma ("GCC diagnostic ignored \"-Wsuggest-attribute=const\"") 11712dd29543Schristos # endif 11722dd29543Schristos # define _GL_INLINE_HEADER_BEGIN \ 11732dd29543Schristos _Pragma ("GCC diagnostic push") \ 11742dd29543Schristos _Pragma ("GCC diagnostic ignored \"-Wmissing-prototypes\"") \ 11752dd29543Schristos _Pragma ("GCC diagnostic ignored \"-Wmissing-declarations\"") \ 11762dd29543Schristos _GL_INLINE_HEADER_CONST_PRAGMA 11772dd29543Schristos # define _GL_INLINE_HEADER_END \ 11782dd29543Schristos _Pragma ("GCC diagnostic pop") 11792dd29543Schristos #else 11802dd29543Schristos # define _GL_INLINE_HEADER_BEGIN 11812dd29543Schristos # define _GL_INLINE_HEADER_END 11822dd29543Schristos #endif 11832dd29543Schristos 118406dfa844Sskrll /* Define to 1 if the compiler supports the keyword '__inline'. */ 118506dfa844Sskrll #define HAVE___INLINE 1 118606dfa844Sskrll 118706dfa844Sskrll /* Define to 1 if you have the `__xpg_strerror_r' function. */ 118806dfa844Sskrll /* #undef HAVE___XPG_STRERROR_R */ 118906dfa844Sskrll 119006dfa844Sskrll /* Define as the bit index in the word where to find bit 0 of the exponent of 119106dfa844Sskrll 'long double'. */ 119206dfa844Sskrll /* #undef LDBL_EXPBIT0_BIT */ 119306dfa844Sskrll 119406dfa844Sskrll /* Define as the word index where to find the exponent of 'long double'. */ 119506dfa844Sskrll /* #undef LDBL_EXPBIT0_WORD */ 119606dfa844Sskrll 119706dfa844Sskrll /* Define to 1 if 'lstat' dereferences a symlink specified with a trailing 119806dfa844Sskrll slash. */ 11992dd29543Schristos /* #undef LSTAT_FOLLOWS_SLASHED_SYMLINK */ 120006dfa844Sskrll 120106dfa844Sskrll /* If malloc(0) is != NULL, define this to 1. Otherwise define this to 0. */ 120206dfa844Sskrll #define MALLOC_0_IS_NONNULL 1 120306dfa844Sskrll 120406dfa844Sskrll /* Define to a substitute value for mmap()'s MAP_ANONYMOUS flag. */ 120506dfa844Sskrll /* #undef MAP_ANONYMOUS */ 120606dfa844Sskrll 120706dfa844Sskrll /* Define if the mbrtowc function does not return (size_t) -2 for empty input. 120806dfa844Sskrll */ 120906dfa844Sskrll /* #undef MBRTOWC_EMPTY_INPUT_BUG */ 121006dfa844Sskrll 121106dfa844Sskrll /* Define if the mbrtowc function may signal encoding errors in the C locale. 121206dfa844Sskrll */ 12132dd29543Schristos #define MBRTOWC_IN_C_LOCALE_MAYBE_EILSEQ 1 121406dfa844Sskrll 121506dfa844Sskrll /* Define if the mbrtowc function has the NULL pwc argument bug. */ 121606dfa844Sskrll /* #undef MBRTOWC_NULL_ARG1_BUG */ 121706dfa844Sskrll 121806dfa844Sskrll /* Define if the mbrtowc function has the NULL string argument bug. */ 121906dfa844Sskrll /* #undef MBRTOWC_NULL_ARG2_BUG */ 122006dfa844Sskrll 122106dfa844Sskrll /* Define if the mbrtowc function does not return 0 for a NUL character. */ 122206dfa844Sskrll /* #undef MBRTOWC_NUL_RETVAL_BUG */ 122306dfa844Sskrll 122406dfa844Sskrll /* Define if the mbrtowc function returns a wrong return value. */ 122506dfa844Sskrll /* #undef MBRTOWC_RETVAL_BUG */ 122606dfa844Sskrll 122706dfa844Sskrll /* Define if the mbrtowc function stores a wide character when reporting 122806dfa844Sskrll incomplete input. */ 122906dfa844Sskrll /* #undef MBRTOWC_STORES_INCOMPLETE_BUG */ 123006dfa844Sskrll 123106dfa844Sskrll /* Use GNU style printf and scanf. */ 123206dfa844Sskrll #ifndef __USE_MINGW_ANSI_STDIO 123306dfa844Sskrll # define __USE_MINGW_ANSI_STDIO 1 123406dfa844Sskrll #endif 123506dfa844Sskrll 123606dfa844Sskrll 123706dfa844Sskrll /* Define to 1 if open() fails to recognize a trailing slash. */ 123806dfa844Sskrll /* #undef OPEN_TRAILING_SLASH_BUG */ 123906dfa844Sskrll 124006dfa844Sskrll /* Define to the address where bug reports for this package should be sent. */ 124106dfa844Sskrll #define PACKAGE_BUGREPORT "" 124206dfa844Sskrll 124306dfa844Sskrll /* Define to the full name of this package. */ 124406dfa844Sskrll #define PACKAGE_NAME "libgnu" 124506dfa844Sskrll 124606dfa844Sskrll /* Define to the full name and version of this package. */ 124706dfa844Sskrll #define PACKAGE_STRING "libgnu UNUSED-VERSION" 124806dfa844Sskrll 124906dfa844Sskrll /* Define to the one symbol short name of this package. */ 125006dfa844Sskrll #define PACKAGE_TARNAME "libgnu" 125106dfa844Sskrll 125206dfa844Sskrll /* Define to the home page for this package. */ 125306dfa844Sskrll #define PACKAGE_URL "" 125406dfa844Sskrll 125506dfa844Sskrll /* Define to the version of this package. */ 125606dfa844Sskrll #define PACKAGE_VERSION "UNUSED-VERSION" 125706dfa844Sskrll 125806dfa844Sskrll /* Define to the type that is the result of default argument promotions of 125906dfa844Sskrll type mode_t. */ 126006dfa844Sskrll #define PROMOTED_MODE_T mode_t 126106dfa844Sskrll 126206dfa844Sskrll /* Define if the pthread_in_use() detection is hard. */ 126306dfa844Sskrll /* #undef PTHREAD_IN_USE_DETECTION_HARD */ 126406dfa844Sskrll 126506dfa844Sskrll /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 126606dfa844Sskrll 'ptrdiff_t'. */ 126706dfa844Sskrll /* #undef PTRDIFF_T_SUFFIX */ 126806dfa844Sskrll 126906dfa844Sskrll /* Define to 1 if readlink fails to recognize a trailing slash. */ 12702dd29543Schristos #define READLINK_TRAILING_SLASH_BUG 1 12712dd29543Schristos 12722dd29543Schristos /* Define to 1 if readlink sets errno instead of truncating a too-long link. 12732dd29543Schristos */ 12742dd29543Schristos #define READLINK_TRUNCATE_BUG 1 127506dfa844Sskrll 127606dfa844Sskrll /* Define if rename does not work when the destination file exists, as on 127706dfa844Sskrll Cygwin 1.5 or Windows. */ 1278*800f65cfSrin /* #undef RENAME_DEST_EXISTS_BUG */ 127906dfa844Sskrll 128006dfa844Sskrll /* Define if rename fails to leave hard links alone, as on NetBSD 1.6 or 128106dfa844Sskrll Cygwin 1.5. */ 1282*800f65cfSrin /* #undef RENAME_HARD_LINK_BUG */ 128306dfa844Sskrll 128406dfa844Sskrll /* Define if rename does not correctly handle slashes on the destination 128506dfa844Sskrll argument, such as on Solaris 11 or NetBSD 1.6. */ 1286*800f65cfSrin /* #undef RENAME_TRAILING_SLASH_DEST_BUG */ 128706dfa844Sskrll 128806dfa844Sskrll /* Define if rename does not correctly handle slashes on the source argument, 128906dfa844Sskrll such as on Solaris 9 or cygwin 1.5. */ 1290*800f65cfSrin /* #undef RENAME_TRAILING_SLASH_SOURCE_BUG */ 129106dfa844Sskrll 129206dfa844Sskrll /* Define to 1 if gnulib's dirfd() replacement is used. */ 129306dfa844Sskrll /* #undef REPLACE_DIRFD */ 129406dfa844Sskrll 129506dfa844Sskrll /* Define to 1 if gnulib's fchdir() replacement is used. */ 129606dfa844Sskrll /* #undef REPLACE_FCHDIR */ 129706dfa844Sskrll 129806dfa844Sskrll /* Define to 1 if stat needs help when passed a file name with a trailing 129906dfa844Sskrll slash */ 13002dd29543Schristos #define REPLACE_FUNC_STAT_FILE 1 130106dfa844Sskrll 130206dfa844Sskrll /* Define to 1 if open() should work around the inability to open a directory. 130306dfa844Sskrll */ 130406dfa844Sskrll /* #undef REPLACE_OPEN_DIRECTORY */ 130506dfa844Sskrll 130606dfa844Sskrll /* Define to 1 if strerror(0) does not return a message implying success. */ 130706dfa844Sskrll #define REPLACE_STRERROR_0 1 130806dfa844Sskrll 130906dfa844Sskrll /* Define to 1 if setlocale (LC_ALL, NULL) is multithread-safe. */ 131006dfa844Sskrll #define SETLOCALE_NULL_ALL_MTSAFE 0 131106dfa844Sskrll 131206dfa844Sskrll /* Define to 1 if setlocale (category, NULL) is multithread-safe. */ 131306dfa844Sskrll #define SETLOCALE_NULL_ONE_MTSAFE 1 131406dfa844Sskrll 131506dfa844Sskrll /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 131606dfa844Sskrll 'sig_atomic_t'. */ 131706dfa844Sskrll /* #undef SIG_ATOMIC_T_SUFFIX */ 131806dfa844Sskrll 131906dfa844Sskrll /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 132006dfa844Sskrll 'size_t'. */ 132106dfa844Sskrll /* #undef SIZE_T_SUFFIX */ 132206dfa844Sskrll 132306dfa844Sskrll /* If using the C implementation of alloca, define if you know the 132406dfa844Sskrll direction of stack growth for your system; otherwise it will be 132506dfa844Sskrll automatically deduced at runtime. 132606dfa844Sskrll STACK_DIRECTION > 0 => grows toward higher addresses 132706dfa844Sskrll STACK_DIRECTION < 0 => grows toward lower addresses 132806dfa844Sskrll STACK_DIRECTION = 0 => direction of growth unknown */ 132906dfa844Sskrll /* #undef STACK_DIRECTION */ 133006dfa844Sskrll 133106dfa844Sskrll /* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */ 133206dfa844Sskrll /* #undef STAT_MACROS_BROKEN */ 133306dfa844Sskrll 133406dfa844Sskrll /* Define to 1 if you have the ANSI C header files. */ 133506dfa844Sskrll #define STDC_HEADERS 1 133606dfa844Sskrll 133706dfa844Sskrll /* Define to 1 if strerror_r returns char *. */ 133806dfa844Sskrll /* #undef STRERROR_R_CHAR_P */ 133906dfa844Sskrll 134006dfa844Sskrll /* Define to 1 if the type of the st_atim member of a struct stat is struct 134106dfa844Sskrll timespec. */ 134206dfa844Sskrll #define TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC 1 134306dfa844Sskrll 134406dfa844Sskrll /* Define if the combination of the ISO C and POSIX multithreading APIs can be 134506dfa844Sskrll used. */ 134606dfa844Sskrll /* #undef USE_ISOC_AND_POSIX_THREADS */ 134706dfa844Sskrll 134806dfa844Sskrll /* Define if the ISO C multithreading library can be used. */ 134906dfa844Sskrll /* #undef USE_ISOC_THREADS */ 135006dfa844Sskrll 135106dfa844Sskrll /* Define if the POSIX multithreading library can be used. */ 135206dfa844Sskrll #define USE_POSIX_THREADS 1 135306dfa844Sskrll 13542dd29543Schristos /* Define if references to the POSIX multithreading library are satisfied by 13552dd29543Schristos libc. */ 13562dd29543Schristos /* #undef USE_POSIX_THREADS_FROM_LIBC */ 13572dd29543Schristos 135806dfa844Sskrll /* Define if references to the POSIX multithreading library should be made 135906dfa844Sskrll weak. */ 136006dfa844Sskrll #define USE_POSIX_THREADS_WEAK 1 136106dfa844Sskrll 136206dfa844Sskrll /* Enable extensions on AIX 3, Interix. */ 136306dfa844Sskrll #ifndef _ALL_SOURCE 136406dfa844Sskrll # define _ALL_SOURCE 1 136506dfa844Sskrll #endif 136606dfa844Sskrll /* Enable general extensions on macOS. */ 136706dfa844Sskrll #ifndef _DARWIN_C_SOURCE 136806dfa844Sskrll # define _DARWIN_C_SOURCE 1 136906dfa844Sskrll #endif 13702dd29543Schristos /* Enable general extensions on Solaris. */ 13712dd29543Schristos #ifndef __EXTENSIONS__ 13722dd29543Schristos # define __EXTENSIONS__ 1 13732dd29543Schristos #endif 137406dfa844Sskrll /* Enable GNU extensions on systems that have them. */ 137506dfa844Sskrll #ifndef _GNU_SOURCE 137606dfa844Sskrll # define _GNU_SOURCE 1 137706dfa844Sskrll #endif 13782dd29543Schristos /* Enable X/Open compliant socket functions that do not require linking 13792dd29543Schristos with -lxnet on HP-UX 11.11. */ 13802dd29543Schristos #ifndef _HPUX_ALT_XOPEN_SOCKET_API 13812dd29543Schristos # define _HPUX_ALT_XOPEN_SOCKET_API 1 13822dd29543Schristos #endif 13832dd29543Schristos /* Identify the host operating system as Minix. 13842dd29543Schristos This macro does not affect the system headers' behavior. 13852dd29543Schristos A future release of Autoconf may stop defining this macro. */ 13862dd29543Schristos #ifndef _MINIX 13872dd29543Schristos /* # undef _MINIX */ 13882dd29543Schristos #endif 13892dd29543Schristos /* Enable general extensions on NetBSD. 13902dd29543Schristos Enable NetBSD compatibility extensions on Minix. */ 139106dfa844Sskrll #ifndef _NETBSD_SOURCE 139206dfa844Sskrll # define _NETBSD_SOURCE 1 139306dfa844Sskrll #endif 13942dd29543Schristos /* Enable OpenBSD compatibility extensions on NetBSD. 13952dd29543Schristos Oddly enough, this does nothing on OpenBSD. */ 139606dfa844Sskrll #ifndef _OPENBSD_SOURCE 139706dfa844Sskrll # define _OPENBSD_SOURCE 1 139806dfa844Sskrll #endif 13992dd29543Schristos /* Define to 1 if needed for POSIX-compatible behavior. */ 14002dd29543Schristos #ifndef _POSIX_SOURCE 14012dd29543Schristos /* # undef _POSIX_SOURCE */ 14022dd29543Schristos #endif 14032dd29543Schristos /* Define to 2 if needed for POSIX-compatible behavior. */ 14042dd29543Schristos #ifndef _POSIX_1_SOURCE 14052dd29543Schristos /* # undef _POSIX_1_SOURCE */ 14062dd29543Schristos #endif 14072dd29543Schristos /* Enable POSIX-compatible threading on Solaris. */ 140806dfa844Sskrll #ifndef _POSIX_PTHREAD_SEMANTICS 140906dfa844Sskrll # define _POSIX_PTHREAD_SEMANTICS 1 141006dfa844Sskrll #endif 141106dfa844Sskrll /* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ 141206dfa844Sskrll #ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 141306dfa844Sskrll # define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 141406dfa844Sskrll #endif 141506dfa844Sskrll /* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ 141606dfa844Sskrll #ifndef __STDC_WANT_IEC_60559_BFP_EXT__ 141706dfa844Sskrll # define __STDC_WANT_IEC_60559_BFP_EXT__ 1 141806dfa844Sskrll #endif 141906dfa844Sskrll /* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ 142006dfa844Sskrll #ifndef __STDC_WANT_IEC_60559_DFP_EXT__ 142106dfa844Sskrll # define __STDC_WANT_IEC_60559_DFP_EXT__ 1 142206dfa844Sskrll #endif 142306dfa844Sskrll /* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ 142406dfa844Sskrll #ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ 142506dfa844Sskrll # define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 142606dfa844Sskrll #endif 142706dfa844Sskrll /* Enable extensions specified by ISO/IEC TS 18661-3:2015. */ 142806dfa844Sskrll #ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ 142906dfa844Sskrll # define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 143006dfa844Sskrll #endif 143106dfa844Sskrll /* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ 143206dfa844Sskrll #ifndef __STDC_WANT_LIB_EXT2__ 143306dfa844Sskrll # define __STDC_WANT_LIB_EXT2__ 1 143406dfa844Sskrll #endif 143506dfa844Sskrll /* Enable extensions specified by ISO/IEC 24747:2009. */ 143606dfa844Sskrll #ifndef __STDC_WANT_MATH_SPEC_FUNCS__ 143706dfa844Sskrll # define __STDC_WANT_MATH_SPEC_FUNCS__ 1 143806dfa844Sskrll #endif 143906dfa844Sskrll /* Enable extensions on HP NonStop. */ 144006dfa844Sskrll #ifndef _TANDEM_SOURCE 144106dfa844Sskrll # define _TANDEM_SOURCE 1 144206dfa844Sskrll #endif 14432dd29543Schristos /* Enable X/Open extensions. Define to 500 only if necessary 14442dd29543Schristos to make mbstate_t available. */ 144506dfa844Sskrll #ifndef _XOPEN_SOURCE 144606dfa844Sskrll /* # undef _XOPEN_SOURCE */ 144706dfa844Sskrll #endif 144806dfa844Sskrll 144906dfa844Sskrll 145006dfa844Sskrll /* Define if the native Windows multithreading API can be used. */ 145106dfa844Sskrll /* #undef USE_WINDOWS_THREADS */ 145206dfa844Sskrll 145306dfa844Sskrll /* Define to 1 if unsetenv returns void instead of int. */ 145406dfa844Sskrll /* #undef VOID_UNSETENV */ 145506dfa844Sskrll 145606dfa844Sskrll /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 145706dfa844Sskrll 'wchar_t'. */ 145806dfa844Sskrll /* #undef WCHAR_T_SUFFIX */ 145906dfa844Sskrll 14602dd29543Schristos /* Define if WSAStartup is needed. */ 14612dd29543Schristos /* #undef WINDOWS_SOCKETS */ 14622dd29543Schristos 146306dfa844Sskrll /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 146406dfa844Sskrll 'wint_t'. */ 146506dfa844Sskrll /* #undef WINT_T_SUFFIX */ 146606dfa844Sskrll 146706dfa844Sskrll /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most 146806dfa844Sskrll significant byte first (like Motorola and SPARC, unlike Intel). */ 146906dfa844Sskrll #if defined AC_APPLE_UNIVERSAL_BUILD 147006dfa844Sskrll # if defined __BIG_ENDIAN__ 147106dfa844Sskrll # define WORDS_BIGENDIAN 1 147206dfa844Sskrll # endif 147306dfa844Sskrll #else 147406dfa844Sskrll # ifndef WORDS_BIGENDIAN 147506dfa844Sskrll /* # undef WORDS_BIGENDIAN */ 147606dfa844Sskrll # endif 147706dfa844Sskrll #endif 147806dfa844Sskrll 147906dfa844Sskrll /* Number of bits in a file offset, on hosts where this is settable. */ 148006dfa844Sskrll /* #undef _FILE_OFFSET_BITS */ 148106dfa844Sskrll 148206dfa844Sskrll /* True if the compiler says it groks GNU C version MAJOR.MINOR. */ 148306dfa844Sskrll #if defined __GNUC__ && defined __GNUC_MINOR__ 148406dfa844Sskrll # define _GL_GNUC_PREREQ(major, minor) \ 148506dfa844Sskrll ((major) < __GNUC__ + ((minor) <= __GNUC_MINOR__)) 148606dfa844Sskrll #else 148706dfa844Sskrll # define _GL_GNUC_PREREQ(major, minor) 0 148806dfa844Sskrll #endif 148906dfa844Sskrll 149006dfa844Sskrll 14912dd29543Schristos /* Define to enable the declarations of ISO C 11 types and functions. */ 14922dd29543Schristos /* #undef _ISOC11_SOURCE */ 14932dd29543Schristos 149406dfa844Sskrll /* Define for large files, on AIX-style hosts. */ 149506dfa844Sskrll /* #undef _LARGE_FILES */ 149606dfa844Sskrll 149706dfa844Sskrll /* Define to 1 on Solaris. */ 149806dfa844Sskrll /* #undef _LCONV_C99 */ 149906dfa844Sskrll 150006dfa844Sskrll /* The _Noreturn keyword of C11. */ 150106dfa844Sskrll #ifndef _Noreturn 150206dfa844Sskrll # if (defined __cplusplus \ 150306dfa844Sskrll && ((201103 <= __cplusplus && !(__GNUC__ == 4 && __GNUC_MINOR__ == 7)) \ 150406dfa844Sskrll || (defined _MSC_VER && 1900 <= _MSC_VER)) \ 150506dfa844Sskrll && 0) 150606dfa844Sskrll /* [[noreturn]] is not practically usable, because with it the syntax 150706dfa844Sskrll extern _Noreturn void func (...); 150806dfa844Sskrll would not be valid; such a declaration would only be valid with 'extern' 150906dfa844Sskrll and '_Noreturn' swapped, or without the 'extern' keyword. However, some 151006dfa844Sskrll AIX system header files and several gnulib header files use precisely 151106dfa844Sskrll this syntax with 'extern'. */ 151206dfa844Sskrll # define _Noreturn [[noreturn]] 151306dfa844Sskrll # elif ((!defined __cplusplus || defined __clang__) \ 151406dfa844Sskrll && (201112 <= (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) \ 15152dd29543Schristos || (!defined __STRICT_ANSI__ \ 15162dd29543Schristos && (_GL_GNUC_PREREQ (4, 7) \ 151706dfa844Sskrll || (defined __apple_build_version__ \ 151806dfa844Sskrll ? 6000000 <= __apple_build_version__ \ 15192dd29543Schristos : 3 < __clang_major__ + (5 <= __clang_minor__)))))) 152006dfa844Sskrll /* _Noreturn works as-is. */ 15212dd29543Schristos # elif _GL_GNUC_PREREQ (2, 8) || defined __clang__ || 0x5110 <= __SUNPRO_C 152206dfa844Sskrll # define _Noreturn __attribute__ ((__noreturn__)) 152306dfa844Sskrll # elif 1200 <= (defined _MSC_VER ? _MSC_VER : 0) 152406dfa844Sskrll # define _Noreturn __declspec (noreturn) 152506dfa844Sskrll # else 152606dfa844Sskrll # define _Noreturn 152706dfa844Sskrll # endif 152806dfa844Sskrll #endif 152906dfa844Sskrll 153006dfa844Sskrll 153106dfa844Sskrll /* Define to 1 in order to get the POSIX compatible declarations of socket 153206dfa844Sskrll functions. */ 153306dfa844Sskrll /* #undef _POSIX_PII_SOCKET */ 153406dfa844Sskrll 15352dd29543Schristos /* Number of bits in a timestamp, on hosts where this is settable. */ 15362dd29543Schristos /* #undef _TIME_BITS */ 153706dfa844Sskrll 153806dfa844Sskrll /* For standard stat data types on VMS. */ 153906dfa844Sskrll #define _USE_STD_STAT 1 154006dfa844Sskrll 15412dd29543Schristos /* For 64-bit time_t on 32-bit mingw. */ 15422dd29543Schristos /* #undef __MINGW_USE_VC2005_COMPAT */ 15432dd29543Schristos 154406dfa844Sskrll /* Define to 1 if the system <stdint.h> predates C++11. */ 154506dfa844Sskrll /* #undef __STDC_CONSTANT_MACROS */ 154606dfa844Sskrll 154706dfa844Sskrll /* Define to 1 if the system <stdint.h> predates C++11. */ 154806dfa844Sskrll /* #undef __STDC_LIMIT_MACROS */ 154906dfa844Sskrll 15502dd29543Schristos /* Define to 1 if C does not support variable-length arrays, and if the 15512dd29543Schristos compiler does not already define this. */ 15522dd29543Schristos /* #undef __STDC_NO_VLA__ */ 15532dd29543Schristos 155406dfa844Sskrll /* The _GL_ASYNC_SAFE marker should be attached to functions that are 155506dfa844Sskrll signal handlers (for signals other than SIGABRT, SIGPIPE) or can be 155606dfa844Sskrll invoked from such signal handlers. Such functions have some restrictions: 155706dfa844Sskrll * All functions that it calls should be marked _GL_ASYNC_SAFE as well, 155806dfa844Sskrll or should be listed as async-signal-safe in POSIX 155906dfa844Sskrll <https://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_04> 156006dfa844Sskrll section 2.4.3. Note that malloc(), sprintf(), and fwrite(), in 156106dfa844Sskrll particular, are NOT async-signal-safe. 156206dfa844Sskrll * All memory locations (variables and struct fields) that these functions 156306dfa844Sskrll access must be marked 'volatile'. This holds for both read and write 156406dfa844Sskrll accesses. Otherwise the compiler might optimize away stores to and 156506dfa844Sskrll reads from such locations that occur in the program, depending on its 156606dfa844Sskrll data flow analysis. For example, when the program contains a loop 156706dfa844Sskrll that is intended to inspect a variable set from within a signal handler 156806dfa844Sskrll while (!signal_occurred) 156906dfa844Sskrll ; 157006dfa844Sskrll the compiler is allowed to transform this into an endless loop if the 157106dfa844Sskrll variable 'signal_occurred' is not declared 'volatile'. 157206dfa844Sskrll Additionally, recall that: 157306dfa844Sskrll * A signal handler should not modify errno (except if it is a handler 157406dfa844Sskrll for a fatal signal and ends by raising the same signal again, thus 157506dfa844Sskrll provoking the termination of the process). If it invokes a function 157606dfa844Sskrll that may clobber errno, it needs to save and restore the value of 157706dfa844Sskrll errno. */ 157806dfa844Sskrll #define _GL_ASYNC_SAFE 157906dfa844Sskrll 158006dfa844Sskrll 158106dfa844Sskrll /* Attributes. */ 15822dd29543Schristos #if (defined __has_attribute \ 15832dd29543Schristos && (!defined __clang_minor__ \ 15842dd29543Schristos || (defined __apple_build_version__ \ 15852dd29543Schristos ? 6000000 <= __apple_build_version__ \ 15862dd29543Schristos : 3 < __clang_major__ + (5 <= __clang_minor__)))) 158706dfa844Sskrll # define _GL_HAS_ATTRIBUTE(attr) __has_attribute (__##attr##__) 158806dfa844Sskrll #else 158906dfa844Sskrll # define _GL_HAS_ATTRIBUTE(attr) _GL_ATTR_##attr 159006dfa844Sskrll # define _GL_ATTR_alloc_size _GL_GNUC_PREREQ (4, 3) 159106dfa844Sskrll # define _GL_ATTR_always_inline _GL_GNUC_PREREQ (3, 2) 159206dfa844Sskrll # define _GL_ATTR_artificial _GL_GNUC_PREREQ (4, 3) 159306dfa844Sskrll # define _GL_ATTR_cold _GL_GNUC_PREREQ (4, 3) 159406dfa844Sskrll # define _GL_ATTR_const _GL_GNUC_PREREQ (2, 95) 159506dfa844Sskrll # define _GL_ATTR_deprecated _GL_GNUC_PREREQ (3, 1) 15962dd29543Schristos # define _GL_ATTR_diagnose_if 0 159706dfa844Sskrll # define _GL_ATTR_error _GL_GNUC_PREREQ (4, 3) 159806dfa844Sskrll # define _GL_ATTR_externally_visible _GL_GNUC_PREREQ (4, 1) 159906dfa844Sskrll # define _GL_ATTR_fallthrough _GL_GNUC_PREREQ (7, 0) 160006dfa844Sskrll # define _GL_ATTR_format _GL_GNUC_PREREQ (2, 7) 160106dfa844Sskrll # define _GL_ATTR_leaf _GL_GNUC_PREREQ (4, 6) 16022dd29543Schristos # define _GL_ATTR_malloc _GL_GNUC_PREREQ (3, 0) 160306dfa844Sskrll # ifdef _ICC 160406dfa844Sskrll # define _GL_ATTR_may_alias 0 160506dfa844Sskrll # else 160606dfa844Sskrll # define _GL_ATTR_may_alias _GL_GNUC_PREREQ (3, 3) 160706dfa844Sskrll # endif 160806dfa844Sskrll # define _GL_ATTR_noinline _GL_GNUC_PREREQ (3, 1) 160906dfa844Sskrll # define _GL_ATTR_nonnull _GL_GNUC_PREREQ (3, 3) 161006dfa844Sskrll # define _GL_ATTR_nonstring _GL_GNUC_PREREQ (8, 0) 161106dfa844Sskrll # define _GL_ATTR_nothrow _GL_GNUC_PREREQ (3, 3) 161206dfa844Sskrll # define _GL_ATTR_packed _GL_GNUC_PREREQ (2, 7) 161306dfa844Sskrll # define _GL_ATTR_pure _GL_GNUC_PREREQ (2, 96) 161406dfa844Sskrll # define _GL_ATTR_returns_nonnull _GL_GNUC_PREREQ (4, 9) 161506dfa844Sskrll # define _GL_ATTR_sentinel _GL_GNUC_PREREQ (4, 0) 161606dfa844Sskrll # define _GL_ATTR_unused _GL_GNUC_PREREQ (2, 7) 161706dfa844Sskrll # define _GL_ATTR_warn_unused_result _GL_GNUC_PREREQ (3, 4) 161806dfa844Sskrll #endif 161906dfa844Sskrll 16202dd29543Schristos #ifdef __has_c_attribute 16212dd29543Schristos # if ((defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) <= 201710 \ 16222dd29543Schristos && _GL_GNUC_PREREQ (4, 6)) 16232dd29543Schristos # pragma GCC diagnostic ignored "-Wpedantic" 16242dd29543Schristos # endif 16252dd29543Schristos # define _GL_HAS_C_ATTRIBUTE(attr) __has_c_attribute (__##attr##__) 16262dd29543Schristos #else 16272dd29543Schristos # define _GL_HAS_C_ATTRIBUTE(attr) 0 16282dd29543Schristos #endif 162906dfa844Sskrll 16302dd29543Schristos 16312dd29543Schristos /* _GL_ATTRIBUTE_ALLOC_SIZE ((N)) declares that the Nth argument of the function 16322dd29543Schristos is the size of the returned memory block. 16332dd29543Schristos _GL_ATTRIBUTE_ALLOC_SIZE ((M, N)) declares that the Mth argument multiplied 16342dd29543Schristos by the Nth argument of the function is the size of the returned memory block. 16352dd29543Schristos */ 16362dd29543Schristos /* Applies to: function, pointer to function, function types. */ 163706dfa844Sskrll #if _GL_HAS_ATTRIBUTE (alloc_size) 163806dfa844Sskrll # define _GL_ATTRIBUTE_ALLOC_SIZE(args) __attribute__ ((__alloc_size__ args)) 163906dfa844Sskrll #else 164006dfa844Sskrll # define _GL_ATTRIBUTE_ALLOC_SIZE(args) 164106dfa844Sskrll #endif 164206dfa844Sskrll 16432dd29543Schristos /* _GL_ATTRIBUTE_ALWAYS_INLINE tells that the compiler should always inline the 16442dd29543Schristos function and report an error if it cannot do so. */ 16452dd29543Schristos /* Applies to: function. */ 164606dfa844Sskrll #if _GL_HAS_ATTRIBUTE (always_inline) 164706dfa844Sskrll # define _GL_ATTRIBUTE_ALWAYS_INLINE __attribute__ ((__always_inline__)) 164806dfa844Sskrll #else 164906dfa844Sskrll # define _GL_ATTRIBUTE_ALWAYS_INLINE 165006dfa844Sskrll #endif 165106dfa844Sskrll 16522dd29543Schristos /* _GL_ATTRIBUTE_ARTIFICIAL declares that the function is not important to show 16532dd29543Schristos in stack traces when debugging. The compiler should omit the function from 16542dd29543Schristos stack traces. */ 16552dd29543Schristos /* Applies to: function. */ 165606dfa844Sskrll #if _GL_HAS_ATTRIBUTE (artificial) 165706dfa844Sskrll # define _GL_ATTRIBUTE_ARTIFICIAL __attribute__ ((__artificial__)) 165806dfa844Sskrll #else 165906dfa844Sskrll # define _GL_ATTRIBUTE_ARTIFICIAL 166006dfa844Sskrll #endif 166106dfa844Sskrll 16622dd29543Schristos /* _GL_ATTRIBUTE_COLD declares that the function is rarely executed. */ 16632dd29543Schristos /* Applies to: functions. */ 166406dfa844Sskrll /* Avoid __attribute__ ((cold)) on MinGW; see thread starting at 16652dd29543Schristos <https://lists.gnu.org/r/emacs-devel/2019-04/msg01152.html>. 16662dd29543Schristos Also, Oracle Studio 12.6 requires 'cold' not '__cold__'. */ 166706dfa844Sskrll #if _GL_HAS_ATTRIBUTE (cold) && !defined __MINGW32__ 16682dd29543Schristos # ifndef __SUNPRO_C 166906dfa844Sskrll # define _GL_ATTRIBUTE_COLD __attribute__ ((__cold__)) 167006dfa844Sskrll # else 16712dd29543Schristos # define _GL_ATTRIBUTE_COLD __attribute__ ((cold)) 16722dd29543Schristos # endif 16732dd29543Schristos #else 167406dfa844Sskrll # define _GL_ATTRIBUTE_COLD 167506dfa844Sskrll #endif 167606dfa844Sskrll 16772dd29543Schristos /* _GL_ATTRIBUTE_CONST declares that it is OK for a compiler to omit duplicate 16782dd29543Schristos calls to the function with the same arguments. 16792dd29543Schristos This attribute is safe for a function that neither depends on nor affects 16802dd29543Schristos observable state, and always returns exactly once - e.g., does not loop 16812dd29543Schristos forever, and does not call longjmp. 16822dd29543Schristos (This attribute is stricter than _GL_ATTRIBUTE_PURE.) */ 16832dd29543Schristos /* Applies to: functions. */ 168406dfa844Sskrll #if _GL_HAS_ATTRIBUTE (const) 168506dfa844Sskrll # define _GL_ATTRIBUTE_CONST __attribute__ ((__const__)) 168606dfa844Sskrll #else 168706dfa844Sskrll # define _GL_ATTRIBUTE_CONST 168806dfa844Sskrll #endif 168906dfa844Sskrll 16902dd29543Schristos /* _GL_ATTRIBUTE_DEALLOC (F, I) declares that the function returns pointers 16912dd29543Schristos that can be freed by passing them as the Ith argument to the 16922dd29543Schristos function F. 16932dd29543Schristos _GL_ATTRIBUTE_DEALLOC_FREE declares that the function returns pointers that 16942dd29543Schristos can be freed via 'free'; it can be used only after declaring 'free'. */ 16952dd29543Schristos /* Applies to: functions. Cannot be used on inline functions. */ 16962dd29543Schristos /* Disable on Solaris to avoid GDB PR build/29791. */ 16972dd29543Schristos #if _GL_GNUC_PREREQ (11, 0) && !(defined(__sun__) && defined(__svr4__)) 16982dd29543Schristos # define _GL_ATTRIBUTE_DEALLOC(f, i) __attribute__ ((__malloc__ (f, i))) 16992dd29543Schristos #else 17002dd29543Schristos # define _GL_ATTRIBUTE_DEALLOC(f, i) 17012dd29543Schristos #endif 17022dd29543Schristos /* If gnulib's <string.h> or <wchar.h> has already defined this macro, continue 17032dd29543Schristos to use this earlier definition, since <stdlib.h> may not have been included 17042dd29543Schristos yet. */ 17052dd29543Schristos #ifndef _GL_ATTRIBUTE_DEALLOC_FREE 17062dd29543Schristos # define _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_DEALLOC (free, 1) 17072dd29543Schristos #endif 17082dd29543Schristos 17092dd29543Schristos /* _GL_ATTRIBUTE_DEPRECATED: Declares that an entity is deprecated. 17102dd29543Schristos The compiler may warn if the entity is used. */ 17112dd29543Schristos /* Applies to: 17122dd29543Schristos - function, variable, 17132dd29543Schristos - struct, union, struct/union member, 17142dd29543Schristos - enumeration, enumeration item, 17152dd29543Schristos - typedef, 17162dd29543Schristos in C++ also: namespace, class, template specialization. */ 17172dd29543Schristos #if _GL_HAS_C_ATTRIBUTE (deprecated) 171806dfa844Sskrll # define _GL_ATTRIBUTE_DEPRECATED [[__deprecated__]] 171906dfa844Sskrll #elif _GL_HAS_ATTRIBUTE (deprecated) 172006dfa844Sskrll # define _GL_ATTRIBUTE_DEPRECATED __attribute__ ((__deprecated__)) 172106dfa844Sskrll #else 172206dfa844Sskrll # define _GL_ATTRIBUTE_DEPRECATED 172306dfa844Sskrll #endif 172406dfa844Sskrll 17252dd29543Schristos /* _GL_ATTRIBUTE_ERROR(msg) requests an error if a function is called and 17262dd29543Schristos the function call is not optimized away. 17272dd29543Schristos _GL_ATTRIBUTE_WARNING(msg) requests a warning if a function is called and 17282dd29543Schristos the function call is not optimized away. */ 17292dd29543Schristos /* Applies to: functions. */ 173006dfa844Sskrll #if _GL_HAS_ATTRIBUTE (error) 173106dfa844Sskrll # define _GL_ATTRIBUTE_ERROR(msg) __attribute__ ((__error__ (msg))) 173206dfa844Sskrll # define _GL_ATTRIBUTE_WARNING(msg) __attribute__ ((__warning__ (msg))) 17332dd29543Schristos #elif _GL_HAS_ATTRIBUTE (diagnose_if) 17342dd29543Schristos # define _GL_ATTRIBUTE_ERROR(msg) __attribute__ ((__diagnose_if__ (1, msg, "error"))) 17352dd29543Schristos # define _GL_ATTRIBUTE_WARNING(msg) __attribute__ ((__diagnose_if__ (1, msg, "warning"))) 173606dfa844Sskrll #else 173706dfa844Sskrll # define _GL_ATTRIBUTE_ERROR(msg) 173806dfa844Sskrll # define _GL_ATTRIBUTE_WARNING(msg) 173906dfa844Sskrll #endif 174006dfa844Sskrll 17412dd29543Schristos /* _GL_ATTRIBUTE_EXTERNALLY_VISIBLE declares that the entity should remain 17422dd29543Schristos visible to debuggers etc., even with '-fwhole-program'. */ 17432dd29543Schristos /* Applies to: functions, variables. */ 174406dfa844Sskrll #if _GL_HAS_ATTRIBUTE (externally_visible) 174506dfa844Sskrll # define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE __attribute__ ((externally_visible)) 174606dfa844Sskrll #else 174706dfa844Sskrll # define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE 174806dfa844Sskrll #endif 174906dfa844Sskrll 17502dd29543Schristos /* _GL_ATTRIBUTE_FALLTHROUGH declares that it is not a programming mistake if 17512dd29543Schristos the control flow falls through to the immediately following 'case' or 17522dd29543Schristos 'default' label. The compiler should not warn in this case. */ 17532dd29543Schristos /* Applies to: Empty statement (;), inside a 'switch' statement. */ 17542dd29543Schristos /* Always expands to something. */ 17552dd29543Schristos #if _GL_HAS_C_ATTRIBUTE (fallthrough) 175606dfa844Sskrll # define _GL_ATTRIBUTE_FALLTHROUGH [[__fallthrough__]] 175706dfa844Sskrll #elif _GL_HAS_ATTRIBUTE (fallthrough) 175806dfa844Sskrll # define _GL_ATTRIBUTE_FALLTHROUGH __attribute__ ((__fallthrough__)) 175906dfa844Sskrll #else 176006dfa844Sskrll # define _GL_ATTRIBUTE_FALLTHROUGH ((void) 0) 176106dfa844Sskrll #endif 176206dfa844Sskrll 17632dd29543Schristos /* _GL_ATTRIBUTE_FORMAT ((ARCHETYPE, STRING-INDEX, FIRST-TO-CHECK)) 17642dd29543Schristos declares that the STRING-INDEXth function argument is a format string of 17652dd29543Schristos style ARCHETYPE, which is one of: 17662dd29543Schristos printf, gnu_printf 17672dd29543Schristos scanf, gnu_scanf, 17682dd29543Schristos strftime, gnu_strftime, 17692dd29543Schristos strfmon, 17702dd29543Schristos or the same thing prefixed and suffixed with '__'. 17712dd29543Schristos If FIRST-TO-CHECK is not 0, arguments starting at FIRST-TO_CHECK 17722dd29543Schristos are suitable for the format string. */ 17732dd29543Schristos /* Applies to: functions. */ 177406dfa844Sskrll #if _GL_HAS_ATTRIBUTE (format) 177506dfa844Sskrll # define _GL_ATTRIBUTE_FORMAT(spec) __attribute__ ((__format__ spec)) 177606dfa844Sskrll #else 177706dfa844Sskrll # define _GL_ATTRIBUTE_FORMAT(spec) 177806dfa844Sskrll #endif 177906dfa844Sskrll 17802dd29543Schristos /* _GL_ATTRIBUTE_LEAF declares that if the function is called from some other 17812dd29543Schristos compilation unit, it executes code from that unit only by return or by 17822dd29543Schristos exception handling. This declaration lets the compiler optimize that unit 17832dd29543Schristos more aggressively. */ 17842dd29543Schristos /* Applies to: functions. */ 178506dfa844Sskrll #if _GL_HAS_ATTRIBUTE (leaf) 178606dfa844Sskrll # define _GL_ATTRIBUTE_LEAF __attribute__ ((__leaf__)) 178706dfa844Sskrll #else 178806dfa844Sskrll # define _GL_ATTRIBUTE_LEAF 178906dfa844Sskrll #endif 179006dfa844Sskrll 17912dd29543Schristos /* _GL_ATTRIBUTE_MALLOC declares that the function returns a pointer to freshly 17922dd29543Schristos allocated memory. */ 17932dd29543Schristos /* Applies to: functions. */ 179406dfa844Sskrll #if _GL_HAS_ATTRIBUTE (malloc) 179506dfa844Sskrll # define _GL_ATTRIBUTE_MALLOC __attribute__ ((__malloc__)) 179606dfa844Sskrll #else 179706dfa844Sskrll # define _GL_ATTRIBUTE_MALLOC 179806dfa844Sskrll #endif 179906dfa844Sskrll 18002dd29543Schristos /* _GL_ATTRIBUTE_MAY_ALIAS declares that pointers to the type may point to the 18012dd29543Schristos same storage as pointers to other types. Thus this declaration disables 18022dd29543Schristos strict aliasing optimization. */ 18032dd29543Schristos /* Applies to: types. */ 18042dd29543Schristos /* Oracle Studio 12.6 mishandles may_alias despite __has_attribute OK. */ 18052dd29543Schristos #if _GL_HAS_ATTRIBUTE (may_alias) && !defined __SUNPRO_C 18062dd29543Schristos # define _GL_ATTRIBUTE_MAY_ALIAS __attribute__ ((__may_alias__)) 18072dd29543Schristos #else 18082dd29543Schristos # define _GL_ATTRIBUTE_MAY_ALIAS 18092dd29543Schristos #endif 18102dd29543Schristos 18112dd29543Schristos /* _GL_ATTRIBUTE_MAYBE_UNUSED declares that it is not a programming mistake if 18122dd29543Schristos the entity is not used. The compiler should not warn if the entity is not 18132dd29543Schristos used. */ 18142dd29543Schristos /* Applies to: 18152dd29543Schristos - function, variable, 18162dd29543Schristos - struct, union, struct/union member, 18172dd29543Schristos - enumeration, enumeration item, 18182dd29543Schristos - typedef, 18192dd29543Schristos in C++ also: class. */ 18202dd29543Schristos /* In C++ and C2x, this is spelled [[__maybe_unused__]]. 18212dd29543Schristos GCC's syntax is __attribute__ ((__unused__)). 18222dd29543Schristos clang supports both syntaxes. */ 18232dd29543Schristos #if _GL_HAS_C_ATTRIBUTE (maybe_unused) 18242dd29543Schristos # define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]] 18252dd29543Schristos #else 18262dd29543Schristos # define _GL_ATTRIBUTE_MAYBE_UNUSED _GL_ATTRIBUTE_UNUSED 18272dd29543Schristos #endif 18282dd29543Schristos /* Alternative spelling of this macro, for convenience. */ 18292dd29543Schristos #define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED 18302dd29543Schristos /* Earlier spellings of this macro. */ 18312dd29543Schristos #define _UNUSED_PARAMETER_ _GL_ATTRIBUTE_MAYBE_UNUSED 18322dd29543Schristos 18332dd29543Schristos /* _GL_ATTRIBUTE_NODISCARD declares that the caller of the function should not 18342dd29543Schristos discard the return value. The compiler may warn if the caller does not use 18352dd29543Schristos the return value, unless the caller uses something like ignore_value. */ 18362dd29543Schristos /* Applies to: function, enumeration, class. */ 18372dd29543Schristos #if _GL_HAS_C_ATTRIBUTE (nodiscard) 183806dfa844Sskrll # define _GL_ATTRIBUTE_NODISCARD [[__nodiscard__]] 183906dfa844Sskrll #elif _GL_HAS_ATTRIBUTE (warn_unused_result) 184006dfa844Sskrll # define _GL_ATTRIBUTE_NODISCARD __attribute__ ((__warn_unused_result__)) 184106dfa844Sskrll #else 184206dfa844Sskrll # define _GL_ATTRIBUTE_NODISCARD 184306dfa844Sskrll #endif 184406dfa844Sskrll 18452dd29543Schristos /* _GL_ATTRIBUTE_NOINLINE tells that the compiler should not inline the 18462dd29543Schristos function. */ 18472dd29543Schristos /* Applies to: functions. */ 184806dfa844Sskrll #if _GL_HAS_ATTRIBUTE (noinline) 184906dfa844Sskrll # define _GL_ATTRIBUTE_NOINLINE __attribute__ ((__noinline__)) 185006dfa844Sskrll #else 185106dfa844Sskrll # define _GL_ATTRIBUTE_NOINLINE 185206dfa844Sskrll #endif 185306dfa844Sskrll 18542dd29543Schristos /* _GL_ATTRIBUTE_NONNULL ((N1, N2,...)) declares that the arguments N1, N2,... 18552dd29543Schristos must not be NULL. 18562dd29543Schristos _GL_ATTRIBUTE_NONNULL () declares that all pointer arguments must not be 18572dd29543Schristos null. */ 18582dd29543Schristos /* Applies to: functions. */ 185906dfa844Sskrll #if _GL_HAS_ATTRIBUTE (nonnull) 186006dfa844Sskrll # define _GL_ATTRIBUTE_NONNULL(args) __attribute__ ((__nonnull__ args)) 186106dfa844Sskrll #else 186206dfa844Sskrll # define _GL_ATTRIBUTE_NONNULL(args) 186306dfa844Sskrll #endif 186406dfa844Sskrll 18652dd29543Schristos /* _GL_ATTRIBUTE_NONSTRING declares that the contents of a character array is 18662dd29543Schristos not meant to be NUL-terminated. */ 18672dd29543Schristos /* Applies to: struct/union members and variables that are arrays of element 18682dd29543Schristos type '[[un]signed] char'. */ 186906dfa844Sskrll #if _GL_HAS_ATTRIBUTE (nonstring) 187006dfa844Sskrll # define _GL_ATTRIBUTE_NONSTRING __attribute__ ((__nonstring__)) 187106dfa844Sskrll #else 187206dfa844Sskrll # define _GL_ATTRIBUTE_NONSTRING 187306dfa844Sskrll #endif 187406dfa844Sskrll 187506dfa844Sskrll /* There is no _GL_ATTRIBUTE_NORETURN; use _Noreturn instead. */ 187606dfa844Sskrll 18772dd29543Schristos /* _GL_ATTRIBUTE_NOTHROW declares that the function does not throw exceptions. 18782dd29543Schristos */ 18792dd29543Schristos /* Applies to: functions. */ 188006dfa844Sskrll #if _GL_HAS_ATTRIBUTE (nothrow) && !defined __cplusplus 188106dfa844Sskrll # define _GL_ATTRIBUTE_NOTHROW __attribute__ ((__nothrow__)) 188206dfa844Sskrll #else 188306dfa844Sskrll # define _GL_ATTRIBUTE_NOTHROW 188406dfa844Sskrll #endif 188506dfa844Sskrll 18862dd29543Schristos /* _GL_ATTRIBUTE_PACKED declares: 18872dd29543Schristos For struct members: The member has the smallest possible alignment. 18882dd29543Schristos For struct, union, class: All members have the smallest possible alignment, 18892dd29543Schristos minimizing the memory required. */ 18902dd29543Schristos /* Applies to: struct members, struct, union, 18912dd29543Schristos in C++ also: class. */ 189206dfa844Sskrll #if _GL_HAS_ATTRIBUTE (packed) 189306dfa844Sskrll # define _GL_ATTRIBUTE_PACKED __attribute__ ((__packed__)) 189406dfa844Sskrll #else 189506dfa844Sskrll # define _GL_ATTRIBUTE_PACKED 189606dfa844Sskrll #endif 189706dfa844Sskrll 18982dd29543Schristos /* _GL_ATTRIBUTE_PURE declares that It is OK for a compiler to omit duplicate 18992dd29543Schristos calls to the function with the same arguments if observable state is not 19002dd29543Schristos changed between calls. 19012dd29543Schristos This attribute is safe for a function that does not affect 19022dd29543Schristos observable state, and always returns exactly once. 19032dd29543Schristos (This attribute is looser than _GL_ATTRIBUTE_CONST.) */ 19042dd29543Schristos /* Applies to: functions. */ 190506dfa844Sskrll #if _GL_HAS_ATTRIBUTE (pure) 190606dfa844Sskrll # define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__)) 190706dfa844Sskrll #else 190806dfa844Sskrll # define _GL_ATTRIBUTE_PURE 190906dfa844Sskrll #endif 191006dfa844Sskrll 19112dd29543Schristos /* _GL_ATTRIBUTE_RETURNS_NONNULL declares that the function's return value is 19122dd29543Schristos a non-NULL pointer. */ 19132dd29543Schristos /* Applies to: functions. */ 191406dfa844Sskrll #if _GL_HAS_ATTRIBUTE (returns_nonnull) 191506dfa844Sskrll # define _GL_ATTRIBUTE_RETURNS_NONNULL __attribute__ ((__returns_nonnull__)) 191606dfa844Sskrll #else 191706dfa844Sskrll # define _GL_ATTRIBUTE_RETURNS_NONNULL 191806dfa844Sskrll #endif 191906dfa844Sskrll 19202dd29543Schristos /* _GL_ATTRIBUTE_SENTINEL(pos) declares that the variadic function expects a 19212dd29543Schristos trailing NULL argument. 19222dd29543Schristos _GL_ATTRIBUTE_SENTINEL () - The last argument is NULL (requires C99). 19232dd29543Schristos _GL_ATTRIBUTE_SENTINEL ((N)) - The (N+1)st argument from the end is NULL. */ 19242dd29543Schristos /* Applies to: functions. */ 192506dfa844Sskrll #if _GL_HAS_ATTRIBUTE (sentinel) 192606dfa844Sskrll # define _GL_ATTRIBUTE_SENTINEL(pos) __attribute__ ((__sentinel__ pos)) 192706dfa844Sskrll #else 192806dfa844Sskrll # define _GL_ATTRIBUTE_SENTINEL(pos) 192906dfa844Sskrll #endif 193006dfa844Sskrll 19312dd29543Schristos /* A helper macro. Don't use it directly. */ 19322dd29543Schristos #if _GL_HAS_ATTRIBUTE (unused) 19332dd29543Schristos # define _GL_ATTRIBUTE_UNUSED __attribute__ ((__unused__)) 19342dd29543Schristos #else 19352dd29543Schristos # define _GL_ATTRIBUTE_UNUSED 19362dd29543Schristos #endif 193706dfa844Sskrll 19382dd29543Schristos 19392dd29543Schristos /* _GL_UNUSED_LABEL; declares that it is not a programming mistake if the 19402dd29543Schristos immediately preceding label is not used. The compiler should not warn 19412dd29543Schristos if the label is not used. */ 19422dd29543Schristos /* Applies to: label (both in C and C++). */ 19432dd29543Schristos /* Note that g++ < 4.5 does not support the '__attribute__ ((__unused__)) ;' 19442dd29543Schristos syntax. But clang does. */ 19452dd29543Schristos #if !(defined __cplusplus && !_GL_GNUC_PREREQ (4, 5)) || defined __clang__ 19462dd29543Schristos # define _GL_UNUSED_LABEL _GL_ATTRIBUTE_UNUSED 194706dfa844Sskrll #else 194806dfa844Sskrll # define _GL_UNUSED_LABEL 194906dfa844Sskrll #endif 195006dfa844Sskrll 195106dfa844Sskrll 195206dfa844Sskrll /* Define to `int' if <sys/types.h> doesn't define. */ 195306dfa844Sskrll /* #undef gid_t */ 195406dfa844Sskrll 195506dfa844Sskrll /* Define to `__inline__' or `__inline' if that's what the C compiler 195606dfa844Sskrll calls it, or to nothing if 'inline' is not supported under any name. */ 195706dfa844Sskrll #ifndef __cplusplus 195806dfa844Sskrll /* #undef inline */ 195906dfa844Sskrll #endif 196006dfa844Sskrll 196106dfa844Sskrll /* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports 196206dfa844Sskrll the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of 196306dfa844Sskrll earlier versions), but does not display it by setting __GNUC_STDC_INLINE__. 196406dfa844Sskrll __APPLE__ && __MACH__ test for Mac OS X. 196506dfa844Sskrll __APPLE_CC__ tests for the Apple compiler and its version. 196606dfa844Sskrll __STDC_VERSION__ tests for the C99 mode. */ 196706dfa844Sskrll #if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__ 196806dfa844Sskrll # define __GNUC_STDC_INLINE__ 1 196906dfa844Sskrll #endif 197006dfa844Sskrll 197106dfa844Sskrll /* Define to a type if <wchar.h> does not define. */ 197206dfa844Sskrll /* #undef mbstate_t */ 197306dfa844Sskrll 19742dd29543Schristos /* _GL_CMP (n1, n2) performs a three-valued comparison on n1 vs. n2, where 19752dd29543Schristos n1 and n2 are expressions without side effects, that evaluate to real 19762dd29543Schristos numbers (excluding NaN). 19772dd29543Schristos It returns 19782dd29543Schristos 1 if n1 > n2 19792dd29543Schristos 0 if n1 == n2 19802dd29543Schristos -1 if n1 < n2 19812dd29543Schristos The naïve code (n1 > n2 ? 1 : n1 < n2 ? -1 : 0) produces a conditional 19822dd29543Schristos jump with nearly all GCC versions up to GCC 10. 19832dd29543Schristos This variant (n1 < n2 ? -1 : n1 > n2) produces a conditional with many 19842dd29543Schristos GCC versions up to GCC 9. 19852dd29543Schristos The better code (n1 > n2) - (n1 < n2) from Hacker's Delight § 2-9 19862dd29543Schristos avoids conditional jumps in all GCC versions >= 3.4. */ 19872dd29543Schristos #define _GL_CMP(n1, n2) (((n1) > (n2)) - ((n1) < (n2))) 19882dd29543Schristos 19892dd29543Schristos 199006dfa844Sskrll /* Define to `int' if <sys/types.h> does not define. */ 199106dfa844Sskrll /* #undef mode_t */ 199206dfa844Sskrll 199306dfa844Sskrll /* Define to the type of st_nlink in struct stat, or a supertype. */ 199406dfa844Sskrll /* #undef nlink_t */ 199506dfa844Sskrll 19962dd29543Schristos /* Define as a signed integer type capable of holding a process identifier. */ 199706dfa844Sskrll /* #undef pid_t */ 199806dfa844Sskrll 199906dfa844Sskrll /* Define to the equivalent of the C99 'restrict' keyword, or to 200006dfa844Sskrll nothing if this is not supported. Do not define if restrict is 20012dd29543Schristos supported only directly. */ 20022dd29543Schristos #define restrict __restrict__ 200306dfa844Sskrll /* Work around a bug in older versions of Sun C++, which did not 200406dfa844Sskrll #define __restrict__ or support _Restrict or __restrict__ 200506dfa844Sskrll even though the corresponding Sun C compiler ended up with 200606dfa844Sskrll "#define restrict _Restrict" or "#define restrict __restrict__" 200706dfa844Sskrll in the previous line. This workaround can be removed once 200806dfa844Sskrll we assume Oracle Developer Studio 12.5 (2016) or later. */ 200906dfa844Sskrll #if defined __SUNPRO_CC && !defined __RESTRICT && !defined __restrict__ 201006dfa844Sskrll # define _Restrict 201106dfa844Sskrll # define __restrict__ 201206dfa844Sskrll #endif 201306dfa844Sskrll 201406dfa844Sskrll /* Define to `unsigned int' if <sys/types.h> does not define. */ 201506dfa844Sskrll /* #undef size_t */ 201606dfa844Sskrll 201706dfa844Sskrll /* type to use in place of socklen_t if not defined */ 201806dfa844Sskrll /* #undef socklen_t */ 201906dfa844Sskrll 202006dfa844Sskrll /* Define as a signed type of the same size as size_t. */ 202106dfa844Sskrll /* #undef ssize_t */ 202206dfa844Sskrll 202306dfa844Sskrll /* Define to `int' if <sys/types.h> doesn't define. */ 202406dfa844Sskrll /* #undef uid_t */ 2025