1 1.1 christos /* This file is automatically generated. DO NOT EDIT! */ 2 1.2 christos /* Generated from: NetBSD: mknative-gdb,v 1.16 2023/07/31 17:09:59 christos Exp */ 3 1.1 christos /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp */ 4 1.1 christos 5 1.1 christos /* config.h. Generated from config.in by configure. */ 6 1.1 christos /* config.in. Generated from configure.ac by autoheader. */ 7 1.1 christos 8 1.1 christos /* Define if building universal (internal helper macro) */ 9 1.1 christos /* #undef AC_APPLE_UNIVERSAL_BUILD */ 10 1.1 christos 11 1.1 christos /* Define to the number of bits in type 'ptrdiff_t'. */ 12 1.1 christos /* #undef BITSIZEOF_PTRDIFF_T */ 13 1.1 christos 14 1.1 christos /* Define to the number of bits in type 'sig_atomic_t'. */ 15 1.1 christos /* #undef BITSIZEOF_SIG_ATOMIC_T */ 16 1.1 christos 17 1.1 christos /* Define to the number of bits in type 'size_t'. */ 18 1.1 christos /* #undef BITSIZEOF_SIZE_T */ 19 1.1 christos 20 1.1 christos /* Define to the number of bits in type 'wchar_t'. */ 21 1.1 christos /* #undef BITSIZEOF_WCHAR_T */ 22 1.1 christos 23 1.1 christos /* Define to the number of bits in type 'wint_t'. */ 24 1.1 christos /* #undef BITSIZEOF_WINT_T */ 25 1.1 christos 26 1.2 christos /* Define to 1 if chown fails to change ctime when at least one argument was 27 1.2 christos not -1. */ 28 1.2 christos #define CHOWN_CHANGE_TIME_BUG 1 29 1.2 christos 30 1.2 christos /* Define if chown is not POSIX compliant regarding IDs of -1. */ 31 1.2 christos #define CHOWN_FAILS_TO_HONOR_ID_OF_NEGATIVE_ONE 1 32 1.2 christos 33 1.2 christos /* Define if chown modifies symlinks. */ 34 1.2 christos /* #undef CHOWN_MODIFIES_SYMLINK */ 35 1.2 christos 36 1.2 christos /* Define to 1 if chown mishandles trailing slash. */ 37 1.2 christos #define CHOWN_TRAILING_SLASH_BUG 1 38 1.1 christos 39 1.2 christos /* Define to 1 if using 'alloca.c'. */ 40 1.1 christos /* #undef C_ALLOCA */ 41 1.1 christos 42 1.1 christos /* Define as the bit index in the word where to find bit 0 of the exponent of 43 1.1 christos 'double'. */ 44 1.1 christos #define DBL_EXPBIT0_BIT 20 45 1.1 christos 46 1.1 christos /* Define as the word index where to find the exponent of 'double'. */ 47 1.1 christos #define DBL_EXPBIT0_WORD 0 48 1.1 christos 49 1.1 christos /* the name of the file descriptor member of DIR */ 50 1.1 christos /* #undef DIR_FD_MEMBER_NAME */ 51 1.1 christos 52 1.1 christos #ifdef DIR_FD_MEMBER_NAME 53 1.1 christos # define DIR_TO_FD(Dir_p) ((Dir_p)->DIR_FD_MEMBER_NAME) 54 1.1 christos #else 55 1.1 christos # define DIR_TO_FD(Dir_p) -1 56 1.1 christos #endif 57 1.1 christos 58 1.1 christos 59 1.1 christos /* Define to 1 if // is a file system root distinct from /. */ 60 1.1 christos /* #undef DOUBLE_SLASH_IS_DISTINCT_ROOT */ 61 1.1 christos 62 1.1 christos /* Define if struct dirent has a member d_ino that actually works. */ 63 1.1 christos /* #undef D_INO_IN_DIRENT */ 64 1.1 christos 65 1.1 christos /* Define this to 1 if F_DUPFD behavior does not match POSIX */ 66 1.1 christos /* #undef FCNTL_DUPFD_BUGGY */ 67 1.1 christos 68 1.1 christos /* Define to nothing if C supports flexible array members, and to 1 if it does 69 1.1 christos not. That way, with a declaration like 'struct s { int n; short 70 1.1 christos d[FLEXIBLE_ARRAY_MEMBER]; };', the struct hack can be used with pre-C99 71 1.1 christos compilers. Use 'FLEXSIZEOF (struct s, d, N * sizeof (short))' to calculate 72 1.1 christos the size in bytes of such a struct containing an N-element array. */ 73 1.1 christos #define FLEXIBLE_ARRAY_MEMBER /**/ 74 1.1 christos 75 1.1 christos /* Define to 1 if mkdir mistakenly creates a directory given with a trailing 76 1.1 christos dot component. */ 77 1.2 christos #define FUNC_MKDIR_DOT_BUG 1 78 1.2 christos 79 1.2 christos /* Define to 1 if realpath() can malloc memory, always gives an absolute path, 80 1.2 christos and handles a trailing slash correctly. */ 81 1.2 christos /* #undef FUNC_REALPATH_NEARLY_WORKS */ 82 1.1 christos 83 1.1 christos /* Define to 1 if realpath() can malloc memory, always gives an absolute path, 84 1.2 christos and handles leading slashes and a trailing slash correctly. */ 85 1.1 christos /* #undef FUNC_REALPATH_WORKS */ 86 1.1 christos 87 1.1 christos /* Define this to 'void' or 'struct timezone' to match the system's 88 1.1 christos declaration of the second argument to gettimeofday. */ 89 1.1 christos #define GETTIMEOFDAY_TIMEZONE void 90 1.1 christos 91 1.1 christos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 92 1.1 christos whether the gnulib module canonicalize-lgpl shall be considered present. */ 93 1.1 christos #define GNULIB_CANONICALIZE_LGPL 1 94 1.1 christos 95 1.1 christos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 96 1.1 christos whether the gnulib module fdopendir shall be considered present. */ 97 1.1 christos #define GNULIB_FDOPENDIR 1 98 1.1 christos 99 1.1 christos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 100 1.1 christos whether the gnulib module fd-safer-flag shall be considered present. */ 101 1.1 christos #define GNULIB_FD_SAFER_FLAG 1 102 1.1 christos 103 1.1 christos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 104 1.1 christos whether the gnulib module fnmatch-gnu shall be considered present. */ 105 1.1 christos #define GNULIB_FNMATCH_GNU 1 106 1.1 christos 107 1.1 christos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 108 1.1 christos whether the gnulib module fscanf shall be considered present. */ 109 1.1 christos #define GNULIB_FSCANF 1 110 1.1 christos 111 1.1 christos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 112 1.1 christos whether the gnulib module getcwd shall be considered present. */ 113 1.1 christos #define GNULIB_GETCWD 1 114 1.1 christos 115 1.1 christos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 116 1.1 christos whether the gnulib module isblank shall be considered present. */ 117 1.1 christos #define GNULIB_ISBLANK 1 118 1.1 christos 119 1.1 christos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 120 1.1 christos whether the gnulib module lock shall be considered present. */ 121 1.1 christos #define GNULIB_LOCK 1 122 1.1 christos 123 1.1 christos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 124 1.1 christos whether the gnulib module mkostemp shall be considered present. */ 125 1.1 christos #define GNULIB_MKOSTEMP 1 126 1.1 christos 127 1.1 christos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 128 1.1 christos whether the gnulib module msvc-nothrow shall be considered present. */ 129 1.1 christos #define GNULIB_MSVC_NOTHROW 1 130 1.1 christos 131 1.1 christos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 132 1.1 christos whether the gnulib module openat shall be considered present. */ 133 1.1 christos #define GNULIB_OPENAT 1 134 1.1 christos 135 1.1 christos /* Define to 1 if printf and friends should be labeled with attribute 136 1.1 christos "__gnu_printf__" instead of "__printf__" */ 137 1.1 christos /* #undef GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU */ 138 1.1 christos 139 1.1 christos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 140 1.1 christos whether the gnulib module scanf shall be considered present. */ 141 1.1 christos #define GNULIB_SCANF 1 142 1.1 christos 143 1.1 christos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 144 1.1 christos whether the gnulib module strerror shall be considered present. */ 145 1.1 christos #define GNULIB_STRERROR 1 146 1.1 christos 147 1.1 christos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 148 1.1 christos whether the gnulib module strerror_r-posix shall be considered present. */ 149 1.1 christos #define GNULIB_STRERROR_R_POSIX 1 150 1.1 christos 151 1.2 christos /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 152 1.2 christos whether the gnulib module tempname shall be considered present. */ 153 1.2 christos #define GNULIB_TEMPNAME 1 154 1.2 christos 155 1.2 christos /* Define to 1 when the gnulib module accept should be tested. */ 156 1.2 christos #define GNULIB_TEST_ACCEPT 1 157 1.2 christos 158 1.2 christos /* Define to 1 when the gnulib module bind should be tested. */ 159 1.2 christos #define GNULIB_TEST_BIND 1 160 1.2 christos 161 1.1 christos /* Define to 1 when the gnulib module btowc should be tested. */ 162 1.1 christos #define GNULIB_TEST_BTOWC 1 163 1.1 christos 164 1.1 christos /* Define to 1 when the gnulib module canonicalize_file_name should be tested. 165 1.1 christos */ 166 1.1 christos #define GNULIB_TEST_CANONICALIZE_FILE_NAME 1 167 1.1 christos 168 1.1 christos /* Define to 1 when the gnulib module chdir should be tested. */ 169 1.1 christos #define GNULIB_TEST_CHDIR 1 170 1.1 christos 171 1.2 christos /* Define to 1 when the gnulib module chown should be tested. */ 172 1.2 christos #define GNULIB_TEST_CHOWN 1 173 1.2 christos 174 1.1 christos /* Define to 1 when the gnulib module cloexec should be tested. */ 175 1.1 christos #define GNULIB_TEST_CLOEXEC 1 176 1.1 christos 177 1.1 christos /* Define to 1 when the gnulib module close should be tested. */ 178 1.1 christos #define GNULIB_TEST_CLOSE 1 179 1.1 christos 180 1.1 christos /* Define to 1 when the gnulib module closedir should be tested. */ 181 1.1 christos #define GNULIB_TEST_CLOSEDIR 1 182 1.1 christos 183 1.2 christos /* Define to 1 when the gnulib module connect should be tested. */ 184 1.2 christos #define GNULIB_TEST_CONNECT 1 185 1.2 christos 186 1.1 christos /* Define to 1 when the gnulib module dirfd should be tested. */ 187 1.1 christos #define GNULIB_TEST_DIRFD 1 188 1.1 christos 189 1.1 christos /* Define to 1 when the gnulib module dup should be tested. */ 190 1.1 christos #define GNULIB_TEST_DUP 1 191 1.1 christos 192 1.1 christos /* Define to 1 when the gnulib module dup2 should be tested. */ 193 1.1 christos #define GNULIB_TEST_DUP2 1 194 1.1 christos 195 1.1 christos /* Define to 1 when the gnulib module environ should be tested. */ 196 1.1 christos #define GNULIB_TEST_ENVIRON 1 197 1.1 christos 198 1.1 christos /* Define to 1 when the gnulib module fchdir should be tested. */ 199 1.1 christos #define GNULIB_TEST_FCHDIR 1 200 1.1 christos 201 1.1 christos /* Define to 1 when the gnulib module fcntl should be tested. */ 202 1.1 christos #define GNULIB_TEST_FCNTL 1 203 1.1 christos 204 1.1 christos /* Define to 1 when the gnulib module fdopendir should be tested. */ 205 1.1 christos #define GNULIB_TEST_FDOPENDIR 1 206 1.1 christos 207 1.2 christos /* Define to 1 when the gnulib module fgetc should be tested. */ 208 1.2 christos #define GNULIB_TEST_FGETC 1 209 1.2 christos 210 1.2 christos /* Define to 1 when the gnulib module fgets should be tested. */ 211 1.2 christos #define GNULIB_TEST_FGETS 1 212 1.2 christos 213 1.1 christos /* Define to 1 when the gnulib module fnmatch should be tested. */ 214 1.1 christos #define GNULIB_TEST_FNMATCH 1 215 1.1 christos 216 1.2 christos /* Define to 1 when the gnulib module fprintf should be tested. */ 217 1.2 christos #define GNULIB_TEST_FPRINTF 1 218 1.2 christos 219 1.2 christos /* Define to 1 when the gnulib module fputc should be tested. */ 220 1.2 christos #define GNULIB_TEST_FPUTC 1 221 1.2 christos 222 1.2 christos /* Define to 1 when the gnulib module fputs should be tested. */ 223 1.2 christos #define GNULIB_TEST_FPUTS 1 224 1.2 christos 225 1.2 christos /* Define to 1 when the gnulib module fread should be tested. */ 226 1.2 christos #define GNULIB_TEST_FREAD 1 227 1.2 christos 228 1.2 christos /* Define to 1 when the gnulib module free-posix should be tested. */ 229 1.2 christos #define GNULIB_TEST_FREE_POSIX 1 230 1.2 christos 231 1.1 christos /* Define to 1 when the gnulib module frexp should be tested. */ 232 1.1 christos #define GNULIB_TEST_FREXP 1 233 1.1 christos 234 1.1 christos /* Define to 1 when the gnulib module frexpl should be tested. */ 235 1.1 christos #define GNULIB_TEST_FREXPL 1 236 1.1 christos 237 1.2 christos /* Define to 1 when the gnulib module fscanf should be tested. */ 238 1.2 christos #define GNULIB_TEST_FSCANF 1 239 1.2 christos 240 1.1 christos /* Define to 1 when the gnulib module fstat should be tested. */ 241 1.1 christos #define GNULIB_TEST_FSTAT 1 242 1.1 christos 243 1.1 christos /* Define to 1 when the gnulib module fstatat should be tested. */ 244 1.1 christos #define GNULIB_TEST_FSTATAT 1 245 1.1 christos 246 1.2 christos /* Define to 1 when the gnulib module fwrite should be tested. */ 247 1.2 christos #define GNULIB_TEST_FWRITE 1 248 1.2 christos 249 1.2 christos /* Define to 1 when the gnulib module getc should be tested. */ 250 1.2 christos #define GNULIB_TEST_GETC 1 251 1.2 christos 252 1.2 christos /* Define to 1 when the gnulib module getchar should be tested. */ 253 1.2 christos #define GNULIB_TEST_GETCHAR 1 254 1.2 christos 255 1.1 christos /* Define to 1 when the gnulib module getcwd should be tested. */ 256 1.1 christos #define GNULIB_TEST_GETCWD 1 257 1.1 christos 258 1.2 christos /* Define to 1 when the gnulib module getdelim should be tested. */ 259 1.2 christos #define GNULIB_TEST_GETDELIM 1 260 1.2 christos 261 1.1 christos /* Define to 1 when the gnulib module getdtablesize should be tested. */ 262 1.1 christos #define GNULIB_TEST_GETDTABLESIZE 1 263 1.1 christos 264 1.2 christos /* Define to 1 when the gnulib module getline should be tested. */ 265 1.2 christos #define GNULIB_TEST_GETLINE 1 266 1.2 christos 267 1.1 christos /* Define to 1 when the gnulib module getlogin_r should be tested. */ 268 1.1 christos #define GNULIB_TEST_GETLOGIN_R 1 269 1.1 christos 270 1.1 christos /* Define to 1 when the gnulib module getrandom should be tested. */ 271 1.1 christos #define GNULIB_TEST_GETRANDOM 1 272 1.1 christos 273 1.1 christos /* Define to 1 when the gnulib module gettimeofday should be tested. */ 274 1.1 christos #define GNULIB_TEST_GETTIMEOFDAY 1 275 1.1 christos 276 1.1 christos /* Define to 1 when the gnulib module glob should be tested. */ 277 1.1 christos #define GNULIB_TEST_GLOB 1 278 1.1 christos 279 1.2 christos /* Define to 1 when the gnulib module listen should be tested. */ 280 1.2 christos #define GNULIB_TEST_LISTEN 1 281 1.2 christos 282 1.1 christos /* Define to 1 when the gnulib module lstat should be tested. */ 283 1.1 christos #define GNULIB_TEST_LSTAT 1 284 1.1 christos 285 1.1 christos /* Define to 1 when the gnulib module malloc-posix should be tested. */ 286 1.1 christos #define GNULIB_TEST_MALLOC_POSIX 1 287 1.1 christos 288 1.1 christos /* Define to 1 when the gnulib module mbrtowc should be tested. */ 289 1.1 christos #define GNULIB_TEST_MBRTOWC 1 290 1.1 christos 291 1.1 christos /* Define to 1 when the gnulib module mbsinit should be tested. */ 292 1.1 christos #define GNULIB_TEST_MBSINIT 1 293 1.1 christos 294 1.1 christos /* Define to 1 when the gnulib module mbsrtowcs should be tested. */ 295 1.1 christos #define GNULIB_TEST_MBSRTOWCS 1 296 1.1 christos 297 1.1 christos /* Define to 1 when the gnulib module mbtowc should be tested. */ 298 1.1 christos #define GNULIB_TEST_MBTOWC 1 299 1.1 christos 300 1.1 christos /* Define to 1 when the gnulib module memchr should be tested. */ 301 1.1 christos #define GNULIB_TEST_MEMCHR 1 302 1.1 christos 303 1.1 christos /* Define to 1 when the gnulib module memmem should be tested. */ 304 1.1 christos #define GNULIB_TEST_MEMMEM 1 305 1.1 christos 306 1.1 christos /* Define to 1 when the gnulib module mempcpy should be tested. */ 307 1.1 christos #define GNULIB_TEST_MEMPCPY 1 308 1.1 christos 309 1.1 christos /* Define to 1 when the gnulib module memrchr should be tested. */ 310 1.1 christos #define GNULIB_TEST_MEMRCHR 1 311 1.1 christos 312 1.2 christos /* Define to 1 when the gnulib module mkdir should be tested. */ 313 1.2 christos #define GNULIB_TEST_MKDIR 1 314 1.2 christos 315 1.1 christos /* Define to 1 when the gnulib module mkdtemp should be tested. */ 316 1.1 christos #define GNULIB_TEST_MKDTEMP 1 317 1.1 christos 318 1.1 christos /* Define to 1 when the gnulib module mkostemp should be tested. */ 319 1.1 christos #define GNULIB_TEST_MKOSTEMP 1 320 1.1 christos 321 1.1 christos /* Define to 1 when the gnulib module open should be tested. */ 322 1.1 christos #define GNULIB_TEST_OPEN 1 323 1.1 christos 324 1.1 christos /* Define to 1 when the gnulib module openat should be tested. */ 325 1.1 christos #define GNULIB_TEST_OPENAT 1 326 1.1 christos 327 1.1 christos /* Define to 1 when the gnulib module opendir should be tested. */ 328 1.1 christos #define GNULIB_TEST_OPENDIR 1 329 1.1 christos 330 1.2 christos /* Define to 1 when the gnulib module pipe should be tested. */ 331 1.2 christos #define GNULIB_TEST_PIPE 1 332 1.2 christos 333 1.2 christos /* Define to 1 when the gnulib module printf should be tested. */ 334 1.2 christos #define GNULIB_TEST_PRINTF 1 335 1.2 christos 336 1.2 christos /* Define to 1 when the gnulib module putc should be tested. */ 337 1.2 christos #define GNULIB_TEST_PUTC 1 338 1.2 christos 339 1.2 christos /* Define to 1 when the gnulib module putchar should be tested. */ 340 1.2 christos #define GNULIB_TEST_PUTCHAR 1 341 1.2 christos 342 1.2 christos /* Define to 1 when the gnulib module puts should be tested. */ 343 1.2 christos #define GNULIB_TEST_PUTS 1 344 1.2 christos 345 1.1 christos /* Define to 1 when the gnulib module rawmemchr should be tested. */ 346 1.1 christos #define GNULIB_TEST_RAWMEMCHR 1 347 1.1 christos 348 1.1 christos /* Define to 1 when the gnulib module readdir should be tested. */ 349 1.1 christos #define GNULIB_TEST_READDIR 1 350 1.1 christos 351 1.1 christos /* Define to 1 when the gnulib module readlink should be tested. */ 352 1.1 christos #define GNULIB_TEST_READLINK 1 353 1.1 christos 354 1.1 christos /* Define to 1 when the gnulib module realloc-posix should be tested. */ 355 1.1 christos #define GNULIB_TEST_REALLOC_POSIX 1 356 1.1 christos 357 1.1 christos /* Define to 1 when the gnulib module realpath should be tested. */ 358 1.1 christos #define GNULIB_TEST_REALPATH 1 359 1.1 christos 360 1.1 christos /* Define to 1 when the gnulib module rename should be tested. */ 361 1.1 christos #define GNULIB_TEST_RENAME 1 362 1.1 christos 363 1.1 christos /* Define to 1 when the gnulib module rewinddir should be tested. */ 364 1.1 christos #define GNULIB_TEST_REWINDDIR 1 365 1.1 christos 366 1.1 christos /* Define to 1 when the gnulib module rmdir should be tested. */ 367 1.1 christos #define GNULIB_TEST_RMDIR 1 368 1.1 christos 369 1.2 christos /* Define to 1 when the gnulib module scanf should be tested. */ 370 1.2 christos #define GNULIB_TEST_SCANF 1 371 1.2 christos 372 1.2 christos /* Define to 1 when the gnulib module select should be tested. */ 373 1.2 christos #define GNULIB_TEST_SELECT 1 374 1.2 christos 375 1.1 christos /* Define to 1 when the gnulib module setenv should be tested. */ 376 1.1 christos #define GNULIB_TEST_SETENV 1 377 1.1 christos 378 1.1 christos /* Define to 1 when the gnulib module setlocale_null should be tested. */ 379 1.1 christos #define GNULIB_TEST_SETLOCALE_NULL 1 380 1.1 christos 381 1.2 christos /* Define to 1 when the gnulib module setsockopt should be tested. */ 382 1.2 christos #define GNULIB_TEST_SETSOCKOPT 1 383 1.2 christos 384 1.2 christos /* Define to 1 when the gnulib module socket should be tested. */ 385 1.2 christos #define GNULIB_TEST_SOCKET 1 386 1.2 christos 387 1.1 christos /* Define to 1 when the gnulib module stat should be tested. */ 388 1.1 christos #define GNULIB_TEST_STAT 1 389 1.1 christos 390 1.1 christos /* Define to 1 when the gnulib module strchrnul should be tested. */ 391 1.1 christos #define GNULIB_TEST_STRCHRNUL 1 392 1.1 christos 393 1.1 christos /* Define to 1 when the gnulib module strdup should be tested. */ 394 1.1 christos #define GNULIB_TEST_STRDUP 1 395 1.1 christos 396 1.1 christos /* Define to 1 when the gnulib module strerror should be tested. */ 397 1.1 christos #define GNULIB_TEST_STRERROR 1 398 1.1 christos 399 1.1 christos /* Define to 1 when the gnulib module strerror_r should be tested. */ 400 1.1 christos #define GNULIB_TEST_STRERROR_R 1 401 1.1 christos 402 1.1 christos /* Define to 1 when the gnulib module strnlen should be tested. */ 403 1.1 christos #define GNULIB_TEST_STRNLEN 1 404 1.1 christos 405 1.1 christos /* Define to 1 when the gnulib module strstr should be tested. */ 406 1.1 christos #define GNULIB_TEST_STRSTR 1 407 1.1 christos 408 1.1 christos /* Define to 1 when the gnulib module strtok_r should be tested. */ 409 1.1 christos #define GNULIB_TEST_STRTOK_R 1 410 1.1 christos 411 1.1 christos /* Define to 1 when the gnulib module time_r should be tested. */ 412 1.1 christos #define GNULIB_TEST_TIME_R 1 413 1.1 christos 414 1.1 christos /* Define to 1 when the gnulib module unsetenv should be tested. */ 415 1.1 christos #define GNULIB_TEST_UNSETENV 1 416 1.1 christos 417 1.2 christos /* Define to 1 when the gnulib module vfprintf should be tested. */ 418 1.2 christos #define GNULIB_TEST_VFPRINTF 1 419 1.2 christos 420 1.2 christos /* Define to 1 when the gnulib module vprintf should be tested. */ 421 1.2 christos #define GNULIB_TEST_VPRINTF 1 422 1.2 christos 423 1.1 christos /* Define to 1 when the gnulib module wmemchr should be tested. */ 424 1.1 christos #define GNULIB_TEST_WMEMCHR 1 425 1.1 christos 426 1.1 christos /* Define to 1 when the gnulib module wmempcpy should be tested. */ 427 1.1 christos #define GNULIB_TEST_WMEMPCPY 1 428 1.1 christos 429 1.1 christos /* Define to 1 if you have 'alloca' after including <alloca.h>, a header that 430 1.1 christos may be supplied by this distribution. */ 431 1.1 christos #define HAVE_ALLOCA 1 432 1.1 christos 433 1.1 christos /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix). 434 1.1 christos */ 435 1.1 christos /* #undef HAVE_ALLOCA_H */ 436 1.1 christos 437 1.1 christos /* Define to 1 if you have the <arpa/inet.h> header file. */ 438 1.1 christos #define HAVE_ARPA_INET_H 1 439 1.1 christos 440 1.1 christos /* Define to 1 if you have the <bcrypt.h> header file. */ 441 1.1 christos /* #undef HAVE_BCRYPT_H */ 442 1.1 christos 443 1.1 christos /* Define to 1 if you have the <bp-sym.h> header file. */ 444 1.1 christos /* #undef HAVE_BP_SYM_H */ 445 1.1 christos 446 1.1 christos /* Define to 1 if you have the `btowc' function. */ 447 1.1 christos #define HAVE_BTOWC 1 448 1.1 christos 449 1.1 christos /* Define to 1 if you have the `canonicalize_file_name' function. */ 450 1.1 christos /* #undef HAVE_CANONICALIZE_FILE_NAME */ 451 1.1 christos 452 1.1 christos /* Define to 1 if you have the `catgets' function. */ 453 1.1 christos #define HAVE_CATGETS 1 454 1.1 christos 455 1.2 christos /* Define to 1 if you have the `chown' function. */ 456 1.2 christos #define HAVE_CHOWN 1 457 1.2 christos 458 1.2 christos /* Define to 1 if you have the `clock_getres' function. */ 459 1.2 christos #define HAVE_CLOCK_GETRES 1 460 1.2 christos 461 1.2 christos /* Define to 1 if you have the `clock_gettime' function. */ 462 1.2 christos #define HAVE_CLOCK_GETTIME 1 463 1.2 christos 464 1.2 christos /* Define to 1 if you have the `clock_settime' function. */ 465 1.2 christos #define HAVE_CLOCK_SETTIME 1 466 1.2 christos 467 1.1 christos /* Define to 1 if you have the `closedir' function. */ 468 1.1 christos #define HAVE_CLOSEDIR 1 469 1.1 christos 470 1.1 christos /* Define to 1 if you have the <crtdefs.h> header file. */ 471 1.1 christos /* #undef HAVE_CRTDEFS_H */ 472 1.1 christos 473 1.2 christos /* Define to 1 if C supports variable-length arrays. */ 474 1.2 christos #define HAVE_C_VARARRAYS 1 475 1.2 christos 476 1.1 christos /* Define to 1 if you have the declaration of `alarm', and to 0 if you don't. 477 1.1 christos */ 478 1.1 christos #define HAVE_DECL_ALARM 1 479 1.1 christos 480 1.1 christos /* Define to 1 if you have the declaration of `dirfd', and to 0 if you don't. 481 1.1 christos */ 482 1.1 christos #define HAVE_DECL_DIRFD 1 483 1.1 christos 484 1.2 christos /* Define to 1 if you have the declaration of `ecvt', and to 0 if you don't. 485 1.2 christos */ 486 1.2 christos #define HAVE_DECL_ECVT 0 487 1.2 christos 488 1.2 christos /* Define to 1 if you have the declaration of `execvpe', and to 0 if you 489 1.2 christos don't. */ 490 1.2 christos #define HAVE_DECL_EXECVPE 1 491 1.2 christos 492 1.1 christos /* Define to 1 if you have the declaration of `fchdir', and to 0 if you don't. 493 1.1 christos */ 494 1.1 christos #define HAVE_DECL_FCHDIR 1 495 1.1 christos 496 1.2 christos /* Define to 1 if you have the declaration of `fcloseall', and to 0 if you 497 1.2 christos don't. */ 498 1.2 christos #define HAVE_DECL_FCLOSEALL 0 499 1.2 christos 500 1.2 christos /* Define to 1 if you have the declaration of `fcvt', and to 0 if you don't. 501 1.2 christos */ 502 1.2 christos #define HAVE_DECL_FCVT 0 503 1.2 christos 504 1.1 christos /* Define to 1 if you have the declaration of `fdopendir', and to 0 if you 505 1.1 christos don't. */ 506 1.1 christos #define HAVE_DECL_FDOPENDIR 1 507 1.1 christos 508 1.2 christos /* Define to 1 if you have the declaration of `gcvt', and to 0 if you don't. 509 1.2 christos */ 510 1.2 christos #define HAVE_DECL_GCVT 0 511 1.2 christos 512 1.1 christos /* Define to 1 if you have the declaration of `getcwd', and to 0 if you don't. 513 1.1 christos */ 514 1.1 christos #define HAVE_DECL_GETCWD 1 515 1.1 christos 516 1.2 christos /* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you 517 1.2 christos don't. */ 518 1.2 christos #define HAVE_DECL_GETC_UNLOCKED 1 519 1.2 christos 520 1.2 christos /* Define to 1 if you have the declaration of `getdelim', and to 0 if you 521 1.2 christos don't. */ 522 1.2 christos #define HAVE_DECL_GETDELIM 1 523 1.2 christos 524 1.1 christos /* Define to 1 if you have the declaration of `getdtablesize', and to 0 if you 525 1.1 christos don't. */ 526 1.1 christos #define HAVE_DECL_GETDTABLESIZE 1 527 1.1 christos 528 1.2 christos /* Define to 1 if you have the declaration of `getline', and to 0 if you 529 1.2 christos don't. */ 530 1.2 christos #define HAVE_DECL_GETLINE 1 531 1.2 christos 532 1.1 christos /* Define to 1 if you have the declaration of `getlogin', and to 0 if you 533 1.1 christos don't. */ 534 1.1 christos #define HAVE_DECL_GETLOGIN 1 535 1.1 christos 536 1.1 christos /* Define to 1 if you have the declaration of `getlogin_r', and to 0 if you 537 1.1 christos don't. */ 538 1.1 christos #define HAVE_DECL_GETLOGIN_R 1 539 1.1 christos 540 1.1 christos /* Define to 1 if you have the declaration of `inet_ntop', and to 0 if you 541 1.1 christos don't. */ 542 1.1 christos #define HAVE_DECL_INET_NTOP 1 543 1.1 christos 544 1.1 christos /* Define to 1 if you have the declaration of `localtime_r', and to 0 if you 545 1.1 christos don't. */ 546 1.1 christos #define HAVE_DECL_LOCALTIME_R 1 547 1.1 christos 548 1.1 christos /* Define to 1 if you have the declaration of `mbrtowc', and to 0 if you 549 1.1 christos don't. */ 550 1.1 christos /* #undef HAVE_DECL_MBRTOWC */ 551 1.1 christos 552 1.1 christos /* Define to 1 if you have the declaration of `mbsinit', and to 0 if you 553 1.1 christos don't. */ 554 1.1 christos /* #undef HAVE_DECL_MBSINIT */ 555 1.1 christos 556 1.1 christos /* Define to 1 if you have the declaration of `mbsrtowcs', and to 0 if you 557 1.1 christos don't. */ 558 1.1 christos /* #undef HAVE_DECL_MBSRTOWCS */ 559 1.1 christos 560 1.1 christos /* Define to 1 if you have the declaration of `memmem', and to 0 if you don't. 561 1.1 christos */ 562 1.1 christos #define HAVE_DECL_MEMMEM 1 563 1.1 christos 564 1.1 christos /* Define to 1 if you have the declaration of `memrchr', and to 0 if you 565 1.1 christos don't. */ 566 1.1 christos #define HAVE_DECL_MEMRCHR 1 567 1.1 christos 568 1.1 christos /* Define to 1 if you have the declaration of `program_invocation_name', and 569 1.1 christos to 0 if you don't. */ 570 1.1 christos #define HAVE_DECL_PROGRAM_INVOCATION_NAME 0 571 1.1 christos 572 1.1 christos /* Define to 1 if you have the declaration of `program_invocation_short_name', 573 1.1 christos and to 0 if you don't. */ 574 1.1 christos #define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME 0 575 1.1 christos 576 1.1 christos /* Define to 1 if you have the declaration of `setenv', and to 0 if you don't. 577 1.1 christos */ 578 1.1 christos #define HAVE_DECL_SETENV 1 579 1.1 christos 580 1.1 christos /* Define to 1 if you have the declaration of `strdup', and to 0 if you don't. 581 1.1 christos */ 582 1.1 christos #define HAVE_DECL_STRDUP 1 583 1.1 christos 584 1.1 christos /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you 585 1.1 christos don't. */ 586 1.1 christos #define HAVE_DECL_STRERROR_R 1 587 1.1 christos 588 1.1 christos /* Define to 1 if you have the declaration of `strnlen', and to 0 if you 589 1.1 christos don't. */ 590 1.1 christos #define HAVE_DECL_STRNLEN 1 591 1.1 christos 592 1.1 christos /* Define to 1 if you have the declaration of `strtok_r', and to 0 if you 593 1.1 christos don't. */ 594 1.1 christos #define HAVE_DECL_STRTOK_R 1 595 1.1 christos 596 1.1 christos /* Define to 1 if you have the declaration of `towlower', and to 0 if you 597 1.1 christos don't. */ 598 1.1 christos /* #undef HAVE_DECL_TOWLOWER */ 599 1.1 christos 600 1.1 christos /* Define to 1 if you have the declaration of `unsetenv', and to 0 if you 601 1.1 christos don't. */ 602 1.1 christos #define HAVE_DECL_UNSETENV 1 603 1.1 christos 604 1.2 christos /* Define to 1 if you have the declaration of `wcsdup', and to 0 if you don't. 605 1.2 christos */ 606 1.2 christos #define HAVE_DECL_WCSDUP 1 607 1.2 christos 608 1.1 christos /* Define to 1 if you have the declaration of `__argv', and to 0 if you don't. 609 1.1 christos */ 610 1.1 christos #define HAVE_DECL___ARGV 0 611 1.1 christos 612 1.1 christos /* Define to 1 if you have the <dirent.h> header file. */ 613 1.1 christos #define HAVE_DIRENT_H 1 614 1.1 christos 615 1.1 christos /* Define to 1 if you have the `dirfd' function. */ 616 1.1 christos /* #undef HAVE_DIRFD */ 617 1.1 christos 618 1.1 christos /* Define to 1 if you have the <dlfcn.h> header file. */ 619 1.1 christos #define HAVE_DLFCN_H 1 620 1.1 christos 621 1.1 christos /* Define if you have the declaration of environ. */ 622 1.1 christos /* #undef HAVE_ENVIRON_DECL */ 623 1.1 christos 624 1.2 christos /* Define to 1 if you have the `faccessat' function. */ 625 1.2 christos #define HAVE_FACCESSAT 1 626 1.2 christos 627 1.1 christos /* Define to 1 if you have the `fchdir' function. */ 628 1.1 christos #define HAVE_FCHDIR 1 629 1.1 christos 630 1.2 christos /* Define to 1 if you have the `fchown' function. */ 631 1.2 christos #define HAVE_FCHOWN 1 632 1.2 christos 633 1.1 christos /* Define to 1 if you have the `fcntl' function. */ 634 1.1 christos #define HAVE_FCNTL 1 635 1.1 christos 636 1.1 christos /* Define to 1 if you have the `fdopendir' function. */ 637 1.1 christos #define HAVE_FDOPENDIR 1 638 1.1 christos 639 1.1 christos /* Define to 1 if you have the <features.h> header file. */ 640 1.1 christos /* #undef HAVE_FEATURES_H */ 641 1.1 christos 642 1.2 christos /* Define to 1 if you have the `flockfile' function. */ 643 1.2 christos #define HAVE_FLOCKFILE 1 644 1.2 christos 645 1.1 christos /* Define to 1 if you have the `fnmatch' function. */ 646 1.1 christos #define HAVE_FNMATCH 1 647 1.1 christos 648 1.1 christos /* Define to 1 if you have the <fnmatch.h> header file. */ 649 1.1 christos #define HAVE_FNMATCH_H 1 650 1.1 christos 651 1.2 christos /* Define if the 'free' function is guaranteed to preserve errno. */ 652 1.2 christos /* #undef HAVE_FREE_POSIX */ 653 1.2 christos 654 1.1 christos /* Define if the frexp() function is available and works. */ 655 1.2 christos /* #undef HAVE_FREXP */ 656 1.1 christos 657 1.1 christos /* Define if the frexpl() function is available. */ 658 1.1 christos #define HAVE_FREXPL 1 659 1.1 christos 660 1.1 christos /* Define to 1 if you have the `fstatat' function. */ 661 1.1 christos #define HAVE_FSTATAT 1 662 1.1 christos 663 1.2 christos /* Define to 1 if you have the `funlockfile' function. */ 664 1.2 christos #define HAVE_FUNLOCKFILE 1 665 1.2 christos 666 1.1 christos /* Define to 1 if you have the `getcwd' function. */ 667 1.1 christos #define HAVE_GETCWD 1 668 1.1 christos 669 1.1 christos /* Define to 1 if getcwd works, but with shorter paths than is generally 670 1.1 christos tested with the replacement. */ 671 1.1 christos /* #undef HAVE_GETCWD_SHORTER */ 672 1.1 christos 673 1.2 christos /* Define to 1 if you have the `getdelim' function. */ 674 1.2 christos #define HAVE_GETDELIM 1 675 1.2 christos 676 1.1 christos /* Define to 1 if you have the `getdtablesize' function. */ 677 1.1 christos #define HAVE_GETDTABLESIZE 1 678 1.1 christos 679 1.1 christos /* Define to 1 if you have the `getexecname' function. */ 680 1.1 christos /* #undef HAVE_GETEXECNAME */ 681 1.1 christos 682 1.1 christos /* Define to 1 if you have the `getlogin_r' function. */ 683 1.1 christos #define HAVE_GETLOGIN_R 1 684 1.1 christos 685 1.1 christos /* Define to 1 if the system has the 'getpagesize' function. */ 686 1.1 christos /* #undef HAVE_GETPAGESIZE */ 687 1.1 christos 688 1.1 christos /* Define to 1 if you have the `getprogname' function. */ 689 1.1 christos #define HAVE_GETPROGNAME 1 690 1.1 christos 691 1.1 christos /* Define to 1 if you have the `getpwnam_r' function. */ 692 1.1 christos #define HAVE_GETPWNAM_R 1 693 1.1 christos 694 1.1 christos /* Define to 1 if you have the `getrandom' function. */ 695 1.1 christos #define HAVE_GETRANDOM 1 696 1.1 christos 697 1.1 christos /* Define to 1 if you have the `gettimeofday' function. */ 698 1.1 christos #define HAVE_GETTIMEOFDAY 1 699 1.1 christos 700 1.1 christos /* Define to 1 if you have the `glob' function. */ 701 1.1 christos #define HAVE_GLOB 1 702 1.1 christos 703 1.1 christos /* Define to 1 if you have the <glob.h> header file. */ 704 1.1 christos #define HAVE_GLOB_H 1 705 1.1 christos 706 1.1 christos /* Define to 1 if you have the `glob_pattern_p' function. */ 707 1.1 christos #define HAVE_GLOB_PATTERN_P 1 708 1.1 christos 709 1.1 christos /* Define to 1 if you have the `inet_ntop' function. */ 710 1.1 christos /* #undef HAVE_INET_NTOP */ 711 1.1 christos 712 1.1 christos /* Define to 1 if you have the <inttypes.h> header file. */ 713 1.1 christos #define HAVE_INTTYPES_H 1 714 1.1 christos 715 1.1 christos /* Define to 1 if <sys/socket.h> defines AF_INET. */ 716 1.1 christos #define HAVE_IPV4 1 717 1.1 christos 718 1.1 christos /* Define to 1 if <sys/socket.h> defines AF_INET6. */ 719 1.1 christos #define HAVE_IPV6 1 720 1.1 christos 721 1.1 christos /* Define to 1 if you have the `isblank' function. */ 722 1.1 christos #define HAVE_ISBLANK 1 723 1.1 christos 724 1.1 christos /* Define if the isnan(double) function is available in libc. */ 725 1.1 christos #define HAVE_ISNAND_IN_LIBC 1 726 1.1 christos 727 1.1 christos /* Define if the isnan(long double) function is available in libc. */ 728 1.1 christos #define HAVE_ISNANL_IN_LIBC 1 729 1.1 christos 730 1.1 christos /* Define to 1 if you have the `iswcntrl' function. */ 731 1.1 christos #define HAVE_ISWCNTRL 1 732 1.1 christos 733 1.1 christos /* Define if you have <langinfo.h> and nl_langinfo(CODESET). */ 734 1.1 christos #define HAVE_LANGINFO_CODESET 1 735 1.1 christos 736 1.1 christos /* Define to 1 if the bcrypt library is guaranteed to be present. */ 737 1.1 christos /* #undef HAVE_LIB_BCRYPT */ 738 1.1 christos 739 1.1 christos /* Define to 1 if you have the <limits.h> header file. */ 740 1.1 christos #define HAVE_LIMITS_H 1 741 1.1 christos 742 1.1 christos /* Define to 1 if you have the `link' function. */ 743 1.1 christos #define HAVE_LINK 1 744 1.1 christos 745 1.1 christos /* Define to 1 if you have the `localtime_r' function. */ 746 1.1 christos #define HAVE_LOCALTIME_R 1 747 1.1 christos 748 1.1 christos /* Define to 1 if the system has the type 'long long int'. */ 749 1.1 christos #define HAVE_LONG_LONG_INT 1 750 1.1 christos 751 1.1 christos /* Define to 1 if you have the `lstat' function. */ 752 1.1 christos #define HAVE_LSTAT 1 753 1.1 christos 754 1.2 christos /* Define if malloc, realloc, and calloc set errno on allocation failure. */ 755 1.1 christos #define HAVE_MALLOC_POSIX 1 756 1.1 christos 757 1.1 christos /* Define to 1 if mmap()'s MAP_ANONYMOUS flag is available after including 758 1.1 christos config.h and <sys/mman.h>. */ 759 1.1 christos #define HAVE_MAP_ANONYMOUS 1 760 1.1 christos 761 1.1 christos /* Define to 1 if you have the <math.h> header file. */ 762 1.1 christos #define HAVE_MATH_H 1 763 1.1 christos 764 1.1 christos /* Define to 1 if you have the `mbrtowc' function. */ 765 1.1 christos #define HAVE_MBRTOWC 1 766 1.1 christos 767 1.1 christos /* Define to 1 if you have the `mbsinit' function. */ 768 1.1 christos #define HAVE_MBSINIT 1 769 1.1 christos 770 1.1 christos /* Define to 1 if you have the `mbsrtowcs' function. */ 771 1.1 christos #define HAVE_MBSRTOWCS 1 772 1.1 christos 773 1.1 christos /* Define to 1 if <wchar.h> declares mbstate_t. */ 774 1.1 christos #define HAVE_MBSTATE_T 1 775 1.1 christos 776 1.1 christos /* Define to 1 if you have the `mbtowc' function. */ 777 1.1 christos #define HAVE_MBTOWC 1 778 1.1 christos 779 1.1 christos /* Define to 1 if you have the `memmem' function. */ 780 1.1 christos #define HAVE_MEMMEM 1 781 1.1 christos 782 1.1 christos /* Define to 1 if you have the <memory.h> header file. */ 783 1.1 christos #define HAVE_MEMORY_H 1 784 1.1 christos 785 1.1 christos /* Define to 1 if you have the `mempcpy' function. */ 786 1.2 christos #define HAVE_MEMPCPY 1 787 1.1 christos 788 1.1 christos /* Define to 1 if you have the `memrchr' function. */ 789 1.1 christos #define HAVE_MEMRCHR 1 790 1.1 christos 791 1.1 christos /* Define to 1 if getcwd minimally works, that is, its result can be trusted 792 1.1 christos when it succeeds. */ 793 1.1 christos /* #undef HAVE_MINIMALLY_WORKING_GETCWD */ 794 1.1 christos 795 1.2 christos /* Define to 1 if you have the <minix/config.h> header file. */ 796 1.2 christos /* #undef HAVE_MINIX_CONFIG_H */ 797 1.2 christos 798 1.1 christos /* Define to 1 if <limits.h> defines the MIN and MAX macros. */ 799 1.1 christos /* #undef HAVE_MINMAX_IN_LIMITS_H */ 800 1.1 christos 801 1.1 christos /* Define to 1 if <sys/param.h> defines the MIN and MAX macros. */ 802 1.1 christos #define HAVE_MINMAX_IN_SYS_PARAM_H 1 803 1.1 christos 804 1.1 christos /* Define to 1 if you have the `mkdtemp' function. */ 805 1.1 christos #define HAVE_MKDTEMP 1 806 1.1 christos 807 1.1 christos /* Define to 1 if you have the `mkostemp' function. */ 808 1.1 christos #define HAVE_MKOSTEMP 1 809 1.1 christos 810 1.1 christos /* Define to 1 if you have the `mprotect' function. */ 811 1.1 christos #define HAVE_MPROTECT 1 812 1.1 christos 813 1.1 christos /* Define to 1 on MSVC platforms that have the "invalid parameter handler" 814 1.1 christos concept. */ 815 1.1 christos /* #undef HAVE_MSVC_INVALID_PARAMETER_HANDLER */ 816 1.1 christos 817 1.1 christos /* Define to 1 if you have the <netdb.h> header file. */ 818 1.1 christos #define HAVE_NETDB_H 1 819 1.1 christos 820 1.1 christos /* Define to 1 if you have the <netinet/in.h> header file. */ 821 1.1 christos #define HAVE_NETINET_IN_H 1 822 1.1 christos 823 1.1 christos /* Define to 1 if you have the `openat' function. */ 824 1.1 christos #define HAVE_OPENAT 1 825 1.1 christos 826 1.1 christos /* Define to 1 if you have the `opendir' function. */ 827 1.1 christos #define HAVE_OPENDIR 1 828 1.1 christos 829 1.1 christos /* Define to 1 if getcwd works, except it sometimes fails when it shouldn't, 830 1.1 christos setting errno to ERANGE, ENAMETOOLONG, or ENOENT. */ 831 1.1 christos /* #undef HAVE_PARTLY_WORKING_GETCWD */ 832 1.1 christos 833 1.1 christos /* Define to 1 if you have the `pipe' function. */ 834 1.1 christos #define HAVE_PIPE 1 835 1.1 christos 836 1.1 christos /* Define if you have the <pthread.h> header and the POSIX threads API. */ 837 1.1 christos #define HAVE_PTHREAD_API 1 838 1.1 christos 839 1.1 christos /* Define if the <pthread.h> defines PTHREAD_MUTEX_RECURSIVE. */ 840 1.1 christos #define HAVE_PTHREAD_MUTEX_RECURSIVE 1 841 1.1 christos 842 1.1 christos /* Define if the POSIX multithreading library has read/write locks. */ 843 1.1 christos #define HAVE_PTHREAD_RWLOCK 1 844 1.1 christos 845 1.1 christos /* Define if the 'pthread_rwlock_rdlock' function prefers a writer to a 846 1.1 christos reader. */ 847 1.1 christos /* #undef HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER */ 848 1.1 christos 849 1.1 christos /* Define to 1 if you have the `rawmemchr' function. */ 850 1.1 christos /* #undef HAVE_RAWMEMCHR */ 851 1.1 christos 852 1.1 christos /* Define to 1 if you have the `readdir' function. */ 853 1.1 christos #define HAVE_READDIR 1 854 1.1 christos 855 1.1 christos /* Define to 1 if you have the `readlink' function. */ 856 1.1 christos #define HAVE_READLINK 1 857 1.1 christos 858 1.1 christos /* Define to 1 if you have the `realpath' function. */ 859 1.1 christos #define HAVE_REALPATH 1 860 1.1 christos 861 1.1 christos /* Define to 1 if you have the `rewinddir' function. */ 862 1.1 christos #define HAVE_REWINDDIR 1 863 1.1 christos 864 1.1 christos /* Define to 1 if 'long double' and 'double' have the same representation. */ 865 1.1 christos /* #undef HAVE_SAME_LONG_DOUBLE_AS_DOUBLE */ 866 1.1 christos 867 1.1 christos /* Define to 1 if the system has the type `sa_family_t'. */ 868 1.1 christos #define HAVE_SA_FAMILY_T 1 869 1.1 christos 870 1.2 christos /* Define to 1 if you have the <sdkddkver.h> header file. */ 871 1.2 christos /* #undef HAVE_SDKDDKVER_H */ 872 1.2 christos 873 1.1 christos /* Define to 1 if you have the <search.h> header file. */ 874 1.1 christos #define HAVE_SEARCH_H 1 875 1.1 christos 876 1.1 christos /* Define to 1 if you have the `setdtablesize' function. */ 877 1.1 christos /* #undef HAVE_SETDTABLESIZE */ 878 1.1 christos 879 1.1 christos /* Define to 1 if you have the `setenv' function. */ 880 1.1 christos #define HAVE_SETENV 1 881 1.1 christos 882 1.1 christos /* Define to 1 if you have the `shutdown' function. */ 883 1.1 christos #define HAVE_SHUTDOWN 1 884 1.1 christos 885 1.1 christos /* Define to 1 if 'sig_atomic_t' is a signed integer type. */ 886 1.1 christos /* #undef HAVE_SIGNED_SIG_ATOMIC_T */ 887 1.1 christos 888 1.1 christos /* Define to 1 if 'wchar_t' is a signed integer type. */ 889 1.1 christos /* #undef HAVE_SIGNED_WCHAR_T */ 890 1.1 christos 891 1.1 christos /* Define to 1 if 'wint_t' is a signed integer type. */ 892 1.1 christos /* #undef HAVE_SIGNED_WINT_T */ 893 1.1 christos 894 1.1 christos /* Define to 1 if the system has the type `sigset_t'. */ 895 1.1 christos #define HAVE_SIGSET_T 1 896 1.1 christos 897 1.1 christos /* Define to 1 if you have the `snprintf' function. */ 898 1.1 christos #define HAVE_SNPRINTF 1 899 1.1 christos 900 1.1 christos /* Define to 1 if you have the <stdint.h> header file. */ 901 1.1 christos #define HAVE_STDINT_H 1 902 1.1 christos 903 1.1 christos /* Define to 1 if you have the <stdlib.h> header file. */ 904 1.1 christos #define HAVE_STDLIB_H 1 905 1.1 christos 906 1.1 christos /* Define to 1 if you have the `strchrnul' function. */ 907 1.1 christos #define HAVE_STRCHRNUL 1 908 1.1 christos 909 1.1 christos /* Define to 1 if you have the `strerror_r' function. */ 910 1.1 christos #define HAVE_STRERROR_R 1 911 1.1 christos 912 1.1 christos /* Define to 1 if you have the <strings.h> header file. */ 913 1.1 christos #define HAVE_STRINGS_H 1 914 1.1 christos 915 1.1 christos /* Define to 1 if you have the <string.h> header file. */ 916 1.1 christos #define HAVE_STRING_H 1 917 1.1 christos 918 1.1 christos /* Define to 1 if you have the `strtok_r' function. */ 919 1.1 christos #define HAVE_STRTOK_R 1 920 1.1 christos 921 1.1 christos /* Define if there is a member named d_type in the struct describing directory 922 1.1 christos headers. */ 923 1.1 christos #define HAVE_STRUCT_DIRENT_D_TYPE 1 924 1.1 christos 925 1.1 christos /* Define to 1 if the system has the type `struct sockaddr_storage'. */ 926 1.1 christos #define HAVE_STRUCT_SOCKADDR_STORAGE 1 927 1.1 christos 928 1.1 christos /* Define to 1 if `ss_family' is a member of `struct sockaddr_storage'. */ 929 1.1 christos #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 930 1.1 christos 931 1.1 christos /* Define to 1 if `st_atimensec' is a member of `struct stat'. */ 932 1.1 christos /* #undef HAVE_STRUCT_STAT_ST_ATIMENSEC */ 933 1.1 christos 934 1.1 christos /* Define to 1 if `st_atimespec.tv_nsec' is a member of `struct stat'. */ 935 1.1 christos /* #undef HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC */ 936 1.1 christos 937 1.1 christos /* Define to 1 if `st_atim.st__tim.tv_nsec' is a member of `struct stat'. */ 938 1.1 christos /* #undef HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC */ 939 1.1 christos 940 1.1 christos /* Define to 1 if `st_atim.tv_nsec' is a member of `struct stat'. */ 941 1.1 christos #define HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC 1 942 1.1 christos 943 1.1 christos /* Define to 1 if `st_birthtimensec' is a member of `struct stat'. */ 944 1.1 christos /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC */ 945 1.1 christos 946 1.1 christos /* Define to 1 if `st_birthtimespec.tv_nsec' is a member of `struct stat'. */ 947 1.1 christos #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC 1 948 1.1 christos 949 1.1 christos /* Define to 1 if `st_birthtim.tv_nsec' is a member of `struct stat'. */ 950 1.1 christos /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIM_TV_NSEC */ 951 1.1 christos 952 1.1 christos /* Define to 1 if you have the `symlink' function. */ 953 1.1 christos #define HAVE_SYMLINK 1 954 1.1 christos 955 1.1 christos /* Define to 1 if you have the <sys/bitypes.h> header file. */ 956 1.1 christos /* #undef HAVE_SYS_BITYPES_H */ 957 1.1 christos 958 1.1 christos /* Define to 1 if you have the <sys/inttypes.h> header file. */ 959 1.1 christos /* #undef HAVE_SYS_INTTYPES_H */ 960 1.1 christos 961 1.1 christos /* Define to 1 if you have the <sys/mman.h> header file. */ 962 1.1 christos #define HAVE_SYS_MMAN_H 1 963 1.1 christos 964 1.1 christos /* Define to 1 if you have the <sys/param.h> header file. */ 965 1.1 christos #define HAVE_SYS_PARAM_H 1 966 1.1 christos 967 1.1 christos /* Define to 1 if you have the <sys/random.h> header file. */ 968 1.1 christos #define HAVE_SYS_RANDOM_H 1 969 1.1 christos 970 1.2 christos /* Define to 1 if you have the <sys/select.h> header file. */ 971 1.2 christos #define HAVE_SYS_SELECT_H 1 972 1.2 christos 973 1.1 christos /* Define to 1 if you have the <sys/socket.h> header file. */ 974 1.1 christos #define HAVE_SYS_SOCKET_H 1 975 1.1 christos 976 1.1 christos /* Define to 1 if you have the <sys/stat.h> header file. */ 977 1.1 christos #define HAVE_SYS_STAT_H 1 978 1.1 christos 979 1.1 christos /* Define to 1 if you have the <sys/time.h> header file. */ 980 1.1 christos #define HAVE_SYS_TIME_H 1 981 1.1 christos 982 1.1 christos /* Define to 1 if you have the <sys/types.h> header file. */ 983 1.1 christos #define HAVE_SYS_TYPES_H 1 984 1.1 christos 985 1.1 christos /* Define to 1 if you have the <sys/uio.h> header file. */ 986 1.1 christos #define HAVE_SYS_UIO_H 1 987 1.1 christos 988 1.2 christos /* Define to 1 if you have the <sys/wait.h> header file. */ 989 1.2 christos #define HAVE_SYS_WAIT_H 1 990 1.2 christos 991 1.1 christos /* Define to 1 if you have the `thrd_create' function. */ 992 1.1 christos /* #undef HAVE_THRD_CREATE */ 993 1.1 christos 994 1.1 christos /* Define to 1 if you have the <threads.h> header file. */ 995 1.1 christos #define HAVE_THREADS_H 1 996 1.1 christos 997 1.1 christos /* Define to 1 if you have the `towlower' function. */ 998 1.1 christos #define HAVE_TOWLOWER 1 999 1.1 christos 1000 1.1 christos /* Define to 1 if you have the `tsearch' function. */ 1001 1.1 christos #define HAVE_TSEARCH 1 1002 1.1 christos 1003 1.1 christos /* Define to 1 if you have the <unistd.h> header file. */ 1004 1.1 christos #define HAVE_UNISTD_H 1 1005 1.1 christos 1006 1.1 christos /* Define to 1 if you have the `unsetenv' function. */ 1007 1.1 christos #define HAVE_UNSETENV 1 1008 1.1 christos 1009 1.1 christos /* Define to 1 if the system has the type 'unsigned long long int'. */ 1010 1.1 christos #define HAVE_UNSIGNED_LONG_LONG_INT 1 1011 1.1 christos 1012 1.1 christos /* Define if you have a global __progname variable */ 1013 1.1 christos #define HAVE_VAR___PROGNAME 1 1014 1.1 christos 1015 1.1 christos /* Define to 1 or 0, depending whether the compiler supports simple visibility 1016 1.1 christos declarations. */ 1017 1.1 christos #define HAVE_VISIBILITY 1 1018 1.1 christos 1019 1.1 christos /* Define to 1 if you have the <wchar.h> header file. */ 1020 1.1 christos #define HAVE_WCHAR_H 1 1021 1.1 christos 1022 1.1 christos /* Define if you have the 'wchar_t' type. */ 1023 1.1 christos #define HAVE_WCHAR_T 1 1024 1.1 christos 1025 1.1 christos /* Define to 1 if you have the <wctype.h> header file. */ 1026 1.1 christos #define HAVE_WCTYPE_H 1 1027 1.1 christos 1028 1.1 christos /* Define to 1 if the compiler and linker support weak declarations of 1029 1.1 christos symbols. */ 1030 1.1 christos #define HAVE_WEAK_SYMBOLS 1 1031 1.1 christos 1032 1.1 christos /* Define to 1 if you have the <windows.h> header file. */ 1033 1.1 christos /* #undef HAVE_WINDOWS_H */ 1034 1.1 christos 1035 1.1 christos /* Define to 1 if you have the <winsock2.h> header file. */ 1036 1.1 christos /* #undef HAVE_WINSOCK2_H */ 1037 1.1 christos 1038 1.1 christos /* Define if you have the 'wint_t' type. */ 1039 1.1 christos #define HAVE_WINT_T 1 1040 1.1 christos 1041 1.1 christos /* Define to 1 if you have the `wmempcpy' function. */ 1042 1.2 christos #define HAVE_WMEMPCPY 1 1043 1.1 christos 1044 1.1 christos /* Define to 1 if fstatat (..., 0) works. For example, it does not work in AIX 1045 1.1 christos 7.1. */ 1046 1.2 christos #define HAVE_WORKING_FSTATAT_ZERO_FLAG 1 1047 1.1 christos 1048 1.1 christos /* Define to 1 if O_NOATIME works. */ 1049 1.1 christos #define HAVE_WORKING_O_NOATIME 0 1050 1.1 christos 1051 1.1 christos /* Define to 1 if O_NOFOLLOW works. */ 1052 1.1 christos #define HAVE_WORKING_O_NOFOLLOW 0 1053 1.1 christos 1054 1.1 christos /* Define to 1 if you have the <ws2tcpip.h> header file. */ 1055 1.1 christos /* #undef HAVE_WS2TCPIP_H */ 1056 1.1 christos 1057 1.1 christos /* Define to 1 if you have the <xlocale.h> header file. */ 1058 1.1 christos /* #undef HAVE_XLOCALE_H */ 1059 1.1 christos 1060 1.1 christos /* Define to 1 if the system has the type `_Bool'. */ 1061 1.1 christos #define HAVE__BOOL 1 1062 1.1 christos 1063 1.1 christos /* Define to 1 if you have the `_set_invalid_parameter_handler' function. */ 1064 1.1 christos /* #undef HAVE__SET_INVALID_PARAMETER_HANDLER */ 1065 1.1 christos 1066 1.1 christos /* Define to 1 if the compiler supports __builtin_expect, 1067 1.1 christos and to 2 if <builtins.h> does. */ 1068 1.1 christos #define HAVE___BUILTIN_EXPECT 1 1069 1.1 christos #ifndef HAVE___BUILTIN_EXPECT 1070 1.1 christos # define __builtin_expect(e, c) (e) 1071 1.1 christos #elif HAVE___BUILTIN_EXPECT == 2 1072 1.1 christos # include <builtins.h> 1073 1.1 christos #endif 1074 1.1 christos 1075 1.1 christos 1076 1.2 christos /* Define to 1 if ctype.h defines __header_inline. */ 1077 1.2 christos /* #undef HAVE___HEADER_INLINE */ 1078 1.2 christos 1079 1.2 christos /* Please see the Gnulib manual for how to use these macros. 1080 1.2 christos 1081 1.2 christos Suppress extern inline with HP-UX cc, as it appears to be broken; see 1082 1.2 christos <https://lists.gnu.org/r/bug-texinfo/2013-02/msg00030.html>. 1083 1.2 christos 1084 1.2 christos Suppress extern inline with Sun C in standards-conformance mode, as it 1085 1.2 christos mishandles inline functions that call each other. E.g., for 'inline void f 1086 1.2 christos (void) { } inline void g (void) { f (); }', c99 incorrectly complains 1087 1.2 christos 'reference to static identifier "f" in extern inline function'. 1088 1.2 christos This bug was observed with Oracle Developer Studio 12.6 1089 1.2 christos (Sun C 5.15 SunOS_sparc 2017/05/30). 1090 1.2 christos 1091 1.2 christos Suppress extern inline (with or without __attribute__ ((__gnu_inline__))) 1092 1.2 christos on configurations that mistakenly use 'static inline' to implement 1093 1.2 christos functions or macros in standard C headers like <ctype.h>. For example, 1094 1.2 christos if isdigit is mistakenly implemented via a static inline function, 1095 1.2 christos a program containing an extern inline function that calls isdigit 1096 1.2 christos may not work since the C standard prohibits extern inline functions 1097 1.2 christos from calling static functions (ISO C 99 section 6.7.4.(3). 1098 1.2 christos This bug is known to occur on: 1099 1.2 christos 1100 1.2 christos OS X 10.8 and earlier; see: 1101 1.2 christos https://lists.gnu.org/r/bug-gnulib/2012-12/msg00023.html 1102 1.2 christos 1103 1.2 christos DragonFly; see 1104 1.2 christos http://muscles.dragonflybsd.org/bulk/clang-master-potential/20141111_102002/logs/ah-tty-0.3.12.log 1105 1.2 christos 1106 1.2 christos FreeBSD; see: 1107 1.2 christos https://lists.gnu.org/r/bug-gnulib/2014-07/msg00104.html 1108 1.2 christos 1109 1.2 christos OS X 10.9 has a macro __header_inline indicating the bug is fixed for C and 1110 1.2 christos for clang but remains for g++; see <https://trac.macports.org/ticket/41033>. 1111 1.2 christos Assume DragonFly and FreeBSD will be similar. 1112 1.2 christos 1113 1.2 christos GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99 1114 1.2 christos inline semantics, unless -fgnu89-inline is used. It defines a macro 1115 1.2 christos __GNUC_STDC_INLINE__ to indicate this situation or a macro 1116 1.2 christos __GNUC_GNU_INLINE__ to indicate the opposite situation. 1117 1.2 christos GCC 4.2 with -std=c99 or -std=gnu99 implements the GNU C inline 1118 1.2 christos semantics but warns, unless -fgnu89-inline is used: 1119 1.2 christos warning: C99 inline functions are not supported; using GNU89 1120 1.2 christos warning: to disable this warning use -fgnu89-inline or the gnu_inline function attribute 1121 1.2 christos It defines a macro __GNUC_GNU_INLINE__ to indicate this situation. 1122 1.2 christos */ 1123 1.2 christos #if (((defined __APPLE__ && defined __MACH__) \ 1124 1.2 christos || defined __DragonFly__ || defined __FreeBSD__) \ 1125 1.2 christos && (defined HAVE___HEADER_INLINE \ 1126 1.2 christos ? (defined __cplusplus && defined __GNUC_STDC_INLINE__ \ 1127 1.2 christos && ! defined __clang__) \ 1128 1.2 christos : ((! defined _DONT_USE_CTYPE_INLINE_ \ 1129 1.2 christos && (defined __GNUC__ || defined __cplusplus)) \ 1130 1.2 christos || (defined _FORTIFY_SOURCE && 0 < _FORTIFY_SOURCE \ 1131 1.2 christos && defined __GNUC__ && ! defined __cplusplus)))) 1132 1.2 christos # define _GL_EXTERN_INLINE_STDHEADER_BUG 1133 1.2 christos #endif 1134 1.2 christos #if ((__GNUC__ \ 1135 1.2 christos ? defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ \ 1136 1.2 christos : (199901L <= __STDC_VERSION__ \ 1137 1.2 christos && !defined __HP_cc \ 1138 1.2 christos && !defined __PGI \ 1139 1.2 christos && !(defined __SUNPRO_C && __STDC__))) \ 1140 1.2 christos && !defined _GL_EXTERN_INLINE_STDHEADER_BUG) 1141 1.2 christos # define _GL_INLINE inline 1142 1.2 christos # define _GL_EXTERN_INLINE extern inline 1143 1.2 christos # define _GL_EXTERN_INLINE_IN_USE 1144 1.2 christos #elif (2 < __GNUC__ + (7 <= __GNUC_MINOR__) && !defined __STRICT_ANSI__ \ 1145 1.2 christos && !defined _GL_EXTERN_INLINE_STDHEADER_BUG) 1146 1.2 christos # if defined __GNUC_GNU_INLINE__ && __GNUC_GNU_INLINE__ 1147 1.2 christos /* __gnu_inline__ suppresses a GCC 4.2 diagnostic. */ 1148 1.2 christos # define _GL_INLINE extern inline __attribute__ ((__gnu_inline__)) 1149 1.2 christos # else 1150 1.2 christos # define _GL_INLINE extern inline 1151 1.2 christos # endif 1152 1.2 christos # define _GL_EXTERN_INLINE extern 1153 1.2 christos # define _GL_EXTERN_INLINE_IN_USE 1154 1.2 christos #else 1155 1.2 christos # define _GL_INLINE _GL_UNUSED static 1156 1.2 christos # define _GL_EXTERN_INLINE _GL_UNUSED static 1157 1.2 christos #endif 1158 1.2 christos 1159 1.2 christos /* In GCC 4.6 (inclusive) to 5.1 (exclusive), 1160 1.2 christos suppress bogus "no previous prototype for 'FOO'" 1161 1.2 christos and "no previous declaration for 'FOO'" diagnostics, 1162 1.2 christos when FOO is an inline function in the header; see 1163 1.2 christos <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54113> and 1164 1.2 christos <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63877>. */ 1165 1.2 christos #if __GNUC__ == 4 && 6 <= __GNUC_MINOR__ 1166 1.2 christos # if defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ 1167 1.2 christos # define _GL_INLINE_HEADER_CONST_PRAGMA 1168 1.2 christos # else 1169 1.2 christos # define _GL_INLINE_HEADER_CONST_PRAGMA \ 1170 1.2 christos _Pragma ("GCC diagnostic ignored \"-Wsuggest-attribute=const\"") 1171 1.2 christos # endif 1172 1.2 christos # define _GL_INLINE_HEADER_BEGIN \ 1173 1.2 christos _Pragma ("GCC diagnostic push") \ 1174 1.2 christos _Pragma ("GCC diagnostic ignored \"-Wmissing-prototypes\"") \ 1175 1.2 christos _Pragma ("GCC diagnostic ignored \"-Wmissing-declarations\"") \ 1176 1.2 christos _GL_INLINE_HEADER_CONST_PRAGMA 1177 1.2 christos # define _GL_INLINE_HEADER_END \ 1178 1.2 christos _Pragma ("GCC diagnostic pop") 1179 1.2 christos #else 1180 1.2 christos # define _GL_INLINE_HEADER_BEGIN 1181 1.2 christos # define _GL_INLINE_HEADER_END 1182 1.2 christos #endif 1183 1.2 christos 1184 1.1 christos /* Define to 1 if the compiler supports the keyword '__inline'. */ 1185 1.1 christos #define HAVE___INLINE 1 1186 1.1 christos 1187 1.1 christos /* Define to 1 if you have the `__xpg_strerror_r' function. */ 1188 1.1 christos /* #undef HAVE___XPG_STRERROR_R */ 1189 1.1 christos 1190 1.1 christos /* Define as the bit index in the word where to find bit 0 of the exponent of 1191 1.1 christos 'long double'. */ 1192 1.1 christos /* #undef LDBL_EXPBIT0_BIT */ 1193 1.1 christos 1194 1.1 christos /* Define as the word index where to find the exponent of 'long double'. */ 1195 1.1 christos /* #undef LDBL_EXPBIT0_WORD */ 1196 1.1 christos 1197 1.1 christos /* Define to 1 if 'lstat' dereferences a symlink specified with a trailing 1198 1.1 christos slash. */ 1199 1.2 christos /* #undef LSTAT_FOLLOWS_SLASHED_SYMLINK */ 1200 1.1 christos 1201 1.1 christos /* If malloc(0) is != NULL, define this to 1. Otherwise define this to 0. */ 1202 1.1 christos #define MALLOC_0_IS_NONNULL 1 1203 1.1 christos 1204 1.1 christos /* Define to a substitute value for mmap()'s MAP_ANONYMOUS flag. */ 1205 1.1 christos /* #undef MAP_ANONYMOUS */ 1206 1.1 christos 1207 1.1 christos /* Define if the mbrtowc function does not return (size_t) -2 for empty input. 1208 1.1 christos */ 1209 1.1 christos /* #undef MBRTOWC_EMPTY_INPUT_BUG */ 1210 1.1 christos 1211 1.1 christos /* Define if the mbrtowc function may signal encoding errors in the C locale. 1212 1.1 christos */ 1213 1.2 christos #define MBRTOWC_IN_C_LOCALE_MAYBE_EILSEQ 1 1214 1.1 christos 1215 1.1 christos /* Define if the mbrtowc function has the NULL pwc argument bug. */ 1216 1.1 christos /* #undef MBRTOWC_NULL_ARG1_BUG */ 1217 1.1 christos 1218 1.1 christos /* Define if the mbrtowc function has the NULL string argument bug. */ 1219 1.1 christos /* #undef MBRTOWC_NULL_ARG2_BUG */ 1220 1.1 christos 1221 1.1 christos /* Define if the mbrtowc function does not return 0 for a NUL character. */ 1222 1.1 christos /* #undef MBRTOWC_NUL_RETVAL_BUG */ 1223 1.1 christos 1224 1.1 christos /* Define if the mbrtowc function returns a wrong return value. */ 1225 1.1 christos /* #undef MBRTOWC_RETVAL_BUG */ 1226 1.1 christos 1227 1.1 christos /* Define if the mbrtowc function stores a wide character when reporting 1228 1.1 christos incomplete input. */ 1229 1.1 christos /* #undef MBRTOWC_STORES_INCOMPLETE_BUG */ 1230 1.1 christos 1231 1.1 christos /* Use GNU style printf and scanf. */ 1232 1.1 christos #ifndef __USE_MINGW_ANSI_STDIO 1233 1.1 christos # define __USE_MINGW_ANSI_STDIO 1 1234 1.1 christos #endif 1235 1.1 christos 1236 1.1 christos 1237 1.1 christos /* Define to 1 if open() fails to recognize a trailing slash. */ 1238 1.1 christos /* #undef OPEN_TRAILING_SLASH_BUG */ 1239 1.1 christos 1240 1.1 christos /* Define to the address where bug reports for this package should be sent. */ 1241 1.1 christos #define PACKAGE_BUGREPORT "" 1242 1.1 christos 1243 1.1 christos /* Define to the full name of this package. */ 1244 1.1 christos #define PACKAGE_NAME "libgnu" 1245 1.1 christos 1246 1.1 christos /* Define to the full name and version of this package. */ 1247 1.1 christos #define PACKAGE_STRING "libgnu UNUSED-VERSION" 1248 1.1 christos 1249 1.1 christos /* Define to the one symbol short name of this package. */ 1250 1.1 christos #define PACKAGE_TARNAME "libgnu" 1251 1.1 christos 1252 1.1 christos /* Define to the home page for this package. */ 1253 1.1 christos #define PACKAGE_URL "" 1254 1.1 christos 1255 1.1 christos /* Define to the version of this package. */ 1256 1.1 christos #define PACKAGE_VERSION "UNUSED-VERSION" 1257 1.1 christos 1258 1.1 christos /* Define to the type that is the result of default argument promotions of 1259 1.1 christos type mode_t. */ 1260 1.1 christos #define PROMOTED_MODE_T mode_t 1261 1.1 christos 1262 1.1 christos /* Define if the pthread_in_use() detection is hard. */ 1263 1.1 christos /* #undef PTHREAD_IN_USE_DETECTION_HARD */ 1264 1.1 christos 1265 1.1 christos /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 1266 1.1 christos 'ptrdiff_t'. */ 1267 1.1 christos /* #undef PTRDIFF_T_SUFFIX */ 1268 1.1 christos 1269 1.1 christos /* Define to 1 if readlink fails to recognize a trailing slash. */ 1270 1.2 christos #define READLINK_TRAILING_SLASH_BUG 1 1271 1.2 christos 1272 1.2 christos /* Define to 1 if readlink sets errno instead of truncating a too-long link. 1273 1.2 christos */ 1274 1.2 christos #define READLINK_TRUNCATE_BUG 1 1275 1.1 christos 1276 1.1 christos /* Define if rename does not work when the destination file exists, as on 1277 1.1 christos Cygwin 1.5 or Windows. */ 1278 1.3 rin /* #undef RENAME_DEST_EXISTS_BUG */ 1279 1.1 christos 1280 1.1 christos /* Define if rename fails to leave hard links alone, as on NetBSD 1.6 or 1281 1.1 christos Cygwin 1.5. */ 1282 1.3 rin /* #undef RENAME_HARD_LINK_BUG */ 1283 1.1 christos 1284 1.1 christos /* Define if rename does not correctly handle slashes on the destination 1285 1.1 christos argument, such as on Solaris 11 or NetBSD 1.6. */ 1286 1.3 rin /* #undef RENAME_TRAILING_SLASH_DEST_BUG */ 1287 1.1 christos 1288 1.1 christos /* Define if rename does not correctly handle slashes on the source argument, 1289 1.1 christos such as on Solaris 9 or cygwin 1.5. */ 1290 1.3 rin /* #undef RENAME_TRAILING_SLASH_SOURCE_BUG */ 1291 1.1 christos 1292 1.1 christos /* Define to 1 if gnulib's dirfd() replacement is used. */ 1293 1.1 christos /* #undef REPLACE_DIRFD */ 1294 1.1 christos 1295 1.1 christos /* Define to 1 if gnulib's fchdir() replacement is used. */ 1296 1.1 christos /* #undef REPLACE_FCHDIR */ 1297 1.1 christos 1298 1.1 christos /* Define to 1 if stat needs help when passed a file name with a trailing 1299 1.1 christos slash */ 1300 1.2 christos #define REPLACE_FUNC_STAT_FILE 1 1301 1.1 christos 1302 1.1 christos /* Define to 1 if open() should work around the inability to open a directory. 1303 1.1 christos */ 1304 1.1 christos /* #undef REPLACE_OPEN_DIRECTORY */ 1305 1.1 christos 1306 1.1 christos /* Define to 1 if strerror(0) does not return a message implying success. */ 1307 1.1 christos #define REPLACE_STRERROR_0 1 1308 1.1 christos 1309 1.1 christos /* Define to 1 if setlocale (LC_ALL, NULL) is multithread-safe. */ 1310 1.1 christos #define SETLOCALE_NULL_ALL_MTSAFE 0 1311 1.1 christos 1312 1.1 christos /* Define to 1 if setlocale (category, NULL) is multithread-safe. */ 1313 1.1 christos #define SETLOCALE_NULL_ONE_MTSAFE 1 1314 1.1 christos 1315 1.1 christos /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 1316 1.1 christos 'sig_atomic_t'. */ 1317 1.1 christos /* #undef SIG_ATOMIC_T_SUFFIX */ 1318 1.1 christos 1319 1.1 christos /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 1320 1.1 christos 'size_t'. */ 1321 1.1 christos /* #undef SIZE_T_SUFFIX */ 1322 1.1 christos 1323 1.1 christos /* If using the C implementation of alloca, define if you know the 1324 1.1 christos direction of stack growth for your system; otherwise it will be 1325 1.1 christos automatically deduced at runtime. 1326 1.2 christos STACK_DIRECTION > 0 => grows toward higher addresses 1327 1.2 christos STACK_DIRECTION < 0 => grows toward lower addresses 1328 1.2 christos STACK_DIRECTION = 0 => direction of growth unknown */ 1329 1.1 christos /* #undef STACK_DIRECTION */ 1330 1.1 christos 1331 1.1 christos /* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */ 1332 1.1 christos /* #undef STAT_MACROS_BROKEN */ 1333 1.1 christos 1334 1.1 christos /* Define to 1 if you have the ANSI C header files. */ 1335 1.1 christos #define STDC_HEADERS 1 1336 1.1 christos 1337 1.1 christos /* Define to 1 if strerror_r returns char *. */ 1338 1.1 christos /* #undef STRERROR_R_CHAR_P */ 1339 1.1 christos 1340 1.1 christos /* Define to 1 if the type of the st_atim member of a struct stat is struct 1341 1.1 christos timespec. */ 1342 1.1 christos #define TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC 1 1343 1.1 christos 1344 1.1 christos /* Define if the combination of the ISO C and POSIX multithreading APIs can be 1345 1.1 christos used. */ 1346 1.1 christos /* #undef USE_ISOC_AND_POSIX_THREADS */ 1347 1.1 christos 1348 1.1 christos /* Define if the ISO C multithreading library can be used. */ 1349 1.1 christos /* #undef USE_ISOC_THREADS */ 1350 1.1 christos 1351 1.1 christos /* Define if the POSIX multithreading library can be used. */ 1352 1.1 christos #define USE_POSIX_THREADS 1 1353 1.1 christos 1354 1.2 christos /* Define if references to the POSIX multithreading library are satisfied by 1355 1.2 christos libc. */ 1356 1.2 christos /* #undef USE_POSIX_THREADS_FROM_LIBC */ 1357 1.2 christos 1358 1.1 christos /* Define if references to the POSIX multithreading library should be made 1359 1.1 christos weak. */ 1360 1.1 christos #define USE_POSIX_THREADS_WEAK 1 1361 1.1 christos 1362 1.1 christos /* Enable extensions on AIX 3, Interix. */ 1363 1.1 christos #ifndef _ALL_SOURCE 1364 1.1 christos # define _ALL_SOURCE 1 1365 1.1 christos #endif 1366 1.1 christos /* Enable general extensions on macOS. */ 1367 1.1 christos #ifndef _DARWIN_C_SOURCE 1368 1.1 christos # define _DARWIN_C_SOURCE 1 1369 1.1 christos #endif 1370 1.2 christos /* Enable general extensions on Solaris. */ 1371 1.2 christos #ifndef __EXTENSIONS__ 1372 1.2 christos # define __EXTENSIONS__ 1 1373 1.2 christos #endif 1374 1.1 christos /* Enable GNU extensions on systems that have them. */ 1375 1.1 christos #ifndef _GNU_SOURCE 1376 1.1 christos # define _GNU_SOURCE 1 1377 1.1 christos #endif 1378 1.2 christos /* Enable X/Open compliant socket functions that do not require linking 1379 1.2 christos with -lxnet on HP-UX 11.11. */ 1380 1.2 christos #ifndef _HPUX_ALT_XOPEN_SOCKET_API 1381 1.2 christos # define _HPUX_ALT_XOPEN_SOCKET_API 1 1382 1.2 christos #endif 1383 1.2 christos /* Identify the host operating system as Minix. 1384 1.2 christos This macro does not affect the system headers' behavior. 1385 1.2 christos A future release of Autoconf may stop defining this macro. */ 1386 1.2 christos #ifndef _MINIX 1387 1.2 christos /* # undef _MINIX */ 1388 1.2 christos #endif 1389 1.2 christos /* Enable general extensions on NetBSD. 1390 1.2 christos Enable NetBSD compatibility extensions on Minix. */ 1391 1.1 christos #ifndef _NETBSD_SOURCE 1392 1.1 christos # define _NETBSD_SOURCE 1 1393 1.1 christos #endif 1394 1.2 christos /* Enable OpenBSD compatibility extensions on NetBSD. 1395 1.2 christos Oddly enough, this does nothing on OpenBSD. */ 1396 1.1 christos #ifndef _OPENBSD_SOURCE 1397 1.1 christos # define _OPENBSD_SOURCE 1 1398 1.1 christos #endif 1399 1.2 christos /* Define to 1 if needed for POSIX-compatible behavior. */ 1400 1.2 christos #ifndef _POSIX_SOURCE 1401 1.2 christos /* # undef _POSIX_SOURCE */ 1402 1.2 christos #endif 1403 1.2 christos /* Define to 2 if needed for POSIX-compatible behavior. */ 1404 1.2 christos #ifndef _POSIX_1_SOURCE 1405 1.2 christos /* # undef _POSIX_1_SOURCE */ 1406 1.2 christos #endif 1407 1.2 christos /* Enable POSIX-compatible threading on Solaris. */ 1408 1.1 christos #ifndef _POSIX_PTHREAD_SEMANTICS 1409 1.1 christos # define _POSIX_PTHREAD_SEMANTICS 1 1410 1.1 christos #endif 1411 1.1 christos /* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ 1412 1.1 christos #ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1413 1.1 christos # define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 1414 1.1 christos #endif 1415 1.1 christos /* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ 1416 1.1 christos #ifndef __STDC_WANT_IEC_60559_BFP_EXT__ 1417 1.1 christos # define __STDC_WANT_IEC_60559_BFP_EXT__ 1 1418 1.1 christos #endif 1419 1.1 christos /* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ 1420 1.1 christos #ifndef __STDC_WANT_IEC_60559_DFP_EXT__ 1421 1.1 christos # define __STDC_WANT_IEC_60559_DFP_EXT__ 1 1422 1.1 christos #endif 1423 1.1 christos /* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ 1424 1.1 christos #ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ 1425 1.1 christos # define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 1426 1.1 christos #endif 1427 1.1 christos /* Enable extensions specified by ISO/IEC TS 18661-3:2015. */ 1428 1.1 christos #ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ 1429 1.1 christos # define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 1430 1.1 christos #endif 1431 1.1 christos /* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ 1432 1.1 christos #ifndef __STDC_WANT_LIB_EXT2__ 1433 1.1 christos # define __STDC_WANT_LIB_EXT2__ 1 1434 1.1 christos #endif 1435 1.1 christos /* Enable extensions specified by ISO/IEC 24747:2009. */ 1436 1.1 christos #ifndef __STDC_WANT_MATH_SPEC_FUNCS__ 1437 1.1 christos # define __STDC_WANT_MATH_SPEC_FUNCS__ 1 1438 1.1 christos #endif 1439 1.1 christos /* Enable extensions on HP NonStop. */ 1440 1.1 christos #ifndef _TANDEM_SOURCE 1441 1.1 christos # define _TANDEM_SOURCE 1 1442 1.1 christos #endif 1443 1.2 christos /* Enable X/Open extensions. Define to 500 only if necessary 1444 1.2 christos to make mbstate_t available. */ 1445 1.1 christos #ifndef _XOPEN_SOURCE 1446 1.1 christos /* # undef _XOPEN_SOURCE */ 1447 1.1 christos #endif 1448 1.1 christos 1449 1.1 christos 1450 1.1 christos /* Define if the native Windows multithreading API can be used. */ 1451 1.1 christos /* #undef USE_WINDOWS_THREADS */ 1452 1.1 christos 1453 1.1 christos /* Define to 1 if unsetenv returns void instead of int. */ 1454 1.1 christos /* #undef VOID_UNSETENV */ 1455 1.1 christos 1456 1.1 christos /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 1457 1.1 christos 'wchar_t'. */ 1458 1.1 christos /* #undef WCHAR_T_SUFFIX */ 1459 1.1 christos 1460 1.2 christos /* Define if WSAStartup is needed. */ 1461 1.2 christos /* #undef WINDOWS_SOCKETS */ 1462 1.2 christos 1463 1.1 christos /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 1464 1.1 christos 'wint_t'. */ 1465 1.1 christos /* #undef WINT_T_SUFFIX */ 1466 1.1 christos 1467 1.1 christos /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most 1468 1.1 christos significant byte first (like Motorola and SPARC, unlike Intel). */ 1469 1.1 christos #if defined AC_APPLE_UNIVERSAL_BUILD 1470 1.1 christos # if defined __BIG_ENDIAN__ 1471 1.1 christos # define WORDS_BIGENDIAN 1 1472 1.1 christos # endif 1473 1.1 christos #else 1474 1.1 christos # ifndef WORDS_BIGENDIAN 1475 1.1 christos # define WORDS_BIGENDIAN 1 1476 1.1 christos # endif 1477 1.1 christos #endif 1478 1.1 christos 1479 1.1 christos /* Number of bits in a file offset, on hosts where this is settable. */ 1480 1.1 christos /* #undef _FILE_OFFSET_BITS */ 1481 1.1 christos 1482 1.1 christos /* True if the compiler says it groks GNU C version MAJOR.MINOR. */ 1483 1.1 christos #if defined __GNUC__ && defined __GNUC_MINOR__ 1484 1.1 christos # define _GL_GNUC_PREREQ(major, minor) \ 1485 1.1 christos ((major) < __GNUC__ + ((minor) <= __GNUC_MINOR__)) 1486 1.1 christos #else 1487 1.1 christos # define _GL_GNUC_PREREQ(major, minor) 0 1488 1.1 christos #endif 1489 1.1 christos 1490 1.1 christos 1491 1.2 christos /* Define to enable the declarations of ISO C 11 types and functions. */ 1492 1.2 christos /* #undef _ISOC11_SOURCE */ 1493 1.2 christos 1494 1.1 christos /* Define for large files, on AIX-style hosts. */ 1495 1.1 christos /* #undef _LARGE_FILES */ 1496 1.1 christos 1497 1.1 christos /* Define to 1 on Solaris. */ 1498 1.1 christos /* #undef _LCONV_C99 */ 1499 1.1 christos 1500 1.1 christos /* The _Noreturn keyword of C11. */ 1501 1.1 christos #ifndef _Noreturn 1502 1.1 christos # if (defined __cplusplus \ 1503 1.1 christos && ((201103 <= __cplusplus && !(__GNUC__ == 4 && __GNUC_MINOR__ == 7)) \ 1504 1.1 christos || (defined _MSC_VER && 1900 <= _MSC_VER)) \ 1505 1.1 christos && 0) 1506 1.1 christos /* [[noreturn]] is not practically usable, because with it the syntax 1507 1.1 christos extern _Noreturn void func (...); 1508 1.1 christos would not be valid; such a declaration would only be valid with 'extern' 1509 1.1 christos and '_Noreturn' swapped, or without the 'extern' keyword. However, some 1510 1.1 christos AIX system header files and several gnulib header files use precisely 1511 1.1 christos this syntax with 'extern'. */ 1512 1.1 christos # define _Noreturn [[noreturn]] 1513 1.1 christos # elif ((!defined __cplusplus || defined __clang__) \ 1514 1.2 christos && (201112 <= (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) \ 1515 1.2 christos || (!defined __STRICT_ANSI__ \ 1516 1.2 christos && (_GL_GNUC_PREREQ (4, 7) \ 1517 1.2 christos || (defined __apple_build_version__ \ 1518 1.2 christos ? 6000000 <= __apple_build_version__ \ 1519 1.2 christos : 3 < __clang_major__ + (5 <= __clang_minor__)))))) 1520 1.1 christos /* _Noreturn works as-is. */ 1521 1.2 christos # elif _GL_GNUC_PREREQ (2, 8) || defined __clang__ || 0x5110 <= __SUNPRO_C 1522 1.1 christos # define _Noreturn __attribute__ ((__noreturn__)) 1523 1.1 christos # elif 1200 <= (defined _MSC_VER ? _MSC_VER : 0) 1524 1.1 christos # define _Noreturn __declspec (noreturn) 1525 1.1 christos # else 1526 1.1 christos # define _Noreturn 1527 1.1 christos # endif 1528 1.1 christos #endif 1529 1.1 christos 1530 1.1 christos 1531 1.1 christos /* Define to 1 in order to get the POSIX compatible declarations of socket 1532 1.1 christos functions. */ 1533 1.1 christos /* #undef _POSIX_PII_SOCKET */ 1534 1.1 christos 1535 1.2 christos /* Number of bits in a timestamp, on hosts where this is settable. */ 1536 1.2 christos /* #undef _TIME_BITS */ 1537 1.1 christos 1538 1.1 christos /* For standard stat data types on VMS. */ 1539 1.1 christos #define _USE_STD_STAT 1 1540 1.1 christos 1541 1.2 christos /* For 64-bit time_t on 32-bit mingw. */ 1542 1.2 christos /* #undef __MINGW_USE_VC2005_COMPAT */ 1543 1.2 christos 1544 1.1 christos /* Define to 1 if the system <stdint.h> predates C++11. */ 1545 1.1 christos /* #undef __STDC_CONSTANT_MACROS */ 1546 1.1 christos 1547 1.1 christos /* Define to 1 if the system <stdint.h> predates C++11. */ 1548 1.1 christos /* #undef __STDC_LIMIT_MACROS */ 1549 1.1 christos 1550 1.2 christos /* Define to 1 if C does not support variable-length arrays, and if the 1551 1.2 christos compiler does not already define this. */ 1552 1.2 christos /* #undef __STDC_NO_VLA__ */ 1553 1.2 christos 1554 1.1 christos /* The _GL_ASYNC_SAFE marker should be attached to functions that are 1555 1.1 christos signal handlers (for signals other than SIGABRT, SIGPIPE) or can be 1556 1.1 christos invoked from such signal handlers. Such functions have some restrictions: 1557 1.1 christos * All functions that it calls should be marked _GL_ASYNC_SAFE as well, 1558 1.1 christos or should be listed as async-signal-safe in POSIX 1559 1.1 christos <https://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_04> 1560 1.1 christos section 2.4.3. Note that malloc(), sprintf(), and fwrite(), in 1561 1.1 christos particular, are NOT async-signal-safe. 1562 1.1 christos * All memory locations (variables and struct fields) that these functions 1563 1.1 christos access must be marked 'volatile'. This holds for both read and write 1564 1.1 christos accesses. Otherwise the compiler might optimize away stores to and 1565 1.1 christos reads from such locations that occur in the program, depending on its 1566 1.1 christos data flow analysis. For example, when the program contains a loop 1567 1.1 christos that is intended to inspect a variable set from within a signal handler 1568 1.1 christos while (!signal_occurred) 1569 1.1 christos ; 1570 1.1 christos the compiler is allowed to transform this into an endless loop if the 1571 1.1 christos variable 'signal_occurred' is not declared 'volatile'. 1572 1.1 christos Additionally, recall that: 1573 1.1 christos * A signal handler should not modify errno (except if it is a handler 1574 1.1 christos for a fatal signal and ends by raising the same signal again, thus 1575 1.1 christos provoking the termination of the process). If it invokes a function 1576 1.1 christos that may clobber errno, it needs to save and restore the value of 1577 1.1 christos errno. */ 1578 1.1 christos #define _GL_ASYNC_SAFE 1579 1.1 christos 1580 1.1 christos 1581 1.1 christos /* Attributes. */ 1582 1.2 christos #if (defined __has_attribute \ 1583 1.2 christos && (!defined __clang_minor__ \ 1584 1.2 christos || (defined __apple_build_version__ \ 1585 1.2 christos ? 6000000 <= __apple_build_version__ \ 1586 1.2 christos : 3 < __clang_major__ + (5 <= __clang_minor__)))) 1587 1.1 christos # define _GL_HAS_ATTRIBUTE(attr) __has_attribute (__##attr##__) 1588 1.1 christos #else 1589 1.1 christos # define _GL_HAS_ATTRIBUTE(attr) _GL_ATTR_##attr 1590 1.1 christos # define _GL_ATTR_alloc_size _GL_GNUC_PREREQ (4, 3) 1591 1.1 christos # define _GL_ATTR_always_inline _GL_GNUC_PREREQ (3, 2) 1592 1.1 christos # define _GL_ATTR_artificial _GL_GNUC_PREREQ (4, 3) 1593 1.1 christos # define _GL_ATTR_cold _GL_GNUC_PREREQ (4, 3) 1594 1.1 christos # define _GL_ATTR_const _GL_GNUC_PREREQ (2, 95) 1595 1.1 christos # define _GL_ATTR_deprecated _GL_GNUC_PREREQ (3, 1) 1596 1.2 christos # define _GL_ATTR_diagnose_if 0 1597 1.1 christos # define _GL_ATTR_error _GL_GNUC_PREREQ (4, 3) 1598 1.1 christos # define _GL_ATTR_externally_visible _GL_GNUC_PREREQ (4, 1) 1599 1.1 christos # define _GL_ATTR_fallthrough _GL_GNUC_PREREQ (7, 0) 1600 1.1 christos # define _GL_ATTR_format _GL_GNUC_PREREQ (2, 7) 1601 1.1 christos # define _GL_ATTR_leaf _GL_GNUC_PREREQ (4, 6) 1602 1.2 christos # define _GL_ATTR_malloc _GL_GNUC_PREREQ (3, 0) 1603 1.1 christos # ifdef _ICC 1604 1.1 christos # define _GL_ATTR_may_alias 0 1605 1.1 christos # else 1606 1.1 christos # define _GL_ATTR_may_alias _GL_GNUC_PREREQ (3, 3) 1607 1.1 christos # endif 1608 1.1 christos # define _GL_ATTR_noinline _GL_GNUC_PREREQ (3, 1) 1609 1.1 christos # define _GL_ATTR_nonnull _GL_GNUC_PREREQ (3, 3) 1610 1.1 christos # define _GL_ATTR_nonstring _GL_GNUC_PREREQ (8, 0) 1611 1.1 christos # define _GL_ATTR_nothrow _GL_GNUC_PREREQ (3, 3) 1612 1.1 christos # define _GL_ATTR_packed _GL_GNUC_PREREQ (2, 7) 1613 1.1 christos # define _GL_ATTR_pure _GL_GNUC_PREREQ (2, 96) 1614 1.1 christos # define _GL_ATTR_returns_nonnull _GL_GNUC_PREREQ (4, 9) 1615 1.1 christos # define _GL_ATTR_sentinel _GL_GNUC_PREREQ (4, 0) 1616 1.1 christos # define _GL_ATTR_unused _GL_GNUC_PREREQ (2, 7) 1617 1.1 christos # define _GL_ATTR_warn_unused_result _GL_GNUC_PREREQ (3, 4) 1618 1.1 christos #endif 1619 1.1 christos 1620 1.2 christos #ifdef __has_c_attribute 1621 1.2 christos # if ((defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) <= 201710 \ 1622 1.2 christos && _GL_GNUC_PREREQ (4, 6)) 1623 1.2 christos # pragma GCC diagnostic ignored "-Wpedantic" 1624 1.2 christos # endif 1625 1.2 christos # define _GL_HAS_C_ATTRIBUTE(attr) __has_c_attribute (__##attr##__) 1626 1.2 christos #else 1627 1.2 christos # define _GL_HAS_C_ATTRIBUTE(attr) 0 1628 1.2 christos #endif 1629 1.1 christos 1630 1.2 christos 1631 1.2 christos /* _GL_ATTRIBUTE_ALLOC_SIZE ((N)) declares that the Nth argument of the function 1632 1.2 christos is the size of the returned memory block. 1633 1.2 christos _GL_ATTRIBUTE_ALLOC_SIZE ((M, N)) declares that the Mth argument multiplied 1634 1.2 christos by the Nth argument of the function is the size of the returned memory block. 1635 1.2 christos */ 1636 1.2 christos /* Applies to: function, pointer to function, function types. */ 1637 1.1 christos #if _GL_HAS_ATTRIBUTE (alloc_size) 1638 1.1 christos # define _GL_ATTRIBUTE_ALLOC_SIZE(args) __attribute__ ((__alloc_size__ args)) 1639 1.1 christos #else 1640 1.1 christos # define _GL_ATTRIBUTE_ALLOC_SIZE(args) 1641 1.1 christos #endif 1642 1.1 christos 1643 1.2 christos /* _GL_ATTRIBUTE_ALWAYS_INLINE tells that the compiler should always inline the 1644 1.2 christos function and report an error if it cannot do so. */ 1645 1.2 christos /* Applies to: function. */ 1646 1.1 christos #if _GL_HAS_ATTRIBUTE (always_inline) 1647 1.1 christos # define _GL_ATTRIBUTE_ALWAYS_INLINE __attribute__ ((__always_inline__)) 1648 1.1 christos #else 1649 1.1 christos # define _GL_ATTRIBUTE_ALWAYS_INLINE 1650 1.1 christos #endif 1651 1.1 christos 1652 1.2 christos /* _GL_ATTRIBUTE_ARTIFICIAL declares that the function is not important to show 1653 1.2 christos in stack traces when debugging. The compiler should omit the function from 1654 1.2 christos stack traces. */ 1655 1.2 christos /* Applies to: function. */ 1656 1.1 christos #if _GL_HAS_ATTRIBUTE (artificial) 1657 1.1 christos # define _GL_ATTRIBUTE_ARTIFICIAL __attribute__ ((__artificial__)) 1658 1.1 christos #else 1659 1.1 christos # define _GL_ATTRIBUTE_ARTIFICIAL 1660 1.1 christos #endif 1661 1.1 christos 1662 1.2 christos /* _GL_ATTRIBUTE_COLD declares that the function is rarely executed. */ 1663 1.2 christos /* Applies to: functions. */ 1664 1.1 christos /* Avoid __attribute__ ((cold)) on MinGW; see thread starting at 1665 1.2 christos <https://lists.gnu.org/r/emacs-devel/2019-04/msg01152.html>. 1666 1.2 christos Also, Oracle Studio 12.6 requires 'cold' not '__cold__'. */ 1667 1.1 christos #if _GL_HAS_ATTRIBUTE (cold) && !defined __MINGW32__ 1668 1.2 christos # ifndef __SUNPRO_C 1669 1.2 christos # define _GL_ATTRIBUTE_COLD __attribute__ ((__cold__)) 1670 1.2 christos # else 1671 1.2 christos # define _GL_ATTRIBUTE_COLD __attribute__ ((cold)) 1672 1.2 christos # endif 1673 1.1 christos #else 1674 1.1 christos # define _GL_ATTRIBUTE_COLD 1675 1.1 christos #endif 1676 1.1 christos 1677 1.2 christos /* _GL_ATTRIBUTE_CONST declares that it is OK for a compiler to omit duplicate 1678 1.2 christos calls to the function with the same arguments. 1679 1.2 christos This attribute is safe for a function that neither depends on nor affects 1680 1.2 christos observable state, and always returns exactly once - e.g., does not loop 1681 1.2 christos forever, and does not call longjmp. 1682 1.2 christos (This attribute is stricter than _GL_ATTRIBUTE_PURE.) */ 1683 1.2 christos /* Applies to: functions. */ 1684 1.1 christos #if _GL_HAS_ATTRIBUTE (const) 1685 1.1 christos # define _GL_ATTRIBUTE_CONST __attribute__ ((__const__)) 1686 1.1 christos #else 1687 1.1 christos # define _GL_ATTRIBUTE_CONST 1688 1.1 christos #endif 1689 1.1 christos 1690 1.2 christos /* _GL_ATTRIBUTE_DEALLOC (F, I) declares that the function returns pointers 1691 1.2 christos that can be freed by passing them as the Ith argument to the 1692 1.2 christos function F. 1693 1.2 christos _GL_ATTRIBUTE_DEALLOC_FREE declares that the function returns pointers that 1694 1.2 christos can be freed via 'free'; it can be used only after declaring 'free'. */ 1695 1.2 christos /* Applies to: functions. Cannot be used on inline functions. */ 1696 1.2 christos /* Disable on Solaris to avoid GDB PR build/29791. */ 1697 1.2 christos #if _GL_GNUC_PREREQ (11, 0) && !(defined(__sun__) && defined(__svr4__)) 1698 1.2 christos # define _GL_ATTRIBUTE_DEALLOC(f, i) __attribute__ ((__malloc__ (f, i))) 1699 1.2 christos #else 1700 1.2 christos # define _GL_ATTRIBUTE_DEALLOC(f, i) 1701 1.2 christos #endif 1702 1.2 christos /* If gnulib's <string.h> or <wchar.h> has already defined this macro, continue 1703 1.2 christos to use this earlier definition, since <stdlib.h> may not have been included 1704 1.2 christos yet. */ 1705 1.2 christos #ifndef _GL_ATTRIBUTE_DEALLOC_FREE 1706 1.2 christos # define _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_DEALLOC (free, 1) 1707 1.2 christos #endif 1708 1.2 christos 1709 1.2 christos /* _GL_ATTRIBUTE_DEPRECATED: Declares that an entity is deprecated. 1710 1.2 christos The compiler may warn if the entity is used. */ 1711 1.2 christos /* Applies to: 1712 1.2 christos - function, variable, 1713 1.2 christos - struct, union, struct/union member, 1714 1.2 christos - enumeration, enumeration item, 1715 1.2 christos - typedef, 1716 1.2 christos in C++ also: namespace, class, template specialization. */ 1717 1.2 christos #if _GL_HAS_C_ATTRIBUTE (deprecated) 1718 1.1 christos # define _GL_ATTRIBUTE_DEPRECATED [[__deprecated__]] 1719 1.1 christos #elif _GL_HAS_ATTRIBUTE (deprecated) 1720 1.1 christos # define _GL_ATTRIBUTE_DEPRECATED __attribute__ ((__deprecated__)) 1721 1.1 christos #else 1722 1.1 christos # define _GL_ATTRIBUTE_DEPRECATED 1723 1.1 christos #endif 1724 1.1 christos 1725 1.2 christos /* _GL_ATTRIBUTE_ERROR(msg) requests an error if a function is called and 1726 1.2 christos the function call is not optimized away. 1727 1.2 christos _GL_ATTRIBUTE_WARNING(msg) requests a warning if a function is called and 1728 1.2 christos the function call is not optimized away. */ 1729 1.2 christos /* Applies to: functions. */ 1730 1.1 christos #if _GL_HAS_ATTRIBUTE (error) 1731 1.1 christos # define _GL_ATTRIBUTE_ERROR(msg) __attribute__ ((__error__ (msg))) 1732 1.1 christos # define _GL_ATTRIBUTE_WARNING(msg) __attribute__ ((__warning__ (msg))) 1733 1.2 christos #elif _GL_HAS_ATTRIBUTE (diagnose_if) 1734 1.2 christos # define _GL_ATTRIBUTE_ERROR(msg) __attribute__ ((__diagnose_if__ (1, msg, "error"))) 1735 1.2 christos # define _GL_ATTRIBUTE_WARNING(msg) __attribute__ ((__diagnose_if__ (1, msg, "warning"))) 1736 1.1 christos #else 1737 1.1 christos # define _GL_ATTRIBUTE_ERROR(msg) 1738 1.1 christos # define _GL_ATTRIBUTE_WARNING(msg) 1739 1.1 christos #endif 1740 1.1 christos 1741 1.2 christos /* _GL_ATTRIBUTE_EXTERNALLY_VISIBLE declares that the entity should remain 1742 1.2 christos visible to debuggers etc., even with '-fwhole-program'. */ 1743 1.2 christos /* Applies to: functions, variables. */ 1744 1.1 christos #if _GL_HAS_ATTRIBUTE (externally_visible) 1745 1.1 christos # define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE __attribute__ ((externally_visible)) 1746 1.1 christos #else 1747 1.1 christos # define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE 1748 1.1 christos #endif 1749 1.1 christos 1750 1.2 christos /* _GL_ATTRIBUTE_FALLTHROUGH declares that it is not a programming mistake if 1751 1.2 christos the control flow falls through to the immediately following 'case' or 1752 1.2 christos 'default' label. The compiler should not warn in this case. */ 1753 1.2 christos /* Applies to: Empty statement (;), inside a 'switch' statement. */ 1754 1.2 christos /* Always expands to something. */ 1755 1.2 christos #if _GL_HAS_C_ATTRIBUTE (fallthrough) 1756 1.1 christos # define _GL_ATTRIBUTE_FALLTHROUGH [[__fallthrough__]] 1757 1.1 christos #elif _GL_HAS_ATTRIBUTE (fallthrough) 1758 1.1 christos # define _GL_ATTRIBUTE_FALLTHROUGH __attribute__ ((__fallthrough__)) 1759 1.1 christos #else 1760 1.1 christos # define _GL_ATTRIBUTE_FALLTHROUGH ((void) 0) 1761 1.1 christos #endif 1762 1.1 christos 1763 1.2 christos /* _GL_ATTRIBUTE_FORMAT ((ARCHETYPE, STRING-INDEX, FIRST-TO-CHECK)) 1764 1.2 christos declares that the STRING-INDEXth function argument is a format string of 1765 1.2 christos style ARCHETYPE, which is one of: 1766 1.2 christos printf, gnu_printf 1767 1.2 christos scanf, gnu_scanf, 1768 1.2 christos strftime, gnu_strftime, 1769 1.2 christos strfmon, 1770 1.2 christos or the same thing prefixed and suffixed with '__'. 1771 1.2 christos If FIRST-TO-CHECK is not 0, arguments starting at FIRST-TO_CHECK 1772 1.2 christos are suitable for the format string. */ 1773 1.2 christos /* Applies to: functions. */ 1774 1.1 christos #if _GL_HAS_ATTRIBUTE (format) 1775 1.1 christos # define _GL_ATTRIBUTE_FORMAT(spec) __attribute__ ((__format__ spec)) 1776 1.1 christos #else 1777 1.1 christos # define _GL_ATTRIBUTE_FORMAT(spec) 1778 1.1 christos #endif 1779 1.1 christos 1780 1.2 christos /* _GL_ATTRIBUTE_LEAF declares that if the function is called from some other 1781 1.2 christos compilation unit, it executes code from that unit only by return or by 1782 1.2 christos exception handling. This declaration lets the compiler optimize that unit 1783 1.2 christos more aggressively. */ 1784 1.2 christos /* Applies to: functions. */ 1785 1.1 christos #if _GL_HAS_ATTRIBUTE (leaf) 1786 1.1 christos # define _GL_ATTRIBUTE_LEAF __attribute__ ((__leaf__)) 1787 1.1 christos #else 1788 1.1 christos # define _GL_ATTRIBUTE_LEAF 1789 1.1 christos #endif 1790 1.1 christos 1791 1.2 christos /* _GL_ATTRIBUTE_MALLOC declares that the function returns a pointer to freshly 1792 1.2 christos allocated memory. */ 1793 1.2 christos /* Applies to: functions. */ 1794 1.2 christos #if _GL_HAS_ATTRIBUTE (malloc) 1795 1.2 christos # define _GL_ATTRIBUTE_MALLOC __attribute__ ((__malloc__)) 1796 1.2 christos #else 1797 1.2 christos # define _GL_ATTRIBUTE_MALLOC 1798 1.2 christos #endif 1799 1.2 christos 1800 1.2 christos /* _GL_ATTRIBUTE_MAY_ALIAS declares that pointers to the type may point to the 1801 1.2 christos same storage as pointers to other types. Thus this declaration disables 1802 1.2 christos strict aliasing optimization. */ 1803 1.2 christos /* Applies to: types. */ 1804 1.2 christos /* Oracle Studio 12.6 mishandles may_alias despite __has_attribute OK. */ 1805 1.2 christos #if _GL_HAS_ATTRIBUTE (may_alias) && !defined __SUNPRO_C 1806 1.1 christos # define _GL_ATTRIBUTE_MAY_ALIAS __attribute__ ((__may_alias__)) 1807 1.1 christos #else 1808 1.1 christos # define _GL_ATTRIBUTE_MAY_ALIAS 1809 1.1 christos #endif 1810 1.1 christos 1811 1.2 christos /* _GL_ATTRIBUTE_MAYBE_UNUSED declares that it is not a programming mistake if 1812 1.2 christos the entity is not used. The compiler should not warn if the entity is not 1813 1.2 christos used. */ 1814 1.2 christos /* Applies to: 1815 1.2 christos - function, variable, 1816 1.2 christos - struct, union, struct/union member, 1817 1.2 christos - enumeration, enumeration item, 1818 1.2 christos - typedef, 1819 1.2 christos in C++ also: class. */ 1820 1.2 christos /* In C++ and C2x, this is spelled [[__maybe_unused__]]. 1821 1.2 christos GCC's syntax is __attribute__ ((__unused__)). 1822 1.2 christos clang supports both syntaxes. */ 1823 1.2 christos #if _GL_HAS_C_ATTRIBUTE (maybe_unused) 1824 1.1 christos # define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]] 1825 1.1 christos #else 1826 1.2 christos # define _GL_ATTRIBUTE_MAYBE_UNUSED _GL_ATTRIBUTE_UNUSED 1827 1.1 christos #endif 1828 1.2 christos /* Alternative spelling of this macro, for convenience. */ 1829 1.2 christos #define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED 1830 1.1 christos /* Earlier spellings of this macro. */ 1831 1.1 christos #define _UNUSED_PARAMETER_ _GL_ATTRIBUTE_MAYBE_UNUSED 1832 1.1 christos 1833 1.2 christos /* _GL_ATTRIBUTE_NODISCARD declares that the caller of the function should not 1834 1.2 christos discard the return value. The compiler may warn if the caller does not use 1835 1.2 christos the return value, unless the caller uses something like ignore_value. */ 1836 1.2 christos /* Applies to: function, enumeration, class. */ 1837 1.2 christos #if _GL_HAS_C_ATTRIBUTE (nodiscard) 1838 1.1 christos # define _GL_ATTRIBUTE_NODISCARD [[__nodiscard__]] 1839 1.1 christos #elif _GL_HAS_ATTRIBUTE (warn_unused_result) 1840 1.1 christos # define _GL_ATTRIBUTE_NODISCARD __attribute__ ((__warn_unused_result__)) 1841 1.1 christos #else 1842 1.1 christos # define _GL_ATTRIBUTE_NODISCARD 1843 1.1 christos #endif 1844 1.1 christos 1845 1.2 christos /* _GL_ATTRIBUTE_NOINLINE tells that the compiler should not inline the 1846 1.2 christos function. */ 1847 1.2 christos /* Applies to: functions. */ 1848 1.1 christos #if _GL_HAS_ATTRIBUTE (noinline) 1849 1.1 christos # define _GL_ATTRIBUTE_NOINLINE __attribute__ ((__noinline__)) 1850 1.1 christos #else 1851 1.1 christos # define _GL_ATTRIBUTE_NOINLINE 1852 1.1 christos #endif 1853 1.1 christos 1854 1.2 christos /* _GL_ATTRIBUTE_NONNULL ((N1, N2,...)) declares that the arguments N1, N2,... 1855 1.2 christos must not be NULL. 1856 1.2 christos _GL_ATTRIBUTE_NONNULL () declares that all pointer arguments must not be 1857 1.2 christos null. */ 1858 1.2 christos /* Applies to: functions. */ 1859 1.1 christos #if _GL_HAS_ATTRIBUTE (nonnull) 1860 1.1 christos # define _GL_ATTRIBUTE_NONNULL(args) __attribute__ ((__nonnull__ args)) 1861 1.1 christos #else 1862 1.1 christos # define _GL_ATTRIBUTE_NONNULL(args) 1863 1.1 christos #endif 1864 1.1 christos 1865 1.2 christos /* _GL_ATTRIBUTE_NONSTRING declares that the contents of a character array is 1866 1.2 christos not meant to be NUL-terminated. */ 1867 1.2 christos /* Applies to: struct/union members and variables that are arrays of element 1868 1.2 christos type '[[un]signed] char'. */ 1869 1.1 christos #if _GL_HAS_ATTRIBUTE (nonstring) 1870 1.1 christos # define _GL_ATTRIBUTE_NONSTRING __attribute__ ((__nonstring__)) 1871 1.1 christos #else 1872 1.1 christos # define _GL_ATTRIBUTE_NONSTRING 1873 1.1 christos #endif 1874 1.1 christos 1875 1.1 christos /* There is no _GL_ATTRIBUTE_NORETURN; use _Noreturn instead. */ 1876 1.1 christos 1877 1.2 christos /* _GL_ATTRIBUTE_NOTHROW declares that the function does not throw exceptions. 1878 1.2 christos */ 1879 1.2 christos /* Applies to: functions. */ 1880 1.1 christos #if _GL_HAS_ATTRIBUTE (nothrow) && !defined __cplusplus 1881 1.1 christos # define _GL_ATTRIBUTE_NOTHROW __attribute__ ((__nothrow__)) 1882 1.1 christos #else 1883 1.1 christos # define _GL_ATTRIBUTE_NOTHROW 1884 1.1 christos #endif 1885 1.1 christos 1886 1.2 christos /* _GL_ATTRIBUTE_PACKED declares: 1887 1.2 christos For struct members: The member has the smallest possible alignment. 1888 1.2 christos For struct, union, class: All members have the smallest possible alignment, 1889 1.2 christos minimizing the memory required. */ 1890 1.2 christos /* Applies to: struct members, struct, union, 1891 1.2 christos in C++ also: class. */ 1892 1.1 christos #if _GL_HAS_ATTRIBUTE (packed) 1893 1.1 christos # define _GL_ATTRIBUTE_PACKED __attribute__ ((__packed__)) 1894 1.1 christos #else 1895 1.1 christos # define _GL_ATTRIBUTE_PACKED 1896 1.1 christos #endif 1897 1.1 christos 1898 1.2 christos /* _GL_ATTRIBUTE_PURE declares that It is OK for a compiler to omit duplicate 1899 1.2 christos calls to the function with the same arguments if observable state is not 1900 1.2 christos changed between calls. 1901 1.2 christos This attribute is safe for a function that does not affect 1902 1.2 christos observable state, and always returns exactly once. 1903 1.2 christos (This attribute is looser than _GL_ATTRIBUTE_CONST.) */ 1904 1.2 christos /* Applies to: functions. */ 1905 1.1 christos #if _GL_HAS_ATTRIBUTE (pure) 1906 1.1 christos # define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__)) 1907 1.1 christos #else 1908 1.1 christos # define _GL_ATTRIBUTE_PURE 1909 1.1 christos #endif 1910 1.1 christos 1911 1.2 christos /* _GL_ATTRIBUTE_RETURNS_NONNULL declares that the function's return value is 1912 1.2 christos a non-NULL pointer. */ 1913 1.2 christos /* Applies to: functions. */ 1914 1.1 christos #if _GL_HAS_ATTRIBUTE (returns_nonnull) 1915 1.1 christos # define _GL_ATTRIBUTE_RETURNS_NONNULL __attribute__ ((__returns_nonnull__)) 1916 1.1 christos #else 1917 1.1 christos # define _GL_ATTRIBUTE_RETURNS_NONNULL 1918 1.1 christos #endif 1919 1.1 christos 1920 1.2 christos /* _GL_ATTRIBUTE_SENTINEL(pos) declares that the variadic function expects a 1921 1.2 christos trailing NULL argument. 1922 1.2 christos _GL_ATTRIBUTE_SENTINEL () - The last argument is NULL (requires C99). 1923 1.2 christos _GL_ATTRIBUTE_SENTINEL ((N)) - The (N+1)st argument from the end is NULL. */ 1924 1.2 christos /* Applies to: functions. */ 1925 1.1 christos #if _GL_HAS_ATTRIBUTE (sentinel) 1926 1.1 christos # define _GL_ATTRIBUTE_SENTINEL(pos) __attribute__ ((__sentinel__ pos)) 1927 1.1 christos #else 1928 1.1 christos # define _GL_ATTRIBUTE_SENTINEL(pos) 1929 1.1 christos #endif 1930 1.1 christos 1931 1.2 christos /* A helper macro. Don't use it directly. */ 1932 1.2 christos #if _GL_HAS_ATTRIBUTE (unused) 1933 1.2 christos # define _GL_ATTRIBUTE_UNUSED __attribute__ ((__unused__)) 1934 1.2 christos #else 1935 1.2 christos # define _GL_ATTRIBUTE_UNUSED 1936 1.1 christos #endif 1937 1.1 christos 1938 1.1 christos 1939 1.2 christos /* _GL_UNUSED_LABEL; declares that it is not a programming mistake if the 1940 1.2 christos immediately preceding label is not used. The compiler should not warn 1941 1.2 christos if the label is not used. */ 1942 1.2 christos /* Applies to: label (both in C and C++). */ 1943 1.2 christos /* Note that g++ < 4.5 does not support the '__attribute__ ((__unused__)) ;' 1944 1.2 christos syntax. But clang does. */ 1945 1.2 christos #if !(defined __cplusplus && !_GL_GNUC_PREREQ (4, 5)) || defined __clang__ 1946 1.2 christos # define _GL_UNUSED_LABEL _GL_ATTRIBUTE_UNUSED 1947 1.1 christos #else 1948 1.2 christos # define _GL_UNUSED_LABEL 1949 1.1 christos #endif 1950 1.1 christos 1951 1.1 christos 1952 1.1 christos /* Define to `int' if <sys/types.h> doesn't define. */ 1953 1.1 christos /* #undef gid_t */ 1954 1.1 christos 1955 1.1 christos /* Define to `__inline__' or `__inline' if that's what the C compiler 1956 1.1 christos calls it, or to nothing if 'inline' is not supported under any name. */ 1957 1.1 christos #ifndef __cplusplus 1958 1.1 christos /* #undef inline */ 1959 1.1 christos #endif 1960 1.1 christos 1961 1.1 christos /* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports 1962 1.1 christos the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of 1963 1.1 christos earlier versions), but does not display it by setting __GNUC_STDC_INLINE__. 1964 1.1 christos __APPLE__ && __MACH__ test for Mac OS X. 1965 1.1 christos __APPLE_CC__ tests for the Apple compiler and its version. 1966 1.1 christos __STDC_VERSION__ tests for the C99 mode. */ 1967 1.1 christos #if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__ 1968 1.1 christos # define __GNUC_STDC_INLINE__ 1 1969 1.1 christos #endif 1970 1.1 christos 1971 1.1 christos /* Define to a type if <wchar.h> does not define. */ 1972 1.1 christos /* #undef mbstate_t */ 1973 1.1 christos 1974 1.2 christos /* _GL_CMP (n1, n2) performs a three-valued comparison on n1 vs. n2, where 1975 1.2 christos n1 and n2 are expressions without side effects, that evaluate to real 1976 1.2 christos numbers (excluding NaN). 1977 1.2 christos It returns 1978 1.2 christos 1 if n1 > n2 1979 1.2 christos 0 if n1 == n2 1980 1.2 christos -1 if n1 < n2 1981 1.2 christos The nave code (n1 > n2 ? 1 : n1 < n2 ? -1 : 0) produces a conditional 1982 1.2 christos jump with nearly all GCC versions up to GCC 10. 1983 1.2 christos This variant (n1 < n2 ? -1 : n1 > n2) produces a conditional with many 1984 1.2 christos GCC versions up to GCC 9. 1985 1.2 christos The better code (n1 > n2) - (n1 < n2) from Hacker's Delight 2-9 1986 1.2 christos avoids conditional jumps in all GCC versions >= 3.4. */ 1987 1.2 christos #define _GL_CMP(n1, n2) (((n1) > (n2)) - ((n1) < (n2))) 1988 1.2 christos 1989 1.2 christos 1990 1.1 christos /* Define to `int' if <sys/types.h> does not define. */ 1991 1.1 christos /* #undef mode_t */ 1992 1.1 christos 1993 1.1 christos /* Define to the type of st_nlink in struct stat, or a supertype. */ 1994 1.1 christos /* #undef nlink_t */ 1995 1.1 christos 1996 1.2 christos /* Define as a signed integer type capable of holding a process identifier. */ 1997 1.1 christos /* #undef pid_t */ 1998 1.1 christos 1999 1.1 christos /* Define to the equivalent of the C99 'restrict' keyword, or to 2000 1.1 christos nothing if this is not supported. Do not define if restrict is 2001 1.2 christos supported only directly. */ 2002 1.2 christos #define restrict __restrict__ 2003 1.1 christos /* Work around a bug in older versions of Sun C++, which did not 2004 1.1 christos #define __restrict__ or support _Restrict or __restrict__ 2005 1.1 christos even though the corresponding Sun C compiler ended up with 2006 1.1 christos "#define restrict _Restrict" or "#define restrict __restrict__" 2007 1.1 christos in the previous line. This workaround can be removed once 2008 1.1 christos we assume Oracle Developer Studio 12.5 (2016) or later. */ 2009 1.1 christos #if defined __SUNPRO_CC && !defined __RESTRICT && !defined __restrict__ 2010 1.1 christos # define _Restrict 2011 1.1 christos # define __restrict__ 2012 1.1 christos #endif 2013 1.1 christos 2014 1.1 christos /* Define to `unsigned int' if <sys/types.h> does not define. */ 2015 1.1 christos /* #undef size_t */ 2016 1.1 christos 2017 1.1 christos /* type to use in place of socklen_t if not defined */ 2018 1.1 christos /* #undef socklen_t */ 2019 1.1 christos 2020 1.1 christos /* Define as a signed type of the same size as size_t. */ 2021 1.1 christos /* #undef ssize_t */ 2022 1.1 christos 2023 1.1 christos /* Define to `int' if <sys/types.h> doesn't define. */ 2024 1.1 christos /* #undef uid_t */ 2025