1eceb233bSchristos /* This file is automatically generated. DO NOT EDIT! */ 28dbf56feSchristos /* Generated from: NetBSD: mknative-gdb,v 1.16 2023/07/31 17:09:59 christos Exp */ 3eceb233bSchristos /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp */ 4eceb233bSchristos 5eceb233bSchristos /* config.h. Generated from config.in by configure. */ 6eceb233bSchristos /* config.in. Generated from configure.ac by autoheader. */ 7eceb233bSchristos 8eceb233bSchristos /* Define if building universal (internal helper macro) */ 9eceb233bSchristos /* #undef AC_APPLE_UNIVERSAL_BUILD */ 10eceb233bSchristos 11eceb233bSchristos /* Define to the number of bits in type 'ptrdiff_t'. */ 12eceb233bSchristos /* #undef BITSIZEOF_PTRDIFF_T */ 13eceb233bSchristos 14eceb233bSchristos /* Define to the number of bits in type 'sig_atomic_t'. */ 15eceb233bSchristos /* #undef BITSIZEOF_SIG_ATOMIC_T */ 16eceb233bSchristos 17eceb233bSchristos /* Define to the number of bits in type 'size_t'. */ 18eceb233bSchristos /* #undef BITSIZEOF_SIZE_T */ 19eceb233bSchristos 20eceb233bSchristos /* Define to the number of bits in type 'wchar_t'. */ 21eceb233bSchristos /* #undef BITSIZEOF_WCHAR_T */ 22eceb233bSchristos 23eceb233bSchristos /* Define to the number of bits in type 'wint_t'. */ 24eceb233bSchristos /* #undef BITSIZEOF_WINT_T */ 25eceb233bSchristos 268dbf56feSchristos /* Define to 1 if chown fails to change ctime when at least one argument was 278dbf56feSchristos not -1. */ 288dbf56feSchristos #define CHOWN_CHANGE_TIME_BUG 1 29eceb233bSchristos 308dbf56feSchristos /* Define if chown is not POSIX compliant regarding IDs of -1. */ 318dbf56feSchristos #define CHOWN_FAILS_TO_HONOR_ID_OF_NEGATIVE_ONE 1 328dbf56feSchristos 338dbf56feSchristos /* Define if chown modifies symlinks. */ 348dbf56feSchristos /* #undef CHOWN_MODIFIES_SYMLINK */ 358dbf56feSchristos 368dbf56feSchristos /* Define to 1 if chown mishandles trailing slash. */ 378dbf56feSchristos #define CHOWN_TRAILING_SLASH_BUG 1 388dbf56feSchristos 398dbf56feSchristos /* Define to 1 if using 'alloca.c'. */ 40eceb233bSchristos /* #undef C_ALLOCA */ 41eceb233bSchristos 42eceb233bSchristos /* Define as the bit index in the word where to find bit 0 of the exponent of 43eceb233bSchristos 'double'. */ 44eceb233bSchristos #define DBL_EXPBIT0_BIT 20 45eceb233bSchristos 46eceb233bSchristos /* Define as the word index where to find the exponent of 'double'. */ 47eceb233bSchristos #define DBL_EXPBIT0_WORD 0 48eceb233bSchristos 49eceb233bSchristos /* the name of the file descriptor member of DIR */ 50eceb233bSchristos /* #undef DIR_FD_MEMBER_NAME */ 51eceb233bSchristos 52eceb233bSchristos #ifdef DIR_FD_MEMBER_NAME 53eceb233bSchristos # define DIR_TO_FD(Dir_p) ((Dir_p)->DIR_FD_MEMBER_NAME) 54eceb233bSchristos #else 55eceb233bSchristos # define DIR_TO_FD(Dir_p) -1 56eceb233bSchristos #endif 57eceb233bSchristos 58eceb233bSchristos 59eceb233bSchristos /* Define to 1 if // is a file system root distinct from /. */ 60eceb233bSchristos /* #undef DOUBLE_SLASH_IS_DISTINCT_ROOT */ 61eceb233bSchristos 62eceb233bSchristos /* Define if struct dirent has a member d_ino that actually works. */ 63eceb233bSchristos /* #undef D_INO_IN_DIRENT */ 64eceb233bSchristos 65eceb233bSchristos /* Define this to 1 if F_DUPFD behavior does not match POSIX */ 66eceb233bSchristos /* #undef FCNTL_DUPFD_BUGGY */ 67eceb233bSchristos 68eceb233bSchristos /* Define to nothing if C supports flexible array members, and to 1 if it does 69eceb233bSchristos not. That way, with a declaration like 'struct s { int n; short 70eceb233bSchristos d[FLEXIBLE_ARRAY_MEMBER]; };', the struct hack can be used with pre-C99 71eceb233bSchristos compilers. Use 'FLEXSIZEOF (struct s, d, N * sizeof (short))' to calculate 72eceb233bSchristos the size in bytes of such a struct containing an N-element array. */ 73eceb233bSchristos #define FLEXIBLE_ARRAY_MEMBER /**/ 74eceb233bSchristos 75eceb233bSchristos /* Define to 1 if mkdir mistakenly creates a directory given with a trailing 76eceb233bSchristos dot component. */ 778dbf56feSchristos #define FUNC_MKDIR_DOT_BUG 1 78eceb233bSchristos 79eceb233bSchristos /* Define to 1 if realpath() can malloc memory, always gives an absolute path, 808dbf56feSchristos and handles a trailing slash correctly. */ 818dbf56feSchristos /* #undef FUNC_REALPATH_NEARLY_WORKS */ 82eceb233bSchristos 838dbf56feSchristos /* Define to 1 if realpath() can malloc memory, always gives an absolute path, 848dbf56feSchristos and handles leading slashes and a trailing slash correctly. */ 858dbf56feSchristos /* #undef FUNC_REALPATH_WORKS */ 86eceb233bSchristos 87eceb233bSchristos /* Define this to 'void' or 'struct timezone' to match the system's 88eceb233bSchristos declaration of the second argument to gettimeofday. */ 89eceb233bSchristos #define GETTIMEOFDAY_TIMEZONE void 90eceb233bSchristos 91eceb233bSchristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 92eceb233bSchristos whether the gnulib module canonicalize-lgpl shall be considered present. */ 93eceb233bSchristos #define GNULIB_CANONICALIZE_LGPL 1 94eceb233bSchristos 95eceb233bSchristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 96eceb233bSchristos whether the gnulib module fdopendir shall be considered present. */ 97eceb233bSchristos #define GNULIB_FDOPENDIR 1 98eceb233bSchristos 99eceb233bSchristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 100eceb233bSchristos whether the gnulib module fd-safer-flag shall be considered present. */ 101eceb233bSchristos #define GNULIB_FD_SAFER_FLAG 1 102eceb233bSchristos 103eceb233bSchristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 104eceb233bSchristos whether the gnulib module fnmatch-gnu shall be considered present. */ 105eceb233bSchristos #define GNULIB_FNMATCH_GNU 1 106eceb233bSchristos 107eceb233bSchristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 108eceb233bSchristos whether the gnulib module fscanf shall be considered present. */ 109eceb233bSchristos #define GNULIB_FSCANF 1 110eceb233bSchristos 111eceb233bSchristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 112eceb233bSchristos whether the gnulib module getcwd shall be considered present. */ 113eceb233bSchristos #define GNULIB_GETCWD 1 114eceb233bSchristos 115eceb233bSchristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 116eceb233bSchristos whether the gnulib module isblank shall be considered present. */ 117eceb233bSchristos #define GNULIB_ISBLANK 1 118eceb233bSchristos 119eceb233bSchristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 120eceb233bSchristos whether the gnulib module lock shall be considered present. */ 121eceb233bSchristos #define GNULIB_LOCK 1 122eceb233bSchristos 123eceb233bSchristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 124eceb233bSchristos whether the gnulib module mkostemp shall be considered present. */ 125eceb233bSchristos #define GNULIB_MKOSTEMP 1 126eceb233bSchristos 127eceb233bSchristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 128eceb233bSchristos whether the gnulib module msvc-nothrow shall be considered present. */ 129eceb233bSchristos #define GNULIB_MSVC_NOTHROW 1 130eceb233bSchristos 131eceb233bSchristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 132eceb233bSchristos whether the gnulib module openat shall be considered present. */ 133eceb233bSchristos #define GNULIB_OPENAT 1 134eceb233bSchristos 135eceb233bSchristos /* Define to 1 if printf and friends should be labeled with attribute 136eceb233bSchristos "__gnu_printf__" instead of "__printf__" */ 137eceb233bSchristos /* #undef GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU */ 138eceb233bSchristos 139eceb233bSchristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 140eceb233bSchristos whether the gnulib module scanf shall be considered present. */ 141eceb233bSchristos #define GNULIB_SCANF 1 142eceb233bSchristos 143eceb233bSchristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 144eceb233bSchristos whether the gnulib module strerror shall be considered present. */ 145eceb233bSchristos #define GNULIB_STRERROR 1 146eceb233bSchristos 147eceb233bSchristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 148eceb233bSchristos whether the gnulib module strerror_r-posix shall be considered present. */ 149eceb233bSchristos #define GNULIB_STRERROR_R_POSIX 1 150eceb233bSchristos 1518dbf56feSchristos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 1528dbf56feSchristos whether the gnulib module tempname shall be considered present. */ 1538dbf56feSchristos #define GNULIB_TEMPNAME 1 1548dbf56feSchristos 1558dbf56feSchristos /* Define to 1 when the gnulib module accept should be tested. */ 1568dbf56feSchristos #define GNULIB_TEST_ACCEPT 1 1578dbf56feSchristos 1588dbf56feSchristos /* Define to 1 when the gnulib module bind should be tested. */ 1598dbf56feSchristos #define GNULIB_TEST_BIND 1 1608dbf56feSchristos 161eceb233bSchristos /* Define to 1 when the gnulib module btowc should be tested. */ 162eceb233bSchristos #define GNULIB_TEST_BTOWC 1 163eceb233bSchristos 164eceb233bSchristos /* Define to 1 when the gnulib module canonicalize_file_name should be tested. 165eceb233bSchristos */ 166eceb233bSchristos #define GNULIB_TEST_CANONICALIZE_FILE_NAME 1 167eceb233bSchristos 168eceb233bSchristos /* Define to 1 when the gnulib module chdir should be tested. */ 169eceb233bSchristos #define GNULIB_TEST_CHDIR 1 170eceb233bSchristos 1718dbf56feSchristos /* Define to 1 when the gnulib module chown should be tested. */ 1728dbf56feSchristos #define GNULIB_TEST_CHOWN 1 1738dbf56feSchristos 174eceb233bSchristos /* Define to 1 when the gnulib module cloexec should be tested. */ 175eceb233bSchristos #define GNULIB_TEST_CLOEXEC 1 176eceb233bSchristos 177eceb233bSchristos /* Define to 1 when the gnulib module close should be tested. */ 178eceb233bSchristos #define GNULIB_TEST_CLOSE 1 179eceb233bSchristos 180eceb233bSchristos /* Define to 1 when the gnulib module closedir should be tested. */ 181eceb233bSchristos #define GNULIB_TEST_CLOSEDIR 1 182eceb233bSchristos 1838dbf56feSchristos /* Define to 1 when the gnulib module connect should be tested. */ 1848dbf56feSchristos #define GNULIB_TEST_CONNECT 1 1858dbf56feSchristos 186eceb233bSchristos /* Define to 1 when the gnulib module dirfd should be tested. */ 187eceb233bSchristos #define GNULIB_TEST_DIRFD 1 188eceb233bSchristos 189eceb233bSchristos /* Define to 1 when the gnulib module dup should be tested. */ 190eceb233bSchristos #define GNULIB_TEST_DUP 1 191eceb233bSchristos 192eceb233bSchristos /* Define to 1 when the gnulib module dup2 should be tested. */ 193eceb233bSchristos #define GNULIB_TEST_DUP2 1 194eceb233bSchristos 195eceb233bSchristos /* Define to 1 when the gnulib module environ should be tested. */ 196eceb233bSchristos #define GNULIB_TEST_ENVIRON 1 197eceb233bSchristos 198eceb233bSchristos /* Define to 1 when the gnulib module fchdir should be tested. */ 199eceb233bSchristos #define GNULIB_TEST_FCHDIR 1 200eceb233bSchristos 201eceb233bSchristos /* Define to 1 when the gnulib module fcntl should be tested. */ 202eceb233bSchristos #define GNULIB_TEST_FCNTL 1 203eceb233bSchristos 204eceb233bSchristos /* Define to 1 when the gnulib module fdopendir should be tested. */ 205eceb233bSchristos #define GNULIB_TEST_FDOPENDIR 1 206eceb233bSchristos 2078dbf56feSchristos /* Define to 1 when the gnulib module fgetc should be tested. */ 2088dbf56feSchristos #define GNULIB_TEST_FGETC 1 2098dbf56feSchristos 2108dbf56feSchristos /* Define to 1 when the gnulib module fgets should be tested. */ 2118dbf56feSchristos #define GNULIB_TEST_FGETS 1 2128dbf56feSchristos 213eceb233bSchristos /* Define to 1 when the gnulib module fnmatch should be tested. */ 214eceb233bSchristos #define GNULIB_TEST_FNMATCH 1 215eceb233bSchristos 2168dbf56feSchristos /* Define to 1 when the gnulib module fprintf should be tested. */ 2178dbf56feSchristos #define GNULIB_TEST_FPRINTF 1 2188dbf56feSchristos 2198dbf56feSchristos /* Define to 1 when the gnulib module fputc should be tested. */ 2208dbf56feSchristos #define GNULIB_TEST_FPUTC 1 2218dbf56feSchristos 2228dbf56feSchristos /* Define to 1 when the gnulib module fputs should be tested. */ 2238dbf56feSchristos #define GNULIB_TEST_FPUTS 1 2248dbf56feSchristos 2258dbf56feSchristos /* Define to 1 when the gnulib module fread should be tested. */ 2268dbf56feSchristos #define GNULIB_TEST_FREAD 1 2278dbf56feSchristos 2288dbf56feSchristos /* Define to 1 when the gnulib module free-posix should be tested. */ 2298dbf56feSchristos #define GNULIB_TEST_FREE_POSIX 1 2308dbf56feSchristos 231eceb233bSchristos /* Define to 1 when the gnulib module frexp should be tested. */ 232eceb233bSchristos #define GNULIB_TEST_FREXP 1 233eceb233bSchristos 234eceb233bSchristos /* Define to 1 when the gnulib module frexpl should be tested. */ 235eceb233bSchristos #define GNULIB_TEST_FREXPL 1 236eceb233bSchristos 2378dbf56feSchristos /* Define to 1 when the gnulib module fscanf should be tested. */ 2388dbf56feSchristos #define GNULIB_TEST_FSCANF 1 2398dbf56feSchristos 240eceb233bSchristos /* Define to 1 when the gnulib module fstat should be tested. */ 241eceb233bSchristos #define GNULIB_TEST_FSTAT 1 242eceb233bSchristos 243eceb233bSchristos /* Define to 1 when the gnulib module fstatat should be tested. */ 244eceb233bSchristos #define GNULIB_TEST_FSTATAT 1 245eceb233bSchristos 2468dbf56feSchristos /* Define to 1 when the gnulib module fwrite should be tested. */ 2478dbf56feSchristos #define GNULIB_TEST_FWRITE 1 2488dbf56feSchristos 2498dbf56feSchristos /* Define to 1 when the gnulib module getc should be tested. */ 2508dbf56feSchristos #define GNULIB_TEST_GETC 1 2518dbf56feSchristos 2528dbf56feSchristos /* Define to 1 when the gnulib module getchar should be tested. */ 2538dbf56feSchristos #define GNULIB_TEST_GETCHAR 1 2548dbf56feSchristos 255eceb233bSchristos /* Define to 1 when the gnulib module getcwd should be tested. */ 256eceb233bSchristos #define GNULIB_TEST_GETCWD 1 257eceb233bSchristos 2588dbf56feSchristos /* Define to 1 when the gnulib module getdelim should be tested. */ 2598dbf56feSchristos #define GNULIB_TEST_GETDELIM 1 2608dbf56feSchristos 261eceb233bSchristos /* Define to 1 when the gnulib module getdtablesize should be tested. */ 262eceb233bSchristos #define GNULIB_TEST_GETDTABLESIZE 1 263eceb233bSchristos 2648dbf56feSchristos /* Define to 1 when the gnulib module getline should be tested. */ 2658dbf56feSchristos #define GNULIB_TEST_GETLINE 1 2668dbf56feSchristos 267eceb233bSchristos /* Define to 1 when the gnulib module getlogin_r should be tested. */ 268eceb233bSchristos #define GNULIB_TEST_GETLOGIN_R 1 269eceb233bSchristos 270eceb233bSchristos /* Define to 1 when the gnulib module getrandom should be tested. */ 271eceb233bSchristos #define GNULIB_TEST_GETRANDOM 1 272eceb233bSchristos 273eceb233bSchristos /* Define to 1 when the gnulib module gettimeofday should be tested. */ 274eceb233bSchristos #define GNULIB_TEST_GETTIMEOFDAY 1 275eceb233bSchristos 276eceb233bSchristos /* Define to 1 when the gnulib module glob should be tested. */ 277eceb233bSchristos #define GNULIB_TEST_GLOB 1 278eceb233bSchristos 2798dbf56feSchristos /* Define to 1 when the gnulib module listen should be tested. */ 2808dbf56feSchristos #define GNULIB_TEST_LISTEN 1 2818dbf56feSchristos 282eceb233bSchristos /* Define to 1 when the gnulib module lstat should be tested. */ 283eceb233bSchristos #define GNULIB_TEST_LSTAT 1 284eceb233bSchristos 285eceb233bSchristos /* Define to 1 when the gnulib module malloc-posix should be tested. */ 286eceb233bSchristos #define GNULIB_TEST_MALLOC_POSIX 1 287eceb233bSchristos 288eceb233bSchristos /* Define to 1 when the gnulib module mbrtowc should be tested. */ 289eceb233bSchristos #define GNULIB_TEST_MBRTOWC 1 290eceb233bSchristos 291eceb233bSchristos /* Define to 1 when the gnulib module mbsinit should be tested. */ 292eceb233bSchristos #define GNULIB_TEST_MBSINIT 1 293eceb233bSchristos 294eceb233bSchristos /* Define to 1 when the gnulib module mbsrtowcs should be tested. */ 295eceb233bSchristos #define GNULIB_TEST_MBSRTOWCS 1 296eceb233bSchristos 297eceb233bSchristos /* Define to 1 when the gnulib module mbtowc should be tested. */ 298eceb233bSchristos #define GNULIB_TEST_MBTOWC 1 299eceb233bSchristos 300eceb233bSchristos /* Define to 1 when the gnulib module memchr should be tested. */ 301eceb233bSchristos #define GNULIB_TEST_MEMCHR 1 302eceb233bSchristos 303eceb233bSchristos /* Define to 1 when the gnulib module memmem should be tested. */ 304eceb233bSchristos #define GNULIB_TEST_MEMMEM 1 305eceb233bSchristos 306eceb233bSchristos /* Define to 1 when the gnulib module mempcpy should be tested. */ 307eceb233bSchristos #define GNULIB_TEST_MEMPCPY 1 308eceb233bSchristos 309eceb233bSchristos /* Define to 1 when the gnulib module memrchr should be tested. */ 310eceb233bSchristos #define GNULIB_TEST_MEMRCHR 1 311eceb233bSchristos 3128dbf56feSchristos /* Define to 1 when the gnulib module mkdir should be tested. */ 3138dbf56feSchristos #define GNULIB_TEST_MKDIR 1 3148dbf56feSchristos 315eceb233bSchristos /* Define to 1 when the gnulib module mkdtemp should be tested. */ 316eceb233bSchristos #define GNULIB_TEST_MKDTEMP 1 317eceb233bSchristos 318eceb233bSchristos /* Define to 1 when the gnulib module mkostemp should be tested. */ 319eceb233bSchristos #define GNULIB_TEST_MKOSTEMP 1 320eceb233bSchristos 321eceb233bSchristos /* Define to 1 when the gnulib module open should be tested. */ 322eceb233bSchristos #define GNULIB_TEST_OPEN 1 323eceb233bSchristos 324eceb233bSchristos /* Define to 1 when the gnulib module openat should be tested. */ 325eceb233bSchristos #define GNULIB_TEST_OPENAT 1 326eceb233bSchristos 327eceb233bSchristos /* Define to 1 when the gnulib module opendir should be tested. */ 328eceb233bSchristos #define GNULIB_TEST_OPENDIR 1 329eceb233bSchristos 3308dbf56feSchristos /* Define to 1 when the gnulib module pipe should be tested. */ 3318dbf56feSchristos #define GNULIB_TEST_PIPE 1 3328dbf56feSchristos 3338dbf56feSchristos /* Define to 1 when the gnulib module printf should be tested. */ 3348dbf56feSchristos #define GNULIB_TEST_PRINTF 1 3358dbf56feSchristos 3368dbf56feSchristos /* Define to 1 when the gnulib module putc should be tested. */ 3378dbf56feSchristos #define GNULIB_TEST_PUTC 1 3388dbf56feSchristos 3398dbf56feSchristos /* Define to 1 when the gnulib module putchar should be tested. */ 3408dbf56feSchristos #define GNULIB_TEST_PUTCHAR 1 3418dbf56feSchristos 3428dbf56feSchristos /* Define to 1 when the gnulib module puts should be tested. */ 3438dbf56feSchristos #define GNULIB_TEST_PUTS 1 3448dbf56feSchristos 345eceb233bSchristos /* Define to 1 when the gnulib module rawmemchr should be tested. */ 346eceb233bSchristos #define GNULIB_TEST_RAWMEMCHR 1 347eceb233bSchristos 348eceb233bSchristos /* Define to 1 when the gnulib module readdir should be tested. */ 349eceb233bSchristos #define GNULIB_TEST_READDIR 1 350eceb233bSchristos 351eceb233bSchristos /* Define to 1 when the gnulib module readlink should be tested. */ 352eceb233bSchristos #define GNULIB_TEST_READLINK 1 353eceb233bSchristos 354eceb233bSchristos /* Define to 1 when the gnulib module realloc-posix should be tested. */ 355eceb233bSchristos #define GNULIB_TEST_REALLOC_POSIX 1 356eceb233bSchristos 357eceb233bSchristos /* Define to 1 when the gnulib module realpath should be tested. */ 358eceb233bSchristos #define GNULIB_TEST_REALPATH 1 359eceb233bSchristos 360eceb233bSchristos /* Define to 1 when the gnulib module rename should be tested. */ 361eceb233bSchristos #define GNULIB_TEST_RENAME 1 362eceb233bSchristos 363eceb233bSchristos /* Define to 1 when the gnulib module rewinddir should be tested. */ 364eceb233bSchristos #define GNULIB_TEST_REWINDDIR 1 365eceb233bSchristos 366eceb233bSchristos /* Define to 1 when the gnulib module rmdir should be tested. */ 367eceb233bSchristos #define GNULIB_TEST_RMDIR 1 368eceb233bSchristos 3698dbf56feSchristos /* Define to 1 when the gnulib module scanf should be tested. */ 3708dbf56feSchristos #define GNULIB_TEST_SCANF 1 3718dbf56feSchristos 3728dbf56feSchristos /* Define to 1 when the gnulib module select should be tested. */ 3738dbf56feSchristos #define GNULIB_TEST_SELECT 1 3748dbf56feSchristos 375eceb233bSchristos /* Define to 1 when the gnulib module setenv should be tested. */ 376eceb233bSchristos #define GNULIB_TEST_SETENV 1 377eceb233bSchristos 378eceb233bSchristos /* Define to 1 when the gnulib module setlocale_null should be tested. */ 379eceb233bSchristos #define GNULIB_TEST_SETLOCALE_NULL 1 380eceb233bSchristos 3818dbf56feSchristos /* Define to 1 when the gnulib module setsockopt should be tested. */ 3828dbf56feSchristos #define GNULIB_TEST_SETSOCKOPT 1 3838dbf56feSchristos 3848dbf56feSchristos /* Define to 1 when the gnulib module socket should be tested. */ 3858dbf56feSchristos #define GNULIB_TEST_SOCKET 1 3868dbf56feSchristos 387eceb233bSchristos /* Define to 1 when the gnulib module stat should be tested. */ 388eceb233bSchristos #define GNULIB_TEST_STAT 1 389eceb233bSchristos 390eceb233bSchristos /* Define to 1 when the gnulib module strchrnul should be tested. */ 391eceb233bSchristos #define GNULIB_TEST_STRCHRNUL 1 392eceb233bSchristos 393eceb233bSchristos /* Define to 1 when the gnulib module strdup should be tested. */ 394eceb233bSchristos #define GNULIB_TEST_STRDUP 1 395eceb233bSchristos 396eceb233bSchristos /* Define to 1 when the gnulib module strerror should be tested. */ 397eceb233bSchristos #define GNULIB_TEST_STRERROR 1 398eceb233bSchristos 399eceb233bSchristos /* Define to 1 when the gnulib module strerror_r should be tested. */ 400eceb233bSchristos #define GNULIB_TEST_STRERROR_R 1 401eceb233bSchristos 402eceb233bSchristos /* Define to 1 when the gnulib module strnlen should be tested. */ 403eceb233bSchristos #define GNULIB_TEST_STRNLEN 1 404eceb233bSchristos 405eceb233bSchristos /* Define to 1 when the gnulib module strstr should be tested. */ 406eceb233bSchristos #define GNULIB_TEST_STRSTR 1 407eceb233bSchristos 408eceb233bSchristos /* Define to 1 when the gnulib module strtok_r should be tested. */ 409eceb233bSchristos #define GNULIB_TEST_STRTOK_R 1 410eceb233bSchristos 411eceb233bSchristos /* Define to 1 when the gnulib module time_r should be tested. */ 412eceb233bSchristos #define GNULIB_TEST_TIME_R 1 413eceb233bSchristos 414eceb233bSchristos /* Define to 1 when the gnulib module unsetenv should be tested. */ 415eceb233bSchristos #define GNULIB_TEST_UNSETENV 1 416eceb233bSchristos 4178dbf56feSchristos /* Define to 1 when the gnulib module vfprintf should be tested. */ 4188dbf56feSchristos #define GNULIB_TEST_VFPRINTF 1 4198dbf56feSchristos 4208dbf56feSchristos /* Define to 1 when the gnulib module vprintf should be tested. */ 4218dbf56feSchristos #define GNULIB_TEST_VPRINTF 1 4228dbf56feSchristos 423eceb233bSchristos /* Define to 1 when the gnulib module wmemchr should be tested. */ 424eceb233bSchristos #define GNULIB_TEST_WMEMCHR 1 425eceb233bSchristos 426eceb233bSchristos /* Define to 1 when the gnulib module wmempcpy should be tested. */ 427eceb233bSchristos #define GNULIB_TEST_WMEMPCPY 1 428eceb233bSchristos 429eceb233bSchristos /* Define to 1 if you have 'alloca' after including <alloca.h>, a header that 430eceb233bSchristos may be supplied by this distribution. */ 431eceb233bSchristos #define HAVE_ALLOCA 1 432eceb233bSchristos 433eceb233bSchristos /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix). 434eceb233bSchristos */ 435eceb233bSchristos /* #undef HAVE_ALLOCA_H */ 436eceb233bSchristos 437eceb233bSchristos /* Define to 1 if you have the <arpa/inet.h> header file. */ 438eceb233bSchristos #define HAVE_ARPA_INET_H 1 439eceb233bSchristos 440eceb233bSchristos /* Define to 1 if you have the <bcrypt.h> header file. */ 441eceb233bSchristos /* #undef HAVE_BCRYPT_H */ 442eceb233bSchristos 443eceb233bSchristos /* Define to 1 if you have the <bp-sym.h> header file. */ 444eceb233bSchristos /* #undef HAVE_BP_SYM_H */ 445eceb233bSchristos 446eceb233bSchristos /* Define to 1 if you have the `btowc' function. */ 447eceb233bSchristos #define HAVE_BTOWC 1 448eceb233bSchristos 449eceb233bSchristos /* Define to 1 if you have the `canonicalize_file_name' function. */ 450eceb233bSchristos /* #undef HAVE_CANONICALIZE_FILE_NAME */ 451eceb233bSchristos 452eceb233bSchristos /* Define to 1 if you have the `catgets' function. */ 453eceb233bSchristos #define HAVE_CATGETS 1 454eceb233bSchristos 4558dbf56feSchristos /* Define to 1 if you have the `chown' function. */ 4568dbf56feSchristos #define HAVE_CHOWN 1 4578dbf56feSchristos 4588dbf56feSchristos /* Define to 1 if you have the `clock_getres' function. */ 4598dbf56feSchristos #define HAVE_CLOCK_GETRES 1 4608dbf56feSchristos 4618dbf56feSchristos /* Define to 1 if you have the `clock_gettime' function. */ 4628dbf56feSchristos #define HAVE_CLOCK_GETTIME 1 4638dbf56feSchristos 4648dbf56feSchristos /* Define to 1 if you have the `clock_settime' function. */ 4658dbf56feSchristos #define HAVE_CLOCK_SETTIME 1 4668dbf56feSchristos 467eceb233bSchristos /* Define to 1 if you have the `closedir' function. */ 468eceb233bSchristos #define HAVE_CLOSEDIR 1 469eceb233bSchristos 470eceb233bSchristos /* Define to 1 if you have the <crtdefs.h> header file. */ 471eceb233bSchristos /* #undef HAVE_CRTDEFS_H */ 472eceb233bSchristos 4738dbf56feSchristos /* Define to 1 if C supports variable-length arrays. */ 4748dbf56feSchristos #define HAVE_C_VARARRAYS 1 4758dbf56feSchristos 476eceb233bSchristos /* Define to 1 if you have the declaration of `alarm', and to 0 if you don't. 477eceb233bSchristos */ 478eceb233bSchristos #define HAVE_DECL_ALARM 1 479eceb233bSchristos 480eceb233bSchristos /* Define to 1 if you have the declaration of `dirfd', and to 0 if you don't. 481eceb233bSchristos */ 482eceb233bSchristos #define HAVE_DECL_DIRFD 1 483eceb233bSchristos 4848dbf56feSchristos /* Define to 1 if you have the declaration of `ecvt', and to 0 if you don't. 4858dbf56feSchristos */ 4868dbf56feSchristos #define HAVE_DECL_ECVT 0 4878dbf56feSchristos 4888dbf56feSchristos /* Define to 1 if you have the declaration of `execvpe', and to 0 if you 4898dbf56feSchristos don't. */ 4908dbf56feSchristos #define HAVE_DECL_EXECVPE 1 4918dbf56feSchristos 492eceb233bSchristos /* Define to 1 if you have the declaration of `fchdir', and to 0 if you don't. 493eceb233bSchristos */ 494eceb233bSchristos #define HAVE_DECL_FCHDIR 1 495eceb233bSchristos 4968dbf56feSchristos /* Define to 1 if you have the declaration of `fcloseall', and to 0 if you 4978dbf56feSchristos don't. */ 4988dbf56feSchristos #define HAVE_DECL_FCLOSEALL 0 4998dbf56feSchristos 5008dbf56feSchristos /* Define to 1 if you have the declaration of `fcvt', and to 0 if you don't. 5018dbf56feSchristos */ 5028dbf56feSchristos #define HAVE_DECL_FCVT 0 5038dbf56feSchristos 504eceb233bSchristos /* Define to 1 if you have the declaration of `fdopendir', and to 0 if you 505eceb233bSchristos don't. */ 506eceb233bSchristos #define HAVE_DECL_FDOPENDIR 1 507eceb233bSchristos 5088dbf56feSchristos /* Define to 1 if you have the declaration of `gcvt', and to 0 if you don't. 5098dbf56feSchristos */ 5108dbf56feSchristos #define HAVE_DECL_GCVT 0 5118dbf56feSchristos 512eceb233bSchristos /* Define to 1 if you have the declaration of `getcwd', and to 0 if you don't. 513eceb233bSchristos */ 514eceb233bSchristos #define HAVE_DECL_GETCWD 1 515eceb233bSchristos 5168dbf56feSchristos /* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you 5178dbf56feSchristos don't. */ 5188dbf56feSchristos #define HAVE_DECL_GETC_UNLOCKED 1 5198dbf56feSchristos 5208dbf56feSchristos /* Define to 1 if you have the declaration of `getdelim', and to 0 if you 5218dbf56feSchristos don't. */ 5228dbf56feSchristos #define HAVE_DECL_GETDELIM 1 5238dbf56feSchristos 524eceb233bSchristos /* Define to 1 if you have the declaration of `getdtablesize', and to 0 if you 525eceb233bSchristos don't. */ 526eceb233bSchristos #define HAVE_DECL_GETDTABLESIZE 1 527eceb233bSchristos 5288dbf56feSchristos /* Define to 1 if you have the declaration of `getline', and to 0 if you 5298dbf56feSchristos don't. */ 5308dbf56feSchristos #define HAVE_DECL_GETLINE 1 5318dbf56feSchristos 532eceb233bSchristos /* Define to 1 if you have the declaration of `getlogin', and to 0 if you 533eceb233bSchristos don't. */ 534eceb233bSchristos #define HAVE_DECL_GETLOGIN 1 535eceb233bSchristos 536eceb233bSchristos /* Define to 1 if you have the declaration of `getlogin_r', and to 0 if you 537eceb233bSchristos don't. */ 538eceb233bSchristos #define HAVE_DECL_GETLOGIN_R 1 539eceb233bSchristos 540eceb233bSchristos /* Define to 1 if you have the declaration of `inet_ntop', and to 0 if you 541eceb233bSchristos don't. */ 542eceb233bSchristos #define HAVE_DECL_INET_NTOP 1 543eceb233bSchristos 544eceb233bSchristos /* Define to 1 if you have the declaration of `localtime_r', and to 0 if you 545eceb233bSchristos don't. */ 546eceb233bSchristos #define HAVE_DECL_LOCALTIME_R 1 547eceb233bSchristos 548eceb233bSchristos /* Define to 1 if you have the declaration of `mbrtowc', and to 0 if you 549eceb233bSchristos don't. */ 550eceb233bSchristos /* #undef HAVE_DECL_MBRTOWC */ 551eceb233bSchristos 552eceb233bSchristos /* Define to 1 if you have the declaration of `mbsinit', and to 0 if you 553eceb233bSchristos don't. */ 554eceb233bSchristos /* #undef HAVE_DECL_MBSINIT */ 555eceb233bSchristos 556eceb233bSchristos /* Define to 1 if you have the declaration of `mbsrtowcs', and to 0 if you 557eceb233bSchristos don't. */ 558eceb233bSchristos /* #undef HAVE_DECL_MBSRTOWCS */ 559eceb233bSchristos 560eceb233bSchristos /* Define to 1 if you have the declaration of `memmem', and to 0 if you don't. 561eceb233bSchristos */ 562eceb233bSchristos #define HAVE_DECL_MEMMEM 1 563eceb233bSchristos 564eceb233bSchristos /* Define to 1 if you have the declaration of `memrchr', and to 0 if you 565eceb233bSchristos don't. */ 566eceb233bSchristos #define HAVE_DECL_MEMRCHR 1 567eceb233bSchristos 568eceb233bSchristos /* Define to 1 if you have the declaration of `program_invocation_name', and 569eceb233bSchristos to 0 if you don't. */ 570eceb233bSchristos #define HAVE_DECL_PROGRAM_INVOCATION_NAME 0 571eceb233bSchristos 572eceb233bSchristos /* Define to 1 if you have the declaration of `program_invocation_short_name', 573eceb233bSchristos and to 0 if you don't. */ 574eceb233bSchristos #define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME 0 575eceb233bSchristos 576eceb233bSchristos /* Define to 1 if you have the declaration of `setenv', and to 0 if you don't. 577eceb233bSchristos */ 578eceb233bSchristos #define HAVE_DECL_SETENV 1 579eceb233bSchristos 580eceb233bSchristos /* Define to 1 if you have the declaration of `strdup', and to 0 if you don't. 581eceb233bSchristos */ 582eceb233bSchristos #define HAVE_DECL_STRDUP 1 583eceb233bSchristos 584eceb233bSchristos /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you 585eceb233bSchristos don't. */ 586eceb233bSchristos #define HAVE_DECL_STRERROR_R 1 587eceb233bSchristos 588eceb233bSchristos /* Define to 1 if you have the declaration of `strnlen', and to 0 if you 589eceb233bSchristos don't. */ 590eceb233bSchristos #define HAVE_DECL_STRNLEN 1 591eceb233bSchristos 592eceb233bSchristos /* Define to 1 if you have the declaration of `strtok_r', and to 0 if you 593eceb233bSchristos don't. */ 594eceb233bSchristos #define HAVE_DECL_STRTOK_R 1 595eceb233bSchristos 596eceb233bSchristos /* Define to 1 if you have the declaration of `towlower', and to 0 if you 597eceb233bSchristos don't. */ 598eceb233bSchristos /* #undef HAVE_DECL_TOWLOWER */ 599eceb233bSchristos 600eceb233bSchristos /* Define to 1 if you have the declaration of `unsetenv', and to 0 if you 601eceb233bSchristos don't. */ 602eceb233bSchristos #define HAVE_DECL_UNSETENV 1 603eceb233bSchristos 6048dbf56feSchristos /* Define to 1 if you have the declaration of `wcsdup', and to 0 if you don't. 6058dbf56feSchristos */ 6068dbf56feSchristos #define HAVE_DECL_WCSDUP 1 6078dbf56feSchristos 608eceb233bSchristos /* Define to 1 if you have the declaration of `__argv', and to 0 if you don't. 609eceb233bSchristos */ 610eceb233bSchristos #define HAVE_DECL___ARGV 0 611eceb233bSchristos 612eceb233bSchristos /* Define to 1 if you have the <dirent.h> header file. */ 613eceb233bSchristos #define HAVE_DIRENT_H 1 614eceb233bSchristos 615eceb233bSchristos /* Define to 1 if you have the `dirfd' function. */ 616eceb233bSchristos /* #undef HAVE_DIRFD */ 617eceb233bSchristos 618eceb233bSchristos /* Define to 1 if you have the <dlfcn.h> header file. */ 619eceb233bSchristos #define HAVE_DLFCN_H 1 620eceb233bSchristos 621eceb233bSchristos /* Define if you have the declaration of environ. */ 622eceb233bSchristos /* #undef HAVE_ENVIRON_DECL */ 623eceb233bSchristos 6248dbf56feSchristos /* Define to 1 if you have the `faccessat' function. */ 6258dbf56feSchristos #define HAVE_FACCESSAT 1 6268dbf56feSchristos 627eceb233bSchristos /* Define to 1 if you have the `fchdir' function. */ 628eceb233bSchristos #define HAVE_FCHDIR 1 629eceb233bSchristos 6308dbf56feSchristos /* Define to 1 if you have the `fchown' function. */ 6318dbf56feSchristos #define HAVE_FCHOWN 1 6328dbf56feSchristos 633eceb233bSchristos /* Define to 1 if you have the `fcntl' function. */ 634eceb233bSchristos #define HAVE_FCNTL 1 635eceb233bSchristos 636eceb233bSchristos /* Define to 1 if you have the `fdopendir' function. */ 637eceb233bSchristos #define HAVE_FDOPENDIR 1 638eceb233bSchristos 639eceb233bSchristos /* Define to 1 if you have the <features.h> header file. */ 640eceb233bSchristos /* #undef HAVE_FEATURES_H */ 641eceb233bSchristos 6428dbf56feSchristos /* Define to 1 if you have the `flockfile' function. */ 6438dbf56feSchristos #define HAVE_FLOCKFILE 1 6448dbf56feSchristos 645eceb233bSchristos /* Define to 1 if you have the `fnmatch' function. */ 646eceb233bSchristos #define HAVE_FNMATCH 1 647eceb233bSchristos 648eceb233bSchristos /* Define to 1 if you have the <fnmatch.h> header file. */ 649eceb233bSchristos #define HAVE_FNMATCH_H 1 650eceb233bSchristos 6518dbf56feSchristos /* Define if the 'free' function is guaranteed to preserve errno. */ 6528dbf56feSchristos /* #undef HAVE_FREE_POSIX */ 6538dbf56feSchristos 654eceb233bSchristos /* Define if the frexp() function is available and works. */ 6558dbf56feSchristos /* #undef HAVE_FREXP */ 656eceb233bSchristos 657eceb233bSchristos /* Define if the frexpl() function is available. */ 658eceb233bSchristos #define HAVE_FREXPL 1 659eceb233bSchristos 660eceb233bSchristos /* Define to 1 if you have the `fstatat' function. */ 661eceb233bSchristos #define HAVE_FSTATAT 1 662eceb233bSchristos 6638dbf56feSchristos /* Define to 1 if you have the `funlockfile' function. */ 6648dbf56feSchristos #define HAVE_FUNLOCKFILE 1 6658dbf56feSchristos 666eceb233bSchristos /* Define to 1 if you have the `getcwd' function. */ 667eceb233bSchristos #define HAVE_GETCWD 1 668eceb233bSchristos 669eceb233bSchristos /* Define to 1 if getcwd works, but with shorter paths than is generally 670eceb233bSchristos tested with the replacement. */ 671eceb233bSchristos /* #undef HAVE_GETCWD_SHORTER */ 672eceb233bSchristos 6738dbf56feSchristos /* Define to 1 if you have the `getdelim' function. */ 6748dbf56feSchristos #define HAVE_GETDELIM 1 6758dbf56feSchristos 676eceb233bSchristos /* Define to 1 if you have the `getdtablesize' function. */ 677eceb233bSchristos #define HAVE_GETDTABLESIZE 1 678eceb233bSchristos 679eceb233bSchristos /* Define to 1 if you have the `getexecname' function. */ 680eceb233bSchristos /* #undef HAVE_GETEXECNAME */ 681eceb233bSchristos 682eceb233bSchristos /* Define to 1 if you have the `getlogin_r' function. */ 683eceb233bSchristos #define HAVE_GETLOGIN_R 1 684eceb233bSchristos 685eceb233bSchristos /* Define to 1 if the system has the 'getpagesize' function. */ 686eceb233bSchristos /* #undef HAVE_GETPAGESIZE */ 687eceb233bSchristos 688eceb233bSchristos /* Define to 1 if you have the `getprogname' function. */ 689eceb233bSchristos #define HAVE_GETPROGNAME 1 690eceb233bSchristos 691eceb233bSchristos /* Define to 1 if you have the `getpwnam_r' function. */ 692eceb233bSchristos #define HAVE_GETPWNAM_R 1 693eceb233bSchristos 694eceb233bSchristos /* Define to 1 if you have the `getrandom' function. */ 695eceb233bSchristos #define HAVE_GETRANDOM 1 696eceb233bSchristos 697eceb233bSchristos /* Define to 1 if you have the `gettimeofday' function. */ 698eceb233bSchristos #define HAVE_GETTIMEOFDAY 1 699eceb233bSchristos 700eceb233bSchristos /* Define to 1 if you have the `glob' function. */ 701eceb233bSchristos #define HAVE_GLOB 1 702eceb233bSchristos 703eceb233bSchristos /* Define to 1 if you have the <glob.h> header file. */ 704eceb233bSchristos #define HAVE_GLOB_H 1 705eceb233bSchristos 706eceb233bSchristos /* Define to 1 if you have the `glob_pattern_p' function. */ 707eceb233bSchristos #define HAVE_GLOB_PATTERN_P 1 708eceb233bSchristos 709eceb233bSchristos /* Define to 1 if you have the `inet_ntop' function. */ 710eceb233bSchristos /* #undef HAVE_INET_NTOP */ 711eceb233bSchristos 712eceb233bSchristos /* Define to 1 if you have the <inttypes.h> header file. */ 713eceb233bSchristos #define HAVE_INTTYPES_H 1 714eceb233bSchristos 715eceb233bSchristos /* Define to 1 if <sys/socket.h> defines AF_INET. */ 716eceb233bSchristos #define HAVE_IPV4 1 717eceb233bSchristos 718eceb233bSchristos /* Define to 1 if <sys/socket.h> defines AF_INET6. */ 719eceb233bSchristos #define HAVE_IPV6 1 720eceb233bSchristos 721eceb233bSchristos /* Define to 1 if you have the `isblank' function. */ 722eceb233bSchristos #define HAVE_ISBLANK 1 723eceb233bSchristos 724eceb233bSchristos /* Define if the isnan(double) function is available in libc. */ 725eceb233bSchristos #define HAVE_ISNAND_IN_LIBC 1 726eceb233bSchristos 727eceb233bSchristos /* Define if the isnan(long double) function is available in libc. */ 728eceb233bSchristos #define HAVE_ISNANL_IN_LIBC 1 729eceb233bSchristos 730eceb233bSchristos /* Define to 1 if you have the `iswcntrl' function. */ 731eceb233bSchristos #define HAVE_ISWCNTRL 1 732eceb233bSchristos 733eceb233bSchristos /* Define if you have <langinfo.h> and nl_langinfo(CODESET). */ 734eceb233bSchristos #define HAVE_LANGINFO_CODESET 1 735eceb233bSchristos 736eceb233bSchristos /* Define to 1 if the bcrypt library is guaranteed to be present. */ 737eceb233bSchristos /* #undef HAVE_LIB_BCRYPT */ 738eceb233bSchristos 739eceb233bSchristos /* Define to 1 if you have the <limits.h> header file. */ 740eceb233bSchristos #define HAVE_LIMITS_H 1 741eceb233bSchristos 742eceb233bSchristos /* Define to 1 if you have the `link' function. */ 743eceb233bSchristos #define HAVE_LINK 1 744eceb233bSchristos 745eceb233bSchristos /* Define to 1 if you have the `localtime_r' function. */ 746eceb233bSchristos #define HAVE_LOCALTIME_R 1 747eceb233bSchristos 748eceb233bSchristos /* Define to 1 if the system has the type 'long long int'. */ 749eceb233bSchristos #define HAVE_LONG_LONG_INT 1 750eceb233bSchristos 751eceb233bSchristos /* Define to 1 if you have the `lstat' function. */ 752eceb233bSchristos #define HAVE_LSTAT 1 753eceb233bSchristos 7548dbf56feSchristos /* Define if malloc, realloc, and calloc set errno on allocation failure. */ 755eceb233bSchristos #define HAVE_MALLOC_POSIX 1 756eceb233bSchristos 757eceb233bSchristos /* Define to 1 if mmap()'s MAP_ANONYMOUS flag is available after including 758eceb233bSchristos config.h and <sys/mman.h>. */ 759eceb233bSchristos #define HAVE_MAP_ANONYMOUS 1 760eceb233bSchristos 761eceb233bSchristos /* Define to 1 if you have the <math.h> header file. */ 762eceb233bSchristos #define HAVE_MATH_H 1 763eceb233bSchristos 764eceb233bSchristos /* Define to 1 if you have the `mbrtowc' function. */ 765eceb233bSchristos #define HAVE_MBRTOWC 1 766eceb233bSchristos 767eceb233bSchristos /* Define to 1 if you have the `mbsinit' function. */ 768eceb233bSchristos #define HAVE_MBSINIT 1 769eceb233bSchristos 770eceb233bSchristos /* Define to 1 if you have the `mbsrtowcs' function. */ 771eceb233bSchristos #define HAVE_MBSRTOWCS 1 772eceb233bSchristos 773eceb233bSchristos /* Define to 1 if <wchar.h> declares mbstate_t. */ 774eceb233bSchristos #define HAVE_MBSTATE_T 1 775eceb233bSchristos 776eceb233bSchristos /* Define to 1 if you have the `mbtowc' function. */ 777eceb233bSchristos #define HAVE_MBTOWC 1 778eceb233bSchristos 779eceb233bSchristos /* Define to 1 if you have the `memmem' function. */ 780eceb233bSchristos #define HAVE_MEMMEM 1 781eceb233bSchristos 782eceb233bSchristos /* Define to 1 if you have the <memory.h> header file. */ 783eceb233bSchristos #define HAVE_MEMORY_H 1 784eceb233bSchristos 785eceb233bSchristos /* Define to 1 if you have the `mempcpy' function. */ 7868dbf56feSchristos #define HAVE_MEMPCPY 1 787eceb233bSchristos 788eceb233bSchristos /* Define to 1 if you have the `memrchr' function. */ 789eceb233bSchristos #define HAVE_MEMRCHR 1 790eceb233bSchristos 791eceb233bSchristos /* Define to 1 if getcwd minimally works, that is, its result can be trusted 792eceb233bSchristos when it succeeds. */ 793eceb233bSchristos /* #undef HAVE_MINIMALLY_WORKING_GETCWD */ 794eceb233bSchristos 7958dbf56feSchristos /* Define to 1 if you have the <minix/config.h> header file. */ 7968dbf56feSchristos /* #undef HAVE_MINIX_CONFIG_H */ 7978dbf56feSchristos 798eceb233bSchristos /* Define to 1 if <limits.h> defines the MIN and MAX macros. */ 799eceb233bSchristos /* #undef HAVE_MINMAX_IN_LIMITS_H */ 800eceb233bSchristos 801eceb233bSchristos /* Define to 1 if <sys/param.h> defines the MIN and MAX macros. */ 802eceb233bSchristos #define HAVE_MINMAX_IN_SYS_PARAM_H 1 803eceb233bSchristos 804eceb233bSchristos /* Define to 1 if you have the `mkdtemp' function. */ 805eceb233bSchristos #define HAVE_MKDTEMP 1 806eceb233bSchristos 807eceb233bSchristos /* Define to 1 if you have the `mkostemp' function. */ 808eceb233bSchristos #define HAVE_MKOSTEMP 1 809eceb233bSchristos 810eceb233bSchristos /* Define to 1 if you have the `mprotect' function. */ 811eceb233bSchristos #define HAVE_MPROTECT 1 812eceb233bSchristos 813eceb233bSchristos /* Define to 1 on MSVC platforms that have the "invalid parameter handler" 814eceb233bSchristos concept. */ 815eceb233bSchristos /* #undef HAVE_MSVC_INVALID_PARAMETER_HANDLER */ 816eceb233bSchristos 817eceb233bSchristos /* Define to 1 if you have the <netdb.h> header file. */ 818eceb233bSchristos #define HAVE_NETDB_H 1 819eceb233bSchristos 820eceb233bSchristos /* Define to 1 if you have the <netinet/in.h> header file. */ 821eceb233bSchristos #define HAVE_NETINET_IN_H 1 822eceb233bSchristos 823eceb233bSchristos /* Define to 1 if you have the `openat' function. */ 824eceb233bSchristos #define HAVE_OPENAT 1 825eceb233bSchristos 826eceb233bSchristos /* Define to 1 if you have the `opendir' function. */ 827eceb233bSchristos #define HAVE_OPENDIR 1 828eceb233bSchristos 829eceb233bSchristos /* Define to 1 if getcwd works, except it sometimes fails when it shouldn't, 830eceb233bSchristos setting errno to ERANGE, ENAMETOOLONG, or ENOENT. */ 831eceb233bSchristos /* #undef HAVE_PARTLY_WORKING_GETCWD */ 832eceb233bSchristos 833eceb233bSchristos /* Define to 1 if you have the `pipe' function. */ 834eceb233bSchristos #define HAVE_PIPE 1 835eceb233bSchristos 836eceb233bSchristos /* Define if you have the <pthread.h> header and the POSIX threads API. */ 837eceb233bSchristos #define HAVE_PTHREAD_API 1 838eceb233bSchristos 839eceb233bSchristos /* Define if the <pthread.h> defines PTHREAD_MUTEX_RECURSIVE. */ 840eceb233bSchristos #define HAVE_PTHREAD_MUTEX_RECURSIVE 1 841eceb233bSchristos 842eceb233bSchristos /* Define if the POSIX multithreading library has read/write locks. */ 843eceb233bSchristos #define HAVE_PTHREAD_RWLOCK 1 844eceb233bSchristos 845eceb233bSchristos /* Define if the 'pthread_rwlock_rdlock' function prefers a writer to a 846eceb233bSchristos reader. */ 847eceb233bSchristos /* #undef HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER */ 848eceb233bSchristos 849eceb233bSchristos /* Define to 1 if you have the `rawmemchr' function. */ 850eceb233bSchristos /* #undef HAVE_RAWMEMCHR */ 851eceb233bSchristos 852eceb233bSchristos /* Define to 1 if you have the `readdir' function. */ 853eceb233bSchristos #define HAVE_READDIR 1 854eceb233bSchristos 855eceb233bSchristos /* Define to 1 if you have the `readlink' function. */ 856eceb233bSchristos #define HAVE_READLINK 1 857eceb233bSchristos 858eceb233bSchristos /* Define to 1 if you have the `realpath' function. */ 859eceb233bSchristos #define HAVE_REALPATH 1 860eceb233bSchristos 861eceb233bSchristos /* Define to 1 if you have the `rewinddir' function. */ 862eceb233bSchristos #define HAVE_REWINDDIR 1 863eceb233bSchristos 864eceb233bSchristos /* Define to 1 if 'long double' and 'double' have the same representation. */ 865eceb233bSchristos #define HAVE_SAME_LONG_DOUBLE_AS_DOUBLE 1 866eceb233bSchristos 867eceb233bSchristos /* Define to 1 if the system has the type `sa_family_t'. */ 868eceb233bSchristos #define HAVE_SA_FAMILY_T 1 869eceb233bSchristos 8708dbf56feSchristos /* Define to 1 if you have the <sdkddkver.h> header file. */ 8718dbf56feSchristos /* #undef HAVE_SDKDDKVER_H */ 8728dbf56feSchristos 873eceb233bSchristos /* Define to 1 if you have the <search.h> header file. */ 874eceb233bSchristos #define HAVE_SEARCH_H 1 875eceb233bSchristos 876eceb233bSchristos /* Define to 1 if you have the `setdtablesize' function. */ 877eceb233bSchristos /* #undef HAVE_SETDTABLESIZE */ 878eceb233bSchristos 879eceb233bSchristos /* Define to 1 if you have the `setenv' function. */ 880eceb233bSchristos #define HAVE_SETENV 1 881eceb233bSchristos 882eceb233bSchristos /* Define to 1 if you have the `shutdown' function. */ 883eceb233bSchristos #define HAVE_SHUTDOWN 1 884eceb233bSchristos 885eceb233bSchristos /* Define to 1 if 'sig_atomic_t' is a signed integer type. */ 886eceb233bSchristos /* #undef HAVE_SIGNED_SIG_ATOMIC_T */ 887eceb233bSchristos 888eceb233bSchristos /* Define to 1 if 'wchar_t' is a signed integer type. */ 889eceb233bSchristos /* #undef HAVE_SIGNED_WCHAR_T */ 890eceb233bSchristos 891eceb233bSchristos /* Define to 1 if 'wint_t' is a signed integer type. */ 892eceb233bSchristos /* #undef HAVE_SIGNED_WINT_T */ 893eceb233bSchristos 894eceb233bSchristos /* Define to 1 if the system has the type `sigset_t'. */ 895eceb233bSchristos #define HAVE_SIGSET_T 1 896eceb233bSchristos 897eceb233bSchristos /* Define to 1 if you have the `snprintf' function. */ 898eceb233bSchristos #define HAVE_SNPRINTF 1 899eceb233bSchristos 900eceb233bSchristos /* Define to 1 if you have the <stdint.h> header file. */ 901eceb233bSchristos #define HAVE_STDINT_H 1 902eceb233bSchristos 903eceb233bSchristos /* Define to 1 if you have the <stdlib.h> header file. */ 904eceb233bSchristos #define HAVE_STDLIB_H 1 905eceb233bSchristos 906eceb233bSchristos /* Define to 1 if you have the `strchrnul' function. */ 907eceb233bSchristos #define HAVE_STRCHRNUL 1 908eceb233bSchristos 909eceb233bSchristos /* Define to 1 if you have the `strerror_r' function. */ 910eceb233bSchristos #define HAVE_STRERROR_R 1 911eceb233bSchristos 912eceb233bSchristos /* Define to 1 if you have the <strings.h> header file. */ 913eceb233bSchristos #define HAVE_STRINGS_H 1 914eceb233bSchristos 915eceb233bSchristos /* Define to 1 if you have the <string.h> header file. */ 916eceb233bSchristos #define HAVE_STRING_H 1 917eceb233bSchristos 918eceb233bSchristos /* Define to 1 if you have the `strtok_r' function. */ 919eceb233bSchristos #define HAVE_STRTOK_R 1 920eceb233bSchristos 921eceb233bSchristos /* Define if there is a member named d_type in the struct describing directory 922eceb233bSchristos headers. */ 923eceb233bSchristos #define HAVE_STRUCT_DIRENT_D_TYPE 1 924eceb233bSchristos 925eceb233bSchristos /* Define to 1 if the system has the type `struct sockaddr_storage'. */ 926eceb233bSchristos #define HAVE_STRUCT_SOCKADDR_STORAGE 1 927eceb233bSchristos 928eceb233bSchristos /* Define to 1 if `ss_family' is a member of `struct sockaddr_storage'. */ 929eceb233bSchristos #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 930eceb233bSchristos 931eceb233bSchristos /* Define to 1 if `st_atimensec' is a member of `struct stat'. */ 932eceb233bSchristos /* #undef HAVE_STRUCT_STAT_ST_ATIMENSEC */ 933eceb233bSchristos 934eceb233bSchristos /* Define to 1 if `st_atimespec.tv_nsec' is a member of `struct stat'. */ 935eceb233bSchristos /* #undef HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC */ 936eceb233bSchristos 937eceb233bSchristos /* Define to 1 if `st_atim.st__tim.tv_nsec' is a member of `struct stat'. */ 938eceb233bSchristos /* #undef HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC */ 939eceb233bSchristos 940eceb233bSchristos /* Define to 1 if `st_atim.tv_nsec' is a member of `struct stat'. */ 941eceb233bSchristos #define HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC 1 942eceb233bSchristos 943eceb233bSchristos /* Define to 1 if `st_birthtimensec' is a member of `struct stat'. */ 944eceb233bSchristos /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC */ 945eceb233bSchristos 946eceb233bSchristos /* Define to 1 if `st_birthtimespec.tv_nsec' is a member of `struct stat'. */ 947eceb233bSchristos #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC 1 948eceb233bSchristos 949eceb233bSchristos /* Define to 1 if `st_birthtim.tv_nsec' is a member of `struct stat'. */ 950eceb233bSchristos /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIM_TV_NSEC */ 951eceb233bSchristos 952eceb233bSchristos /* Define to 1 if you have the `symlink' function. */ 953eceb233bSchristos #define HAVE_SYMLINK 1 954eceb233bSchristos 955eceb233bSchristos /* Define to 1 if you have the <sys/bitypes.h> header file. */ 956eceb233bSchristos /* #undef HAVE_SYS_BITYPES_H */ 957eceb233bSchristos 958eceb233bSchristos /* Define to 1 if you have the <sys/inttypes.h> header file. */ 959eceb233bSchristos /* #undef HAVE_SYS_INTTYPES_H */ 960eceb233bSchristos 961eceb233bSchristos /* Define to 1 if you have the <sys/mman.h> header file. */ 962eceb233bSchristos #define HAVE_SYS_MMAN_H 1 963eceb233bSchristos 964eceb233bSchristos /* Define to 1 if you have the <sys/param.h> header file. */ 965eceb233bSchristos #define HAVE_SYS_PARAM_H 1 966eceb233bSchristos 967eceb233bSchristos /* Define to 1 if you have the <sys/random.h> header file. */ 968eceb233bSchristos #define HAVE_SYS_RANDOM_H 1 969eceb233bSchristos 9708dbf56feSchristos /* Define to 1 if you have the <sys/select.h> header file. */ 9718dbf56feSchristos #define HAVE_SYS_SELECT_H 1 9728dbf56feSchristos 973eceb233bSchristos /* Define to 1 if you have the <sys/socket.h> header file. */ 974eceb233bSchristos #define HAVE_SYS_SOCKET_H 1 975eceb233bSchristos 976eceb233bSchristos /* Define to 1 if you have the <sys/stat.h> header file. */ 977eceb233bSchristos #define HAVE_SYS_STAT_H 1 978eceb233bSchristos 979eceb233bSchristos /* Define to 1 if you have the <sys/time.h> header file. */ 980eceb233bSchristos #define HAVE_SYS_TIME_H 1 981eceb233bSchristos 982eceb233bSchristos /* Define to 1 if you have the <sys/types.h> header file. */ 983eceb233bSchristos #define HAVE_SYS_TYPES_H 1 984eceb233bSchristos 985eceb233bSchristos /* Define to 1 if you have the <sys/uio.h> header file. */ 986eceb233bSchristos #define HAVE_SYS_UIO_H 1 987eceb233bSchristos 9888dbf56feSchristos /* Define to 1 if you have the <sys/wait.h> header file. */ 9898dbf56feSchristos #define HAVE_SYS_WAIT_H 1 9908dbf56feSchristos 991eceb233bSchristos /* Define to 1 if you have the `thrd_create' function. */ 992eceb233bSchristos /* #undef HAVE_THRD_CREATE */ 993eceb233bSchristos 994eceb233bSchristos /* Define to 1 if you have the <threads.h> header file. */ 995eceb233bSchristos #define HAVE_THREADS_H 1 996eceb233bSchristos 997eceb233bSchristos /* Define to 1 if you have the `towlower' function. */ 998eceb233bSchristos #define HAVE_TOWLOWER 1 999eceb233bSchristos 1000eceb233bSchristos /* Define to 1 if you have the `tsearch' function. */ 1001eceb233bSchristos #define HAVE_TSEARCH 1 1002eceb233bSchristos 1003eceb233bSchristos /* Define to 1 if you have the <unistd.h> header file. */ 1004eceb233bSchristos #define HAVE_UNISTD_H 1 1005eceb233bSchristos 1006eceb233bSchristos /* Define to 1 if you have the `unsetenv' function. */ 1007eceb233bSchristos #define HAVE_UNSETENV 1 1008eceb233bSchristos 1009eceb233bSchristos /* Define to 1 if the system has the type 'unsigned long long int'. */ 1010eceb233bSchristos #define HAVE_UNSIGNED_LONG_LONG_INT 1 1011eceb233bSchristos 1012eceb233bSchristos /* Define if you have a global __progname variable */ 1013eceb233bSchristos #define HAVE_VAR___PROGNAME 1 1014eceb233bSchristos 1015eceb233bSchristos /* Define to 1 or 0, depending whether the compiler supports simple visibility 1016eceb233bSchristos declarations. */ 1017eceb233bSchristos #define HAVE_VISIBILITY 1 1018eceb233bSchristos 1019eceb233bSchristos /* Define to 1 if you have the <wchar.h> header file. */ 1020eceb233bSchristos #define HAVE_WCHAR_H 1 1021eceb233bSchristos 1022eceb233bSchristos /* Define if you have the 'wchar_t' type. */ 1023eceb233bSchristos #define HAVE_WCHAR_T 1 1024eceb233bSchristos 1025eceb233bSchristos /* Define to 1 if you have the <wctype.h> header file. */ 1026eceb233bSchristos #define HAVE_WCTYPE_H 1 1027eceb233bSchristos 1028eceb233bSchristos /* Define to 1 if the compiler and linker support weak declarations of 1029eceb233bSchristos symbols. */ 1030eceb233bSchristos #define HAVE_WEAK_SYMBOLS 1 1031eceb233bSchristos 1032eceb233bSchristos /* Define to 1 if you have the <windows.h> header file. */ 1033eceb233bSchristos /* #undef HAVE_WINDOWS_H */ 1034eceb233bSchristos 1035eceb233bSchristos /* Define to 1 if you have the <winsock2.h> header file. */ 1036eceb233bSchristos /* #undef HAVE_WINSOCK2_H */ 1037eceb233bSchristos 1038eceb233bSchristos /* Define if you have the 'wint_t' type. */ 1039eceb233bSchristos #define HAVE_WINT_T 1 1040eceb233bSchristos 1041eceb233bSchristos /* Define to 1 if you have the `wmempcpy' function. */ 10428dbf56feSchristos #define HAVE_WMEMPCPY 1 1043eceb233bSchristos 1044eceb233bSchristos /* Define to 1 if fstatat (..., 0) works. For example, it does not work in AIX 1045eceb233bSchristos 7.1. */ 10468dbf56feSchristos #define HAVE_WORKING_FSTATAT_ZERO_FLAG 1 1047eceb233bSchristos 1048eceb233bSchristos /* Define to 1 if O_NOATIME works. */ 1049eceb233bSchristos #define HAVE_WORKING_O_NOATIME 0 1050eceb233bSchristos 1051eceb233bSchristos /* Define to 1 if O_NOFOLLOW works. */ 1052eceb233bSchristos #define HAVE_WORKING_O_NOFOLLOW 0 1053eceb233bSchristos 1054eceb233bSchristos /* Define to 1 if you have the <ws2tcpip.h> header file. */ 1055eceb233bSchristos /* #undef HAVE_WS2TCPIP_H */ 1056eceb233bSchristos 1057eceb233bSchristos /* Define to 1 if you have the <xlocale.h> header file. */ 1058eceb233bSchristos /* #undef HAVE_XLOCALE_H */ 1059eceb233bSchristos 1060eceb233bSchristos /* Define to 1 if the system has the type `_Bool'. */ 1061eceb233bSchristos #define HAVE__BOOL 1 1062eceb233bSchristos 1063eceb233bSchristos /* Define to 1 if you have the `_set_invalid_parameter_handler' function. */ 1064eceb233bSchristos /* #undef HAVE__SET_INVALID_PARAMETER_HANDLER */ 1065eceb233bSchristos 1066eceb233bSchristos /* Define to 1 if the compiler supports __builtin_expect, 1067eceb233bSchristos and to 2 if <builtins.h> does. */ 1068eceb233bSchristos #define HAVE___BUILTIN_EXPECT 1 1069eceb233bSchristos #ifndef HAVE___BUILTIN_EXPECT 1070eceb233bSchristos # define __builtin_expect(e, c) (e) 1071eceb233bSchristos #elif HAVE___BUILTIN_EXPECT == 2 1072eceb233bSchristos # include <builtins.h> 1073eceb233bSchristos #endif 1074eceb233bSchristos 1075eceb233bSchristos 10768dbf56feSchristos /* Define to 1 if ctype.h defines __header_inline. */ 10778dbf56feSchristos /* #undef HAVE___HEADER_INLINE */ 10788dbf56feSchristos 10798dbf56feSchristos /* Please see the Gnulib manual for how to use these macros. 10808dbf56feSchristos 10818dbf56feSchristos Suppress extern inline with HP-UX cc, as it appears to be broken; see 10828dbf56feSchristos <https://lists.gnu.org/r/bug-texinfo/2013-02/msg00030.html>. 10838dbf56feSchristos 10848dbf56feSchristos Suppress extern inline with Sun C in standards-conformance mode, as it 10858dbf56feSchristos mishandles inline functions that call each other. E.g., for 'inline void f 10868dbf56feSchristos (void) { } inline void g (void) { f (); }', c99 incorrectly complains 10878dbf56feSchristos 'reference to static identifier "f" in extern inline function'. 10888dbf56feSchristos This bug was observed with Oracle Developer Studio 12.6 10898dbf56feSchristos (Sun C 5.15 SunOS_sparc 2017/05/30). 10908dbf56feSchristos 10918dbf56feSchristos Suppress extern inline (with or without __attribute__ ((__gnu_inline__))) 10928dbf56feSchristos on configurations that mistakenly use 'static inline' to implement 10938dbf56feSchristos functions or macros in standard C headers like <ctype.h>. For example, 10948dbf56feSchristos if isdigit is mistakenly implemented via a static inline function, 10958dbf56feSchristos a program containing an extern inline function that calls isdigit 10968dbf56feSchristos may not work since the C standard prohibits extern inline functions 10978dbf56feSchristos from calling static functions (ISO C 99 section 6.7.4.(3). 10988dbf56feSchristos This bug is known to occur on: 10998dbf56feSchristos 11008dbf56feSchristos OS X 10.8 and earlier; see: 11018dbf56feSchristos https://lists.gnu.org/r/bug-gnulib/2012-12/msg00023.html 11028dbf56feSchristos 11038dbf56feSchristos DragonFly; see 11048dbf56feSchristos http://muscles.dragonflybsd.org/bulk/clang-master-potential/20141111_102002/logs/ah-tty-0.3.12.log 11058dbf56feSchristos 11068dbf56feSchristos FreeBSD; see: 11078dbf56feSchristos https://lists.gnu.org/r/bug-gnulib/2014-07/msg00104.html 11088dbf56feSchristos 11098dbf56feSchristos OS X 10.9 has a macro __header_inline indicating the bug is fixed for C and 11108dbf56feSchristos for clang but remains for g++; see <https://trac.macports.org/ticket/41033>. 11118dbf56feSchristos Assume DragonFly and FreeBSD will be similar. 11128dbf56feSchristos 11138dbf56feSchristos GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99 11148dbf56feSchristos inline semantics, unless -fgnu89-inline is used. It defines a macro 11158dbf56feSchristos __GNUC_STDC_INLINE__ to indicate this situation or a macro 11168dbf56feSchristos __GNUC_GNU_INLINE__ to indicate the opposite situation. 11178dbf56feSchristos GCC 4.2 with -std=c99 or -std=gnu99 implements the GNU C inline 11188dbf56feSchristos semantics but warns, unless -fgnu89-inline is used: 11198dbf56feSchristos warning: C99 inline functions are not supported; using GNU89 11208dbf56feSchristos warning: to disable this warning use -fgnu89-inline or the gnu_inline function attribute 11218dbf56feSchristos It defines a macro __GNUC_GNU_INLINE__ to indicate this situation. 11228dbf56feSchristos */ 11238dbf56feSchristos #if (((defined __APPLE__ && defined __MACH__) \ 11248dbf56feSchristos || defined __DragonFly__ || defined __FreeBSD__) \ 11258dbf56feSchristos && (defined HAVE___HEADER_INLINE \ 11268dbf56feSchristos ? (defined __cplusplus && defined __GNUC_STDC_INLINE__ \ 11278dbf56feSchristos && ! defined __clang__) \ 11288dbf56feSchristos : ((! defined _DONT_USE_CTYPE_INLINE_ \ 11298dbf56feSchristos && (defined __GNUC__ || defined __cplusplus)) \ 11308dbf56feSchristos || (defined _FORTIFY_SOURCE && 0 < _FORTIFY_SOURCE \ 11318dbf56feSchristos && defined __GNUC__ && ! defined __cplusplus)))) 11328dbf56feSchristos # define _GL_EXTERN_INLINE_STDHEADER_BUG 11338dbf56feSchristos #endif 11348dbf56feSchristos #if ((__GNUC__ \ 11358dbf56feSchristos ? defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ \ 11368dbf56feSchristos : (199901L <= __STDC_VERSION__ \ 11378dbf56feSchristos && !defined __HP_cc \ 11388dbf56feSchristos && !defined __PGI \ 11398dbf56feSchristos && !(defined __SUNPRO_C && __STDC__))) \ 11408dbf56feSchristos && !defined _GL_EXTERN_INLINE_STDHEADER_BUG) 11418dbf56feSchristos # define _GL_INLINE inline 11428dbf56feSchristos # define _GL_EXTERN_INLINE extern inline 11438dbf56feSchristos # define _GL_EXTERN_INLINE_IN_USE 11448dbf56feSchristos #elif (2 < __GNUC__ + (7 <= __GNUC_MINOR__) && !defined __STRICT_ANSI__ \ 11458dbf56feSchristos && !defined _GL_EXTERN_INLINE_STDHEADER_BUG) 11468dbf56feSchristos # if defined __GNUC_GNU_INLINE__ && __GNUC_GNU_INLINE__ 11478dbf56feSchristos /* __gnu_inline__ suppresses a GCC 4.2 diagnostic. */ 11488dbf56feSchristos # define _GL_INLINE extern inline __attribute__ ((__gnu_inline__)) 11498dbf56feSchristos # else 11508dbf56feSchristos # define _GL_INLINE extern inline 11518dbf56feSchristos # endif 11528dbf56feSchristos # define _GL_EXTERN_INLINE extern 11538dbf56feSchristos # define _GL_EXTERN_INLINE_IN_USE 11548dbf56feSchristos #else 11558dbf56feSchristos # define _GL_INLINE _GL_UNUSED static 11568dbf56feSchristos # define _GL_EXTERN_INLINE _GL_UNUSED static 11578dbf56feSchristos #endif 11588dbf56feSchristos 11598dbf56feSchristos /* In GCC 4.6 (inclusive) to 5.1 (exclusive), 11608dbf56feSchristos suppress bogus "no previous prototype for 'FOO'" 11618dbf56feSchristos and "no previous declaration for 'FOO'" diagnostics, 11628dbf56feSchristos when FOO is an inline function in the header; see 11638dbf56feSchristos <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54113> and 11648dbf56feSchristos <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63877>. */ 11658dbf56feSchristos #if __GNUC__ == 4 && 6 <= __GNUC_MINOR__ 11668dbf56feSchristos # if defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ 11678dbf56feSchristos # define _GL_INLINE_HEADER_CONST_PRAGMA 11688dbf56feSchristos # else 11698dbf56feSchristos # define _GL_INLINE_HEADER_CONST_PRAGMA \ 11708dbf56feSchristos _Pragma ("GCC diagnostic ignored \"-Wsuggest-attribute=const\"") 11718dbf56feSchristos # endif 11728dbf56feSchristos # define _GL_INLINE_HEADER_BEGIN \ 11738dbf56feSchristos _Pragma ("GCC diagnostic push") \ 11748dbf56feSchristos _Pragma ("GCC diagnostic ignored \"-Wmissing-prototypes\"") \ 11758dbf56feSchristos _Pragma ("GCC diagnostic ignored \"-Wmissing-declarations\"") \ 11768dbf56feSchristos _GL_INLINE_HEADER_CONST_PRAGMA 11778dbf56feSchristos # define _GL_INLINE_HEADER_END \ 11788dbf56feSchristos _Pragma ("GCC diagnostic pop") 11798dbf56feSchristos #else 11808dbf56feSchristos # define _GL_INLINE_HEADER_BEGIN 11818dbf56feSchristos # define _GL_INLINE_HEADER_END 11828dbf56feSchristos #endif 11838dbf56feSchristos 1184eceb233bSchristos /* Define to 1 if the compiler supports the keyword '__inline'. */ 1185eceb233bSchristos #define HAVE___INLINE 1 1186eceb233bSchristos 1187eceb233bSchristos /* Define to 1 if you have the `__xpg_strerror_r' function. */ 1188eceb233bSchristos /* #undef HAVE___XPG_STRERROR_R */ 1189eceb233bSchristos 1190eceb233bSchristos /* Define as the bit index in the word where to find bit 0 of the exponent of 1191eceb233bSchristos 'long double'. */ 1192eceb233bSchristos /* #undef LDBL_EXPBIT0_BIT */ 1193eceb233bSchristos 1194eceb233bSchristos /* Define as the word index where to find the exponent of 'long double'. */ 1195eceb233bSchristos /* #undef LDBL_EXPBIT0_WORD */ 1196eceb233bSchristos 1197eceb233bSchristos /* Define to 1 if 'lstat' dereferences a symlink specified with a trailing 1198eceb233bSchristos slash. */ 11998dbf56feSchristos /* #undef LSTAT_FOLLOWS_SLASHED_SYMLINK */ 1200eceb233bSchristos 1201eceb233bSchristos /* If malloc(0) is != NULL, define this to 1. Otherwise define this to 0. */ 1202eceb233bSchristos #define MALLOC_0_IS_NONNULL 1 1203eceb233bSchristos 1204eceb233bSchristos /* Define to a substitute value for mmap()'s MAP_ANONYMOUS flag. */ 1205eceb233bSchristos /* #undef MAP_ANONYMOUS */ 1206eceb233bSchristos 1207eceb233bSchristos /* Define if the mbrtowc function does not return (size_t) -2 for empty input. 1208eceb233bSchristos */ 1209eceb233bSchristos /* #undef MBRTOWC_EMPTY_INPUT_BUG */ 1210eceb233bSchristos 1211eceb233bSchristos /* Define if the mbrtowc function may signal encoding errors in the C locale. 1212eceb233bSchristos */ 12138dbf56feSchristos #define MBRTOWC_IN_C_LOCALE_MAYBE_EILSEQ 1 1214eceb233bSchristos 1215eceb233bSchristos /* Define if the mbrtowc function has the NULL pwc argument bug. */ 1216eceb233bSchristos /* #undef MBRTOWC_NULL_ARG1_BUG */ 1217eceb233bSchristos 1218eceb233bSchristos /* Define if the mbrtowc function has the NULL string argument bug. */ 1219eceb233bSchristos /* #undef MBRTOWC_NULL_ARG2_BUG */ 1220eceb233bSchristos 1221eceb233bSchristos /* Define if the mbrtowc function does not return 0 for a NUL character. */ 1222eceb233bSchristos /* #undef MBRTOWC_NUL_RETVAL_BUG */ 1223eceb233bSchristos 1224eceb233bSchristos /* Define if the mbrtowc function returns a wrong return value. */ 1225eceb233bSchristos /* #undef MBRTOWC_RETVAL_BUG */ 1226eceb233bSchristos 1227eceb233bSchristos /* Define if the mbrtowc function stores a wide character when reporting 1228eceb233bSchristos incomplete input. */ 1229eceb233bSchristos /* #undef MBRTOWC_STORES_INCOMPLETE_BUG */ 1230eceb233bSchristos 1231eceb233bSchristos /* Use GNU style printf and scanf. */ 1232eceb233bSchristos #ifndef __USE_MINGW_ANSI_STDIO 1233eceb233bSchristos # define __USE_MINGW_ANSI_STDIO 1 1234eceb233bSchristos #endif 1235eceb233bSchristos 1236eceb233bSchristos 1237eceb233bSchristos /* Define to 1 if open() fails to recognize a trailing slash. */ 1238eceb233bSchristos /* #undef OPEN_TRAILING_SLASH_BUG */ 1239eceb233bSchristos 1240eceb233bSchristos /* Define to the address where bug reports for this package should be sent. */ 1241eceb233bSchristos #define PACKAGE_BUGREPORT "" 1242eceb233bSchristos 1243eceb233bSchristos /* Define to the full name of this package. */ 1244eceb233bSchristos #define PACKAGE_NAME "libgnu" 1245eceb233bSchristos 1246eceb233bSchristos /* Define to the full name and version of this package. */ 1247eceb233bSchristos #define PACKAGE_STRING "libgnu UNUSED-VERSION" 1248eceb233bSchristos 1249eceb233bSchristos /* Define to the one symbol short name of this package. */ 1250eceb233bSchristos #define PACKAGE_TARNAME "libgnu" 1251eceb233bSchristos 1252eceb233bSchristos /* Define to the home page for this package. */ 1253eceb233bSchristos #define PACKAGE_URL "" 1254eceb233bSchristos 1255eceb233bSchristos /* Define to the version of this package. */ 1256eceb233bSchristos #define PACKAGE_VERSION "UNUSED-VERSION" 1257eceb233bSchristos 1258eceb233bSchristos /* Define to the type that is the result of default argument promotions of 1259eceb233bSchristos type mode_t. */ 1260eceb233bSchristos #define PROMOTED_MODE_T mode_t 1261eceb233bSchristos 1262eceb233bSchristos /* Define if the pthread_in_use() detection is hard. */ 1263eceb233bSchristos /* #undef PTHREAD_IN_USE_DETECTION_HARD */ 1264eceb233bSchristos 1265eceb233bSchristos /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 1266eceb233bSchristos 'ptrdiff_t'. */ 1267eceb233bSchristos /* #undef PTRDIFF_T_SUFFIX */ 1268eceb233bSchristos 1269eceb233bSchristos /* Define to 1 if readlink fails to recognize a trailing slash. */ 12708dbf56feSchristos #define READLINK_TRAILING_SLASH_BUG 1 12718dbf56feSchristos 12728dbf56feSchristos /* Define to 1 if readlink sets errno instead of truncating a too-long link. 12738dbf56feSchristos */ 12748dbf56feSchristos #define READLINK_TRUNCATE_BUG 1 1275eceb233bSchristos 1276eceb233bSchristos /* Define if rename does not work when the destination file exists, as on 1277eceb233bSchristos Cygwin 1.5 or Windows. */ 1278*800f65cfSrin /* #undef RENAME_DEST_EXISTS_BUG */ 1279eceb233bSchristos 1280eceb233bSchristos /* Define if rename fails to leave hard links alone, as on NetBSD 1.6 or 1281eceb233bSchristos Cygwin 1.5. */ 1282*800f65cfSrin /* #undef RENAME_HARD_LINK_BUG */ 1283eceb233bSchristos 1284eceb233bSchristos /* Define if rename does not correctly handle slashes on the destination 1285eceb233bSchristos argument, such as on Solaris 11 or NetBSD 1.6. */ 1286*800f65cfSrin /* #undef RENAME_TRAILING_SLASH_DEST_BUG */ 1287eceb233bSchristos 1288eceb233bSchristos /* Define if rename does not correctly handle slashes on the source argument, 1289eceb233bSchristos such as on Solaris 9 or cygwin 1.5. */ 1290*800f65cfSrin /* #undef RENAME_TRAILING_SLASH_SOURCE_BUG */ 1291eceb233bSchristos 1292eceb233bSchristos /* Define to 1 if gnulib's dirfd() replacement is used. */ 1293eceb233bSchristos /* #undef REPLACE_DIRFD */ 1294eceb233bSchristos 1295eceb233bSchristos /* Define to 1 if gnulib's fchdir() replacement is used. */ 1296eceb233bSchristos /* #undef REPLACE_FCHDIR */ 1297eceb233bSchristos 1298eceb233bSchristos /* Define to 1 if stat needs help when passed a file name with a trailing 1299eceb233bSchristos slash */ 13008dbf56feSchristos #define REPLACE_FUNC_STAT_FILE 1 1301eceb233bSchristos 1302eceb233bSchristos /* Define to 1 if open() should work around the inability to open a directory. 1303eceb233bSchristos */ 1304eceb233bSchristos /* #undef REPLACE_OPEN_DIRECTORY */ 1305eceb233bSchristos 1306eceb233bSchristos /* Define to 1 if strerror(0) does not return a message implying success. */ 1307eceb233bSchristos #define REPLACE_STRERROR_0 1 1308eceb233bSchristos 1309eceb233bSchristos /* Define to 1 if setlocale (LC_ALL, NULL) is multithread-safe. */ 1310eceb233bSchristos #define SETLOCALE_NULL_ALL_MTSAFE 0 1311eceb233bSchristos 1312eceb233bSchristos /* Define to 1 if setlocale (category, NULL) is multithread-safe. */ 1313eceb233bSchristos #define SETLOCALE_NULL_ONE_MTSAFE 1 1314eceb233bSchristos 1315eceb233bSchristos /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 1316eceb233bSchristos 'sig_atomic_t'. */ 1317eceb233bSchristos /* #undef SIG_ATOMIC_T_SUFFIX */ 1318eceb233bSchristos 1319eceb233bSchristos /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 1320eceb233bSchristos 'size_t'. */ 1321eceb233bSchristos /* #undef SIZE_T_SUFFIX */ 1322eceb233bSchristos 1323eceb233bSchristos /* If using the C implementation of alloca, define if you know the 1324eceb233bSchristos direction of stack growth for your system; otherwise it will be 1325eceb233bSchristos automatically deduced at runtime. 1326eceb233bSchristos STACK_DIRECTION > 0 => grows toward higher addresses 1327eceb233bSchristos STACK_DIRECTION < 0 => grows toward lower addresses 1328eceb233bSchristos STACK_DIRECTION = 0 => direction of growth unknown */ 1329eceb233bSchristos /* #undef STACK_DIRECTION */ 1330eceb233bSchristos 1331eceb233bSchristos /* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */ 1332eceb233bSchristos /* #undef STAT_MACROS_BROKEN */ 1333eceb233bSchristos 1334eceb233bSchristos /* Define to 1 if you have the ANSI C header files. */ 1335eceb233bSchristos #define STDC_HEADERS 1 1336eceb233bSchristos 1337eceb233bSchristos /* Define to 1 if strerror_r returns char *. */ 1338eceb233bSchristos /* #undef STRERROR_R_CHAR_P */ 1339eceb233bSchristos 1340eceb233bSchristos /* Define to 1 if the type of the st_atim member of a struct stat is struct 1341eceb233bSchristos timespec. */ 1342eceb233bSchristos #define TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC 1 1343eceb233bSchristos 1344eceb233bSchristos /* Define if the combination of the ISO C and POSIX multithreading APIs can be 1345eceb233bSchristos used. */ 1346eceb233bSchristos /* #undef USE_ISOC_AND_POSIX_THREADS */ 1347eceb233bSchristos 1348eceb233bSchristos /* Define if the ISO C multithreading library can be used. */ 1349eceb233bSchristos /* #undef USE_ISOC_THREADS */ 1350eceb233bSchristos 1351eceb233bSchristos /* Define if the POSIX multithreading library can be used. */ 1352eceb233bSchristos #define USE_POSIX_THREADS 1 1353eceb233bSchristos 13548dbf56feSchristos /* Define if references to the POSIX multithreading library are satisfied by 13558dbf56feSchristos libc. */ 13568dbf56feSchristos /* #undef USE_POSIX_THREADS_FROM_LIBC */ 13578dbf56feSchristos 1358eceb233bSchristos /* Define if references to the POSIX multithreading library should be made 1359eceb233bSchristos weak. */ 1360eceb233bSchristos #define USE_POSIX_THREADS_WEAK 1 1361eceb233bSchristos 1362eceb233bSchristos /* Enable extensions on AIX 3, Interix. */ 1363eceb233bSchristos #ifndef _ALL_SOURCE 1364eceb233bSchristos # define _ALL_SOURCE 1 1365eceb233bSchristos #endif 1366eceb233bSchristos /* Enable general extensions on macOS. */ 1367eceb233bSchristos #ifndef _DARWIN_C_SOURCE 1368eceb233bSchristos # define _DARWIN_C_SOURCE 1 1369eceb233bSchristos #endif 13708dbf56feSchristos /* Enable general extensions on Solaris. */ 13718dbf56feSchristos #ifndef __EXTENSIONS__ 13728dbf56feSchristos # define __EXTENSIONS__ 1 13738dbf56feSchristos #endif 1374eceb233bSchristos /* Enable GNU extensions on systems that have them. */ 1375eceb233bSchristos #ifndef _GNU_SOURCE 1376eceb233bSchristos # define _GNU_SOURCE 1 1377eceb233bSchristos #endif 13788dbf56feSchristos /* Enable X/Open compliant socket functions that do not require linking 13798dbf56feSchristos with -lxnet on HP-UX 11.11. */ 13808dbf56feSchristos #ifndef _HPUX_ALT_XOPEN_SOCKET_API 13818dbf56feSchristos # define _HPUX_ALT_XOPEN_SOCKET_API 1 13828dbf56feSchristos #endif 13838dbf56feSchristos /* Identify the host operating system as Minix. 13848dbf56feSchristos This macro does not affect the system headers' behavior. 13858dbf56feSchristos A future release of Autoconf may stop defining this macro. */ 13868dbf56feSchristos #ifndef _MINIX 13878dbf56feSchristos /* # undef _MINIX */ 13888dbf56feSchristos #endif 13898dbf56feSchristos /* Enable general extensions on NetBSD. 13908dbf56feSchristos Enable NetBSD compatibility extensions on Minix. */ 1391eceb233bSchristos #ifndef _NETBSD_SOURCE 1392eceb233bSchristos # define _NETBSD_SOURCE 1 1393eceb233bSchristos #endif 13948dbf56feSchristos /* Enable OpenBSD compatibility extensions on NetBSD. 13958dbf56feSchristos Oddly enough, this does nothing on OpenBSD. */ 1396eceb233bSchristos #ifndef _OPENBSD_SOURCE 1397eceb233bSchristos # define _OPENBSD_SOURCE 1 1398eceb233bSchristos #endif 13998dbf56feSchristos /* Define to 1 if needed for POSIX-compatible behavior. */ 14008dbf56feSchristos #ifndef _POSIX_SOURCE 14018dbf56feSchristos /* # undef _POSIX_SOURCE */ 14028dbf56feSchristos #endif 14038dbf56feSchristos /* Define to 2 if needed for POSIX-compatible behavior. */ 14048dbf56feSchristos #ifndef _POSIX_1_SOURCE 14058dbf56feSchristos /* # undef _POSIX_1_SOURCE */ 14068dbf56feSchristos #endif 14078dbf56feSchristos /* Enable POSIX-compatible threading on Solaris. */ 1408eceb233bSchristos #ifndef _POSIX_PTHREAD_SEMANTICS 1409eceb233bSchristos # define _POSIX_PTHREAD_SEMANTICS 1 1410eceb233bSchristos #endif 1411eceb233bSchristos /* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ 1412eceb233bSchristos #ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1413eceb233bSchristos # define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 1414eceb233bSchristos #endif 1415eceb233bSchristos /* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ 1416eceb233bSchristos #ifndef __STDC_WANT_IEC_60559_BFP_EXT__ 1417eceb233bSchristos # define __STDC_WANT_IEC_60559_BFP_EXT__ 1 1418eceb233bSchristos #endif 1419eceb233bSchristos /* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ 1420eceb233bSchristos #ifndef __STDC_WANT_IEC_60559_DFP_EXT__ 1421eceb233bSchristos # define __STDC_WANT_IEC_60559_DFP_EXT__ 1 1422eceb233bSchristos #endif 1423eceb233bSchristos /* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ 1424eceb233bSchristos #ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ 1425eceb233bSchristos # define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 1426eceb233bSchristos #endif 1427eceb233bSchristos /* Enable extensions specified by ISO/IEC TS 18661-3:2015. */ 1428eceb233bSchristos #ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ 1429eceb233bSchristos # define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 1430eceb233bSchristos #endif 1431eceb233bSchristos /* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ 1432eceb233bSchristos #ifndef __STDC_WANT_LIB_EXT2__ 1433eceb233bSchristos # define __STDC_WANT_LIB_EXT2__ 1 1434eceb233bSchristos #endif 1435eceb233bSchristos /* Enable extensions specified by ISO/IEC 24747:2009. */ 1436eceb233bSchristos #ifndef __STDC_WANT_MATH_SPEC_FUNCS__ 1437eceb233bSchristos # define __STDC_WANT_MATH_SPEC_FUNCS__ 1 1438eceb233bSchristos #endif 1439eceb233bSchristos /* Enable extensions on HP NonStop. */ 1440eceb233bSchristos #ifndef _TANDEM_SOURCE 1441eceb233bSchristos # define _TANDEM_SOURCE 1 1442eceb233bSchristos #endif 14438dbf56feSchristos /* Enable X/Open extensions. Define to 500 only if necessary 14448dbf56feSchristos to make mbstate_t available. */ 1445eceb233bSchristos #ifndef _XOPEN_SOURCE 1446eceb233bSchristos /* # undef _XOPEN_SOURCE */ 1447eceb233bSchristos #endif 1448eceb233bSchristos 1449eceb233bSchristos 1450eceb233bSchristos /* Define if the native Windows multithreading API can be used. */ 1451eceb233bSchristos /* #undef USE_WINDOWS_THREADS */ 1452eceb233bSchristos 1453eceb233bSchristos /* Define to 1 if unsetenv returns void instead of int. */ 1454eceb233bSchristos /* #undef VOID_UNSETENV */ 1455eceb233bSchristos 1456eceb233bSchristos /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 1457eceb233bSchristos 'wchar_t'. */ 1458eceb233bSchristos /* #undef WCHAR_T_SUFFIX */ 1459eceb233bSchristos 14608dbf56feSchristos /* Define if WSAStartup is needed. */ 14618dbf56feSchristos /* #undef WINDOWS_SOCKETS */ 14628dbf56feSchristos 1463eceb233bSchristos /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 1464eceb233bSchristos 'wint_t'. */ 1465eceb233bSchristos /* #undef WINT_T_SUFFIX */ 1466eceb233bSchristos 1467eceb233bSchristos /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most 1468eceb233bSchristos significant byte first (like Motorola and SPARC, unlike Intel). */ 1469eceb233bSchristos #if defined AC_APPLE_UNIVERSAL_BUILD 1470eceb233bSchristos # if defined __BIG_ENDIAN__ 1471eceb233bSchristos # define WORDS_BIGENDIAN 1 1472eceb233bSchristos # endif 1473eceb233bSchristos #else 1474eceb233bSchristos # ifndef WORDS_BIGENDIAN 1475eceb233bSchristos # define WORDS_BIGENDIAN 1 1476eceb233bSchristos # endif 1477eceb233bSchristos #endif 1478eceb233bSchristos 1479eceb233bSchristos /* Number of bits in a file offset, on hosts where this is settable. */ 1480eceb233bSchristos /* #undef _FILE_OFFSET_BITS */ 1481eceb233bSchristos 1482eceb233bSchristos /* True if the compiler says it groks GNU C version MAJOR.MINOR. */ 1483eceb233bSchristos #if defined __GNUC__ && defined __GNUC_MINOR__ 1484eceb233bSchristos # define _GL_GNUC_PREREQ(major, minor) \ 1485eceb233bSchristos ((major) < __GNUC__ + ((minor) <= __GNUC_MINOR__)) 1486eceb233bSchristos #else 1487eceb233bSchristos # define _GL_GNUC_PREREQ(major, minor) 0 1488eceb233bSchristos #endif 1489eceb233bSchristos 1490eceb233bSchristos 14918dbf56feSchristos /* Define to enable the declarations of ISO C 11 types and functions. */ 14928dbf56feSchristos /* #undef _ISOC11_SOURCE */ 14938dbf56feSchristos 1494eceb233bSchristos /* Define for large files, on AIX-style hosts. */ 1495eceb233bSchristos /* #undef _LARGE_FILES */ 1496eceb233bSchristos 1497eceb233bSchristos /* Define to 1 on Solaris. */ 1498eceb233bSchristos /* #undef _LCONV_C99 */ 1499eceb233bSchristos 1500eceb233bSchristos /* The _Noreturn keyword of C11. */ 1501eceb233bSchristos #ifndef _Noreturn 1502eceb233bSchristos # if (defined __cplusplus \ 1503eceb233bSchristos && ((201103 <= __cplusplus && !(__GNUC__ == 4 && __GNUC_MINOR__ == 7)) \ 1504eceb233bSchristos || (defined _MSC_VER && 1900 <= _MSC_VER)) \ 1505eceb233bSchristos && 0) 1506eceb233bSchristos /* [[noreturn]] is not practically usable, because with it the syntax 1507eceb233bSchristos extern _Noreturn void func (...); 1508eceb233bSchristos would not be valid; such a declaration would only be valid with 'extern' 1509eceb233bSchristos and '_Noreturn' swapped, or without the 'extern' keyword. However, some 1510eceb233bSchristos AIX system header files and several gnulib header files use precisely 1511eceb233bSchristos this syntax with 'extern'. */ 1512eceb233bSchristos # define _Noreturn [[noreturn]] 1513eceb233bSchristos # elif ((!defined __cplusplus || defined __clang__) \ 1514eceb233bSchristos && (201112 <= (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) \ 15158dbf56feSchristos || (!defined __STRICT_ANSI__ \ 15168dbf56feSchristos && (_GL_GNUC_PREREQ (4, 7) \ 1517eceb233bSchristos || (defined __apple_build_version__ \ 1518eceb233bSchristos ? 6000000 <= __apple_build_version__ \ 15198dbf56feSchristos : 3 < __clang_major__ + (5 <= __clang_minor__)))))) 1520eceb233bSchristos /* _Noreturn works as-is. */ 15218dbf56feSchristos # elif _GL_GNUC_PREREQ (2, 8) || defined __clang__ || 0x5110 <= __SUNPRO_C 1522eceb233bSchristos # define _Noreturn __attribute__ ((__noreturn__)) 1523eceb233bSchristos # elif 1200 <= (defined _MSC_VER ? _MSC_VER : 0) 1524eceb233bSchristos # define _Noreturn __declspec (noreturn) 1525eceb233bSchristos # else 1526eceb233bSchristos # define _Noreturn 1527eceb233bSchristos # endif 1528eceb233bSchristos #endif 1529eceb233bSchristos 1530eceb233bSchristos 1531eceb233bSchristos /* Define to 1 in order to get the POSIX compatible declarations of socket 1532eceb233bSchristos functions. */ 1533eceb233bSchristos /* #undef _POSIX_PII_SOCKET */ 1534eceb233bSchristos 15358dbf56feSchristos /* Number of bits in a timestamp, on hosts where this is settable. */ 15368dbf56feSchristos /* #undef _TIME_BITS */ 1537eceb233bSchristos 1538eceb233bSchristos /* For standard stat data types on VMS. */ 1539eceb233bSchristos #define _USE_STD_STAT 1 1540eceb233bSchristos 15418dbf56feSchristos /* For 64-bit time_t on 32-bit mingw. */ 15428dbf56feSchristos /* #undef __MINGW_USE_VC2005_COMPAT */ 15438dbf56feSchristos 1544eceb233bSchristos /* Define to 1 if the system <stdint.h> predates C++11. */ 1545eceb233bSchristos /* #undef __STDC_CONSTANT_MACROS */ 1546eceb233bSchristos 1547eceb233bSchristos /* Define to 1 if the system <stdint.h> predates C++11. */ 1548eceb233bSchristos /* #undef __STDC_LIMIT_MACROS */ 1549eceb233bSchristos 15508dbf56feSchristos /* Define to 1 if C does not support variable-length arrays, and if the 15518dbf56feSchristos compiler does not already define this. */ 15528dbf56feSchristos /* #undef __STDC_NO_VLA__ */ 15538dbf56feSchristos 1554eceb233bSchristos /* The _GL_ASYNC_SAFE marker should be attached to functions that are 1555eceb233bSchristos signal handlers (for signals other than SIGABRT, SIGPIPE) or can be 1556eceb233bSchristos invoked from such signal handlers. Such functions have some restrictions: 1557eceb233bSchristos * All functions that it calls should be marked _GL_ASYNC_SAFE as well, 1558eceb233bSchristos or should be listed as async-signal-safe in POSIX 1559eceb233bSchristos <https://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_04> 1560eceb233bSchristos section 2.4.3. Note that malloc(), sprintf(), and fwrite(), in 1561eceb233bSchristos particular, are NOT async-signal-safe. 1562eceb233bSchristos * All memory locations (variables and struct fields) that these functions 1563eceb233bSchristos access must be marked 'volatile'. This holds for both read and write 1564eceb233bSchristos accesses. Otherwise the compiler might optimize away stores to and 1565eceb233bSchristos reads from such locations that occur in the program, depending on its 1566eceb233bSchristos data flow analysis. For example, when the program contains a loop 1567eceb233bSchristos that is intended to inspect a variable set from within a signal handler 1568eceb233bSchristos while (!signal_occurred) 1569eceb233bSchristos ; 1570eceb233bSchristos the compiler is allowed to transform this into an endless loop if the 1571eceb233bSchristos variable 'signal_occurred' is not declared 'volatile'. 1572eceb233bSchristos Additionally, recall that: 1573eceb233bSchristos * A signal handler should not modify errno (except if it is a handler 1574eceb233bSchristos for a fatal signal and ends by raising the same signal again, thus 1575eceb233bSchristos provoking the termination of the process). If it invokes a function 1576eceb233bSchristos that may clobber errno, it needs to save and restore the value of 1577eceb233bSchristos errno. */ 1578eceb233bSchristos #define _GL_ASYNC_SAFE 1579eceb233bSchristos 1580eceb233bSchristos 1581eceb233bSchristos /* Attributes. */ 15828dbf56feSchristos #if (defined __has_attribute \ 15838dbf56feSchristos && (!defined __clang_minor__ \ 15848dbf56feSchristos || (defined __apple_build_version__ \ 15858dbf56feSchristos ? 6000000 <= __apple_build_version__ \ 15868dbf56feSchristos : 3 < __clang_major__ + (5 <= __clang_minor__)))) 1587eceb233bSchristos # define _GL_HAS_ATTRIBUTE(attr) __has_attribute (__##attr##__) 1588eceb233bSchristos #else 1589eceb233bSchristos # define _GL_HAS_ATTRIBUTE(attr) _GL_ATTR_##attr 1590eceb233bSchristos # define _GL_ATTR_alloc_size _GL_GNUC_PREREQ (4, 3) 1591eceb233bSchristos # define _GL_ATTR_always_inline _GL_GNUC_PREREQ (3, 2) 1592eceb233bSchristos # define _GL_ATTR_artificial _GL_GNUC_PREREQ (4, 3) 1593eceb233bSchristos # define _GL_ATTR_cold _GL_GNUC_PREREQ (4, 3) 1594eceb233bSchristos # define _GL_ATTR_const _GL_GNUC_PREREQ (2, 95) 1595eceb233bSchristos # define _GL_ATTR_deprecated _GL_GNUC_PREREQ (3, 1) 15968dbf56feSchristos # define _GL_ATTR_diagnose_if 0 1597eceb233bSchristos # define _GL_ATTR_error _GL_GNUC_PREREQ (4, 3) 1598eceb233bSchristos # define _GL_ATTR_externally_visible _GL_GNUC_PREREQ (4, 1) 1599eceb233bSchristos # define _GL_ATTR_fallthrough _GL_GNUC_PREREQ (7, 0) 1600eceb233bSchristos # define _GL_ATTR_format _GL_GNUC_PREREQ (2, 7) 1601eceb233bSchristos # define _GL_ATTR_leaf _GL_GNUC_PREREQ (4, 6) 16028dbf56feSchristos # define _GL_ATTR_malloc _GL_GNUC_PREREQ (3, 0) 1603eceb233bSchristos # ifdef _ICC 1604eceb233bSchristos # define _GL_ATTR_may_alias 0 1605eceb233bSchristos # else 1606eceb233bSchristos # define _GL_ATTR_may_alias _GL_GNUC_PREREQ (3, 3) 1607eceb233bSchristos # endif 1608eceb233bSchristos # define _GL_ATTR_noinline _GL_GNUC_PREREQ (3, 1) 1609eceb233bSchristos # define _GL_ATTR_nonnull _GL_GNUC_PREREQ (3, 3) 1610eceb233bSchristos # define _GL_ATTR_nonstring _GL_GNUC_PREREQ (8, 0) 1611eceb233bSchristos # define _GL_ATTR_nothrow _GL_GNUC_PREREQ (3, 3) 1612eceb233bSchristos # define _GL_ATTR_packed _GL_GNUC_PREREQ (2, 7) 1613eceb233bSchristos # define _GL_ATTR_pure _GL_GNUC_PREREQ (2, 96) 1614eceb233bSchristos # define _GL_ATTR_returns_nonnull _GL_GNUC_PREREQ (4, 9) 1615eceb233bSchristos # define _GL_ATTR_sentinel _GL_GNUC_PREREQ (4, 0) 1616eceb233bSchristos # define _GL_ATTR_unused _GL_GNUC_PREREQ (2, 7) 1617eceb233bSchristos # define _GL_ATTR_warn_unused_result _GL_GNUC_PREREQ (3, 4) 1618eceb233bSchristos #endif 1619eceb233bSchristos 16208dbf56feSchristos #ifdef __has_c_attribute 16218dbf56feSchristos # if ((defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) <= 201710 \ 16228dbf56feSchristos && _GL_GNUC_PREREQ (4, 6)) 16238dbf56feSchristos # pragma GCC diagnostic ignored "-Wpedantic" 16248dbf56feSchristos # endif 16258dbf56feSchristos # define _GL_HAS_C_ATTRIBUTE(attr) __has_c_attribute (__##attr##__) 16268dbf56feSchristos #else 16278dbf56feSchristos # define _GL_HAS_C_ATTRIBUTE(attr) 0 16288dbf56feSchristos #endif 1629eceb233bSchristos 16308dbf56feSchristos 16318dbf56feSchristos /* _GL_ATTRIBUTE_ALLOC_SIZE ((N)) declares that the Nth argument of the function 16328dbf56feSchristos is the size of the returned memory block. 16338dbf56feSchristos _GL_ATTRIBUTE_ALLOC_SIZE ((M, N)) declares that the Mth argument multiplied 16348dbf56feSchristos by the Nth argument of the function is the size of the returned memory block. 16358dbf56feSchristos */ 16368dbf56feSchristos /* Applies to: function, pointer to function, function types. */ 1637eceb233bSchristos #if _GL_HAS_ATTRIBUTE (alloc_size) 1638eceb233bSchristos # define _GL_ATTRIBUTE_ALLOC_SIZE(args) __attribute__ ((__alloc_size__ args)) 1639eceb233bSchristos #else 1640eceb233bSchristos # define _GL_ATTRIBUTE_ALLOC_SIZE(args) 1641eceb233bSchristos #endif 1642eceb233bSchristos 16438dbf56feSchristos /* _GL_ATTRIBUTE_ALWAYS_INLINE tells that the compiler should always inline the 16448dbf56feSchristos function and report an error if it cannot do so. */ 16458dbf56feSchristos /* Applies to: function. */ 1646eceb233bSchristos #if _GL_HAS_ATTRIBUTE (always_inline) 1647eceb233bSchristos # define _GL_ATTRIBUTE_ALWAYS_INLINE __attribute__ ((__always_inline__)) 1648eceb233bSchristos #else 1649eceb233bSchristos # define _GL_ATTRIBUTE_ALWAYS_INLINE 1650eceb233bSchristos #endif 1651eceb233bSchristos 16528dbf56feSchristos /* _GL_ATTRIBUTE_ARTIFICIAL declares that the function is not important to show 16538dbf56feSchristos in stack traces when debugging. The compiler should omit the function from 16548dbf56feSchristos stack traces. */ 16558dbf56feSchristos /* Applies to: function. */ 1656eceb233bSchristos #if _GL_HAS_ATTRIBUTE (artificial) 1657eceb233bSchristos # define _GL_ATTRIBUTE_ARTIFICIAL __attribute__ ((__artificial__)) 1658eceb233bSchristos #else 1659eceb233bSchristos # define _GL_ATTRIBUTE_ARTIFICIAL 1660eceb233bSchristos #endif 1661eceb233bSchristos 16628dbf56feSchristos /* _GL_ATTRIBUTE_COLD declares that the function is rarely executed. */ 16638dbf56feSchristos /* Applies to: functions. */ 1664eceb233bSchristos /* Avoid __attribute__ ((cold)) on MinGW; see thread starting at 16658dbf56feSchristos <https://lists.gnu.org/r/emacs-devel/2019-04/msg01152.html>. 16668dbf56feSchristos Also, Oracle Studio 12.6 requires 'cold' not '__cold__'. */ 1667eceb233bSchristos #if _GL_HAS_ATTRIBUTE (cold) && !defined __MINGW32__ 16688dbf56feSchristos # ifndef __SUNPRO_C 1669eceb233bSchristos # define _GL_ATTRIBUTE_COLD __attribute__ ((__cold__)) 1670eceb233bSchristos # else 16718dbf56feSchristos # define _GL_ATTRIBUTE_COLD __attribute__ ((cold)) 16728dbf56feSchristos # endif 16738dbf56feSchristos #else 1674eceb233bSchristos # define _GL_ATTRIBUTE_COLD 1675eceb233bSchristos #endif 1676eceb233bSchristos 16778dbf56feSchristos /* _GL_ATTRIBUTE_CONST declares that it is OK for a compiler to omit duplicate 16788dbf56feSchristos calls to the function with the same arguments. 16798dbf56feSchristos This attribute is safe for a function that neither depends on nor affects 16808dbf56feSchristos observable state, and always returns exactly once - e.g., does not loop 16818dbf56feSchristos forever, and does not call longjmp. 16828dbf56feSchristos (This attribute is stricter than _GL_ATTRIBUTE_PURE.) */ 16838dbf56feSchristos /* Applies to: functions. */ 1684eceb233bSchristos #if _GL_HAS_ATTRIBUTE (const) 1685eceb233bSchristos # define _GL_ATTRIBUTE_CONST __attribute__ ((__const__)) 1686eceb233bSchristos #else 1687eceb233bSchristos # define _GL_ATTRIBUTE_CONST 1688eceb233bSchristos #endif 1689eceb233bSchristos 16908dbf56feSchristos /* _GL_ATTRIBUTE_DEALLOC (F, I) declares that the function returns pointers 16918dbf56feSchristos that can be freed by passing them as the Ith argument to the 16928dbf56feSchristos function F. 16938dbf56feSchristos _GL_ATTRIBUTE_DEALLOC_FREE declares that the function returns pointers that 16948dbf56feSchristos can be freed via 'free'; it can be used only after declaring 'free'. */ 16958dbf56feSchristos /* Applies to: functions. Cannot be used on inline functions. */ 16968dbf56feSchristos /* Disable on Solaris to avoid GDB PR build/29791. */ 16978dbf56feSchristos #if _GL_GNUC_PREREQ (11, 0) && !(defined(__sun__) && defined(__svr4__)) 16988dbf56feSchristos # define _GL_ATTRIBUTE_DEALLOC(f, i) __attribute__ ((__malloc__ (f, i))) 16998dbf56feSchristos #else 17008dbf56feSchristos # define _GL_ATTRIBUTE_DEALLOC(f, i) 17018dbf56feSchristos #endif 17028dbf56feSchristos /* If gnulib's <string.h> or <wchar.h> has already defined this macro, continue 17038dbf56feSchristos to use this earlier definition, since <stdlib.h> may not have been included 17048dbf56feSchristos yet. */ 17058dbf56feSchristos #ifndef _GL_ATTRIBUTE_DEALLOC_FREE 17068dbf56feSchristos # define _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_DEALLOC (free, 1) 17078dbf56feSchristos #endif 17088dbf56feSchristos 17098dbf56feSchristos /* _GL_ATTRIBUTE_DEPRECATED: Declares that an entity is deprecated. 17108dbf56feSchristos The compiler may warn if the entity is used. */ 17118dbf56feSchristos /* Applies to: 17128dbf56feSchristos - function, variable, 17138dbf56feSchristos - struct, union, struct/union member, 17148dbf56feSchristos - enumeration, enumeration item, 17158dbf56feSchristos - typedef, 17168dbf56feSchristos in C++ also: namespace, class, template specialization. */ 17178dbf56feSchristos #if _GL_HAS_C_ATTRIBUTE (deprecated) 1718eceb233bSchristos # define _GL_ATTRIBUTE_DEPRECATED [[__deprecated__]] 1719eceb233bSchristos #elif _GL_HAS_ATTRIBUTE (deprecated) 1720eceb233bSchristos # define _GL_ATTRIBUTE_DEPRECATED __attribute__ ((__deprecated__)) 1721eceb233bSchristos #else 1722eceb233bSchristos # define _GL_ATTRIBUTE_DEPRECATED 1723eceb233bSchristos #endif 1724eceb233bSchristos 17258dbf56feSchristos /* _GL_ATTRIBUTE_ERROR(msg) requests an error if a function is called and 17268dbf56feSchristos the function call is not optimized away. 17278dbf56feSchristos _GL_ATTRIBUTE_WARNING(msg) requests a warning if a function is called and 17288dbf56feSchristos the function call is not optimized away. */ 17298dbf56feSchristos /* Applies to: functions. */ 1730eceb233bSchristos #if _GL_HAS_ATTRIBUTE (error) 1731eceb233bSchristos # define _GL_ATTRIBUTE_ERROR(msg) __attribute__ ((__error__ (msg))) 1732eceb233bSchristos # define _GL_ATTRIBUTE_WARNING(msg) __attribute__ ((__warning__ (msg))) 17338dbf56feSchristos #elif _GL_HAS_ATTRIBUTE (diagnose_if) 17348dbf56feSchristos # define _GL_ATTRIBUTE_ERROR(msg) __attribute__ ((__diagnose_if__ (1, msg, "error"))) 17358dbf56feSchristos # define _GL_ATTRIBUTE_WARNING(msg) __attribute__ ((__diagnose_if__ (1, msg, "warning"))) 1736eceb233bSchristos #else 1737eceb233bSchristos # define _GL_ATTRIBUTE_ERROR(msg) 1738eceb233bSchristos # define _GL_ATTRIBUTE_WARNING(msg) 1739eceb233bSchristos #endif 1740eceb233bSchristos 17418dbf56feSchristos /* _GL_ATTRIBUTE_EXTERNALLY_VISIBLE declares that the entity should remain 17428dbf56feSchristos visible to debuggers etc., even with '-fwhole-program'. */ 17438dbf56feSchristos /* Applies to: functions, variables. */ 1744eceb233bSchristos #if _GL_HAS_ATTRIBUTE (externally_visible) 1745eceb233bSchristos # define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE __attribute__ ((externally_visible)) 1746eceb233bSchristos #else 1747eceb233bSchristos # define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE 1748eceb233bSchristos #endif 1749eceb233bSchristos 17508dbf56feSchristos /* _GL_ATTRIBUTE_FALLTHROUGH declares that it is not a programming mistake if 17518dbf56feSchristos the control flow falls through to the immediately following 'case' or 17528dbf56feSchristos 'default' label. The compiler should not warn in this case. */ 17538dbf56feSchristos /* Applies to: Empty statement (;), inside a 'switch' statement. */ 17548dbf56feSchristos /* Always expands to something. */ 17558dbf56feSchristos #if _GL_HAS_C_ATTRIBUTE (fallthrough) 1756eceb233bSchristos # define _GL_ATTRIBUTE_FALLTHROUGH [[__fallthrough__]] 1757eceb233bSchristos #elif _GL_HAS_ATTRIBUTE (fallthrough) 1758eceb233bSchristos # define _GL_ATTRIBUTE_FALLTHROUGH __attribute__ ((__fallthrough__)) 1759eceb233bSchristos #else 1760eceb233bSchristos # define _GL_ATTRIBUTE_FALLTHROUGH ((void) 0) 1761eceb233bSchristos #endif 1762eceb233bSchristos 17638dbf56feSchristos /* _GL_ATTRIBUTE_FORMAT ((ARCHETYPE, STRING-INDEX, FIRST-TO-CHECK)) 17648dbf56feSchristos declares that the STRING-INDEXth function argument is a format string of 17658dbf56feSchristos style ARCHETYPE, which is one of: 17668dbf56feSchristos printf, gnu_printf 17678dbf56feSchristos scanf, gnu_scanf, 17688dbf56feSchristos strftime, gnu_strftime, 17698dbf56feSchristos strfmon, 17708dbf56feSchristos or the same thing prefixed and suffixed with '__'. 17718dbf56feSchristos If FIRST-TO-CHECK is not 0, arguments starting at FIRST-TO_CHECK 17728dbf56feSchristos are suitable for the format string. */ 17738dbf56feSchristos /* Applies to: functions. */ 1774eceb233bSchristos #if _GL_HAS_ATTRIBUTE (format) 1775eceb233bSchristos # define _GL_ATTRIBUTE_FORMAT(spec) __attribute__ ((__format__ spec)) 1776eceb233bSchristos #else 1777eceb233bSchristos # define _GL_ATTRIBUTE_FORMAT(spec) 1778eceb233bSchristos #endif 1779eceb233bSchristos 17808dbf56feSchristos /* _GL_ATTRIBUTE_LEAF declares that if the function is called from some other 17818dbf56feSchristos compilation unit, it executes code from that unit only by return or by 17828dbf56feSchristos exception handling. This declaration lets the compiler optimize that unit 17838dbf56feSchristos more aggressively. */ 17848dbf56feSchristos /* Applies to: functions. */ 1785eceb233bSchristos #if _GL_HAS_ATTRIBUTE (leaf) 1786eceb233bSchristos # define _GL_ATTRIBUTE_LEAF __attribute__ ((__leaf__)) 1787eceb233bSchristos #else 1788eceb233bSchristos # define _GL_ATTRIBUTE_LEAF 1789eceb233bSchristos #endif 1790eceb233bSchristos 17918dbf56feSchristos /* _GL_ATTRIBUTE_MALLOC declares that the function returns a pointer to freshly 17928dbf56feSchristos allocated memory. */ 17938dbf56feSchristos /* Applies to: functions. */ 1794eceb233bSchristos #if _GL_HAS_ATTRIBUTE (malloc) 1795eceb233bSchristos # define _GL_ATTRIBUTE_MALLOC __attribute__ ((__malloc__)) 1796eceb233bSchristos #else 1797eceb233bSchristos # define _GL_ATTRIBUTE_MALLOC 1798eceb233bSchristos #endif 1799eceb233bSchristos 18008dbf56feSchristos /* _GL_ATTRIBUTE_MAY_ALIAS declares that pointers to the type may point to the 18018dbf56feSchristos same storage as pointers to other types. Thus this declaration disables 18028dbf56feSchristos strict aliasing optimization. */ 18038dbf56feSchristos /* Applies to: types. */ 18048dbf56feSchristos /* Oracle Studio 12.6 mishandles may_alias despite __has_attribute OK. */ 18058dbf56feSchristos #if _GL_HAS_ATTRIBUTE (may_alias) && !defined __SUNPRO_C 18068dbf56feSchristos # define _GL_ATTRIBUTE_MAY_ALIAS __attribute__ ((__may_alias__)) 18078dbf56feSchristos #else 18088dbf56feSchristos # define _GL_ATTRIBUTE_MAY_ALIAS 18098dbf56feSchristos #endif 18108dbf56feSchristos 18118dbf56feSchristos /* _GL_ATTRIBUTE_MAYBE_UNUSED declares that it is not a programming mistake if 18128dbf56feSchristos the entity is not used. The compiler should not warn if the entity is not 18138dbf56feSchristos used. */ 18148dbf56feSchristos /* Applies to: 18158dbf56feSchristos - function, variable, 18168dbf56feSchristos - struct, union, struct/union member, 18178dbf56feSchristos - enumeration, enumeration item, 18188dbf56feSchristos - typedef, 18198dbf56feSchristos in C++ also: class. */ 18208dbf56feSchristos /* In C++ and C2x, this is spelled [[__maybe_unused__]]. 18218dbf56feSchristos GCC's syntax is __attribute__ ((__unused__)). 18228dbf56feSchristos clang supports both syntaxes. */ 18238dbf56feSchristos #if _GL_HAS_C_ATTRIBUTE (maybe_unused) 18248dbf56feSchristos # define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]] 18258dbf56feSchristos #else 18268dbf56feSchristos # define _GL_ATTRIBUTE_MAYBE_UNUSED _GL_ATTRIBUTE_UNUSED 18278dbf56feSchristos #endif 18288dbf56feSchristos /* Alternative spelling of this macro, for convenience. */ 18298dbf56feSchristos #define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED 18308dbf56feSchristos /* Earlier spellings of this macro. */ 18318dbf56feSchristos #define _UNUSED_PARAMETER_ _GL_ATTRIBUTE_MAYBE_UNUSED 18328dbf56feSchristos 18338dbf56feSchristos /* _GL_ATTRIBUTE_NODISCARD declares that the caller of the function should not 18348dbf56feSchristos discard the return value. The compiler may warn if the caller does not use 18358dbf56feSchristos the return value, unless the caller uses something like ignore_value. */ 18368dbf56feSchristos /* Applies to: function, enumeration, class. */ 18378dbf56feSchristos #if _GL_HAS_C_ATTRIBUTE (nodiscard) 1838eceb233bSchristos # define _GL_ATTRIBUTE_NODISCARD [[__nodiscard__]] 1839eceb233bSchristos #elif _GL_HAS_ATTRIBUTE (warn_unused_result) 1840eceb233bSchristos # define _GL_ATTRIBUTE_NODISCARD __attribute__ ((__warn_unused_result__)) 1841eceb233bSchristos #else 1842eceb233bSchristos # define _GL_ATTRIBUTE_NODISCARD 1843eceb233bSchristos #endif 1844eceb233bSchristos 18458dbf56feSchristos /* _GL_ATTRIBUTE_NOINLINE tells that the compiler should not inline the 18468dbf56feSchristos function. */ 18478dbf56feSchristos /* Applies to: functions. */ 1848eceb233bSchristos #if _GL_HAS_ATTRIBUTE (noinline) 1849eceb233bSchristos # define _GL_ATTRIBUTE_NOINLINE __attribute__ ((__noinline__)) 1850eceb233bSchristos #else 1851eceb233bSchristos # define _GL_ATTRIBUTE_NOINLINE 1852eceb233bSchristos #endif 1853eceb233bSchristos 18548dbf56feSchristos /* _GL_ATTRIBUTE_NONNULL ((N1, N2,...)) declares that the arguments N1, N2,... 18558dbf56feSchristos must not be NULL. 18568dbf56feSchristos _GL_ATTRIBUTE_NONNULL () declares that all pointer arguments must not be 18578dbf56feSchristos null. */ 18588dbf56feSchristos /* Applies to: functions. */ 1859eceb233bSchristos #if _GL_HAS_ATTRIBUTE (nonnull) 1860eceb233bSchristos # define _GL_ATTRIBUTE_NONNULL(args) __attribute__ ((__nonnull__ args)) 1861eceb233bSchristos #else 1862eceb233bSchristos # define _GL_ATTRIBUTE_NONNULL(args) 1863eceb233bSchristos #endif 1864eceb233bSchristos 18658dbf56feSchristos /* _GL_ATTRIBUTE_NONSTRING declares that the contents of a character array is 18668dbf56feSchristos not meant to be NUL-terminated. */ 18678dbf56feSchristos /* Applies to: struct/union members and variables that are arrays of element 18688dbf56feSchristos type '[[un]signed] char'. */ 1869eceb233bSchristos #if _GL_HAS_ATTRIBUTE (nonstring) 1870eceb233bSchristos # define _GL_ATTRIBUTE_NONSTRING __attribute__ ((__nonstring__)) 1871eceb233bSchristos #else 1872eceb233bSchristos # define _GL_ATTRIBUTE_NONSTRING 1873eceb233bSchristos #endif 1874eceb233bSchristos 1875eceb233bSchristos /* There is no _GL_ATTRIBUTE_NORETURN; use _Noreturn instead. */ 1876eceb233bSchristos 18778dbf56feSchristos /* _GL_ATTRIBUTE_NOTHROW declares that the function does not throw exceptions. 18788dbf56feSchristos */ 18798dbf56feSchristos /* Applies to: functions. */ 1880eceb233bSchristos #if _GL_HAS_ATTRIBUTE (nothrow) && !defined __cplusplus 1881eceb233bSchristos # define _GL_ATTRIBUTE_NOTHROW __attribute__ ((__nothrow__)) 1882eceb233bSchristos #else 1883eceb233bSchristos # define _GL_ATTRIBUTE_NOTHROW 1884eceb233bSchristos #endif 1885eceb233bSchristos 18868dbf56feSchristos /* _GL_ATTRIBUTE_PACKED declares: 18878dbf56feSchristos For struct members: The member has the smallest possible alignment. 18888dbf56feSchristos For struct, union, class: All members have the smallest possible alignment, 18898dbf56feSchristos minimizing the memory required. */ 18908dbf56feSchristos /* Applies to: struct members, struct, union, 18918dbf56feSchristos in C++ also: class. */ 1892eceb233bSchristos #if _GL_HAS_ATTRIBUTE (packed) 1893eceb233bSchristos # define _GL_ATTRIBUTE_PACKED __attribute__ ((__packed__)) 1894eceb233bSchristos #else 1895eceb233bSchristos # define _GL_ATTRIBUTE_PACKED 1896eceb233bSchristos #endif 1897eceb233bSchristos 18988dbf56feSchristos /* _GL_ATTRIBUTE_PURE declares that It is OK for a compiler to omit duplicate 18998dbf56feSchristos calls to the function with the same arguments if observable state is not 19008dbf56feSchristos changed between calls. 19018dbf56feSchristos This attribute is safe for a function that does not affect 19028dbf56feSchristos observable state, and always returns exactly once. 19038dbf56feSchristos (This attribute is looser than _GL_ATTRIBUTE_CONST.) */ 19048dbf56feSchristos /* Applies to: functions. */ 1905eceb233bSchristos #if _GL_HAS_ATTRIBUTE (pure) 1906eceb233bSchristos # define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__)) 1907eceb233bSchristos #else 1908eceb233bSchristos # define _GL_ATTRIBUTE_PURE 1909eceb233bSchristos #endif 1910eceb233bSchristos 19118dbf56feSchristos /* _GL_ATTRIBUTE_RETURNS_NONNULL declares that the function's return value is 19128dbf56feSchristos a non-NULL pointer. */ 19138dbf56feSchristos /* Applies to: functions. */ 1914eceb233bSchristos #if _GL_HAS_ATTRIBUTE (returns_nonnull) 1915eceb233bSchristos # define _GL_ATTRIBUTE_RETURNS_NONNULL __attribute__ ((__returns_nonnull__)) 1916eceb233bSchristos #else 1917eceb233bSchristos # define _GL_ATTRIBUTE_RETURNS_NONNULL 1918eceb233bSchristos #endif 1919eceb233bSchristos 19208dbf56feSchristos /* _GL_ATTRIBUTE_SENTINEL(pos) declares that the variadic function expects a 19218dbf56feSchristos trailing NULL argument. 19228dbf56feSchristos _GL_ATTRIBUTE_SENTINEL () - The last argument is NULL (requires C99). 19238dbf56feSchristos _GL_ATTRIBUTE_SENTINEL ((N)) - The (N+1)st argument from the end is NULL. */ 19248dbf56feSchristos /* Applies to: functions. */ 1925eceb233bSchristos #if _GL_HAS_ATTRIBUTE (sentinel) 1926eceb233bSchristos # define _GL_ATTRIBUTE_SENTINEL(pos) __attribute__ ((__sentinel__ pos)) 1927eceb233bSchristos #else 1928eceb233bSchristos # define _GL_ATTRIBUTE_SENTINEL(pos) 1929eceb233bSchristos #endif 1930eceb233bSchristos 19318dbf56feSchristos /* A helper macro. Don't use it directly. */ 19328dbf56feSchristos #if _GL_HAS_ATTRIBUTE (unused) 19338dbf56feSchristos # define _GL_ATTRIBUTE_UNUSED __attribute__ ((__unused__)) 19348dbf56feSchristos #else 19358dbf56feSchristos # define _GL_ATTRIBUTE_UNUSED 19368dbf56feSchristos #endif 1937eceb233bSchristos 19388dbf56feSchristos 19398dbf56feSchristos /* _GL_UNUSED_LABEL; declares that it is not a programming mistake if the 19408dbf56feSchristos immediately preceding label is not used. The compiler should not warn 19418dbf56feSchristos if the label is not used. */ 19428dbf56feSchristos /* Applies to: label (both in C and C++). */ 19438dbf56feSchristos /* Note that g++ < 4.5 does not support the '__attribute__ ((__unused__)) ;' 19448dbf56feSchristos syntax. But clang does. */ 19458dbf56feSchristos #if !(defined __cplusplus && !_GL_GNUC_PREREQ (4, 5)) || defined __clang__ 19468dbf56feSchristos # define _GL_UNUSED_LABEL _GL_ATTRIBUTE_UNUSED 1947eceb233bSchristos #else 1948eceb233bSchristos # define _GL_UNUSED_LABEL 1949eceb233bSchristos #endif 1950eceb233bSchristos 1951eceb233bSchristos 1952eceb233bSchristos /* Define to `int' if <sys/types.h> doesn't define. */ 1953eceb233bSchristos /* #undef gid_t */ 1954eceb233bSchristos 1955eceb233bSchristos /* Define to `__inline__' or `__inline' if that's what the C compiler 1956eceb233bSchristos calls it, or to nothing if 'inline' is not supported under any name. */ 1957eceb233bSchristos #ifndef __cplusplus 1958eceb233bSchristos /* #undef inline */ 1959eceb233bSchristos #endif 1960eceb233bSchristos 1961eceb233bSchristos /* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports 1962eceb233bSchristos the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of 1963eceb233bSchristos earlier versions), but does not display it by setting __GNUC_STDC_INLINE__. 1964eceb233bSchristos __APPLE__ && __MACH__ test for Mac OS X. 1965eceb233bSchristos __APPLE_CC__ tests for the Apple compiler and its version. 1966eceb233bSchristos __STDC_VERSION__ tests for the C99 mode. */ 1967eceb233bSchristos #if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__ 1968eceb233bSchristos # define __GNUC_STDC_INLINE__ 1 1969eceb233bSchristos #endif 1970eceb233bSchristos 1971eceb233bSchristos /* Define to a type if <wchar.h> does not define. */ 1972eceb233bSchristos /* #undef mbstate_t */ 1973eceb233bSchristos 19748dbf56feSchristos /* _GL_CMP (n1, n2) performs a three-valued comparison on n1 vs. n2, where 19758dbf56feSchristos n1 and n2 are expressions without side effects, that evaluate to real 19768dbf56feSchristos numbers (excluding NaN). 19778dbf56feSchristos It returns 19788dbf56feSchristos 1 if n1 > n2 19798dbf56feSchristos 0 if n1 == n2 19808dbf56feSchristos -1 if n1 < n2 19818dbf56feSchristos The naïve code (n1 > n2 ? 1 : n1 < n2 ? -1 : 0) produces a conditional 19828dbf56feSchristos jump with nearly all GCC versions up to GCC 10. 19838dbf56feSchristos This variant (n1 < n2 ? -1 : n1 > n2) produces a conditional with many 19848dbf56feSchristos GCC versions up to GCC 9. 19858dbf56feSchristos The better code (n1 > n2) - (n1 < n2) from Hacker's Delight § 2-9 19868dbf56feSchristos avoids conditional jumps in all GCC versions >= 3.4. */ 19878dbf56feSchristos #define _GL_CMP(n1, n2) (((n1) > (n2)) - ((n1) < (n2))) 19888dbf56feSchristos 19898dbf56feSchristos 1990eceb233bSchristos /* Define to `int' if <sys/types.h> does not define. */ 1991eceb233bSchristos /* #undef mode_t */ 1992eceb233bSchristos 1993eceb233bSchristos /* Define to the type of st_nlink in struct stat, or a supertype. */ 1994eceb233bSchristos /* #undef nlink_t */ 1995eceb233bSchristos 19968dbf56feSchristos /* Define as a signed integer type capable of holding a process identifier. */ 1997eceb233bSchristos /* #undef pid_t */ 1998eceb233bSchristos 1999eceb233bSchristos /* Define to the equivalent of the C99 'restrict' keyword, or to 2000eceb233bSchristos nothing if this is not supported. Do not define if restrict is 20018dbf56feSchristos supported only directly. */ 20028dbf56feSchristos #define restrict __restrict__ 2003eceb233bSchristos /* Work around a bug in older versions of Sun C++, which did not 2004eceb233bSchristos #define __restrict__ or support _Restrict or __restrict__ 2005eceb233bSchristos even though the corresponding Sun C compiler ended up with 2006eceb233bSchristos "#define restrict _Restrict" or "#define restrict __restrict__" 2007eceb233bSchristos in the previous line. This workaround can be removed once 2008eceb233bSchristos we assume Oracle Developer Studio 12.5 (2016) or later. */ 2009eceb233bSchristos #if defined __SUNPRO_CC && !defined __RESTRICT && !defined __restrict__ 2010eceb233bSchristos # define _Restrict 2011eceb233bSchristos # define __restrict__ 2012eceb233bSchristos #endif 2013eceb233bSchristos 2014eceb233bSchristos /* Define to `unsigned int' if <sys/types.h> does not define. */ 2015eceb233bSchristos /* #undef size_t */ 2016eceb233bSchristos 2017eceb233bSchristos /* type to use in place of socklen_t if not defined */ 2018eceb233bSchristos /* #undef socklen_t */ 2019eceb233bSchristos 2020eceb233bSchristos /* Define as a signed type of the same size as size_t. */ 2021eceb233bSchristos /* #undef ssize_t */ 2022eceb233bSchristos 2023eceb233bSchristos /* Define to `int' if <sys/types.h> doesn't define. */ 2024eceb233bSchristos /* #undef uid_t */ 2025