| 1 |
/* config.h.in. Generated from configure.ac by autoheader. */ |
| 2 |
|
| 3 |
/* Define if building universal (internal helper macro) */ |
| 4 |
#undef AC_APPLE_UNIVERSAL_BUILD |
| 5 |
|
| 6 |
/* monitoring critical default */ |
| 7 |
#undef ALARM_CRIT |
| 8 |
|
| 9 |
/* monitoring warning default */ |
| 10 |
#undef ALARM_WARN |
| 11 |
|
| 12 |
/* Define to the number of bits in type 'ptrdiff_t'. */ |
| 13 |
#undef BITSIZEOF_PTRDIFF_T |
| 14 |
|
| 15 |
/* Define to the number of bits in type 'sig_atomic_t'. */ |
| 16 |
#undef BITSIZEOF_SIG_ATOMIC_T |
| 17 |
|
| 18 |
/* Define to the number of bits in type 'size_t'. */ |
| 19 |
#undef BITSIZEOF_SIZE_T |
| 20 |
|
| 21 |
/* Define to the number of bits in type 'wchar_t'. */ |
| 22 |
#undef BITSIZEOF_WCHAR_T |
| 23 |
|
| 24 |
/* Define to the number of bits in type 'wint_t'. */ |
| 25 |
#undef BITSIZEOF_WINT_T |
| 26 |
|
| 27 |
/* build mustach support */ |
| 28 |
#undef BUILD_MUSTACH |
| 29 |
|
| 30 |
/* Define to 1 if using 'alloca.c'. */ |
| 31 |
#undef C_ALLOCA |
| 32 |
|
| 33 |
/* Define as the bit index in the word where to find bit 0 of the exponent of |
| 34 |
'double'. */ |
| 35 |
#undef DBL_EXPBIT0_BIT |
| 36 |
|
| 37 |
/* Define as the word index where to find the exponent of 'double'. */ |
| 38 |
#undef DBL_EXPBIT0_WORD |
| 39 |
|
| 40 |
/* default path of dhcpd.conf */ |
| 41 |
#undef DHCPDCONF_FILE |
| 42 |
|
| 43 |
/* default path of dhcpd.leases */ |
| 44 |
#undef DHCPDLEASE_FILE |
| 45 |
|
| 46 |
/* Define to 1 if // is a file system root distinct from /. */ |
| 47 |
#undef DOUBLE_SLASH_IS_DISTINCT_ROOT |
| 48 |
|
| 49 |
/* Define this to 1 if F_DUPFD behavior does not match POSIX */ |
| 50 |
#undef FCNTL_DUPFD_BUGGY |
| 51 |
|
| 52 |
/* Define to nothing if C supports flexible array members, and to 1 if it does |
| 53 |
not. That way, with a declaration like 'struct s { int n; short |
| 54 |
d[FLEXIBLE_ARRAY_MEMBER]; };', the struct hack can be used with pre-C99 |
| 55 |
compilers. Use 'FLEXSIZEOF (struct s, d, N * sizeof (short))' to calculate |
| 56 |
the size in bytes of such a struct containing an N-element array. */ |
| 57 |
#undef FLEXIBLE_ARRAY_MEMBER |
| 58 |
|
| 59 |
/* Define as the bit index in the word where to find bit 0 of the exponent of |
| 60 |
'float'. */ |
| 61 |
#undef FLT_EXPBIT0_BIT |
| 62 |
|
| 63 |
/* Define as the word index where to find the exponent of 'float'. */ |
| 64 |
#undef FLT_EXPBIT0_WORD |
| 65 |
|
| 66 |
/* Define to 1 if fopen() fails to recognize a trailing slash. */ |
| 67 |
#undef FOPEN_TRAILING_SLASH_BUG |
| 68 |
|
| 69 |
/* Define to 1 if the system's ftello function has the Solaris bug. */ |
| 70 |
#undef FTELLO_BROKEN_AFTER_SWITCHING_FROM_READ_TO_WRITE |
| 71 |
|
| 72 |
/* Define to 1 if the system's ftello function has the macOS bug. */ |
| 73 |
#undef FTELLO_BROKEN_AFTER_UNGETC |
| 74 |
|
| 75 |
/* Define to 1 if fflush is known to work on stdin as per POSIX.1-2008, 0 if |
| 76 |
fflush is known to not work, -1 if unknown. */ |
| 77 |
#undef FUNC_FFLUSH_STDIN |
| 78 |
|
| 79 |
/* Define to 1 if ungetc is broken when used on arbitrary bytes. */ |
| 80 |
#undef FUNC_UNGETC_BROKEN |
| 81 |
|
| 82 |
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending |
| 83 |
whether the gnulib module close-stream shall be considered present. */ |
| 84 |
#undef GNULIB_CLOSE_STREAM |
| 85 |
|
| 86 |
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending |
| 87 |
whether the gnulib module fflush shall be considered present. */ |
| 88 |
#undef GNULIB_FFLUSH |
| 89 |
|
| 90 |
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending |
| 91 |
whether the gnulib module fscanf shall be considered present. */ |
| 92 |
#undef GNULIB_FSCANF |
| 93 |
|
| 94 |
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending |
| 95 |
whether the gnulib module msvc-nothrow shall be considered present. */ |
| 96 |
#undef GNULIB_MSVC_NOTHROW |
| 97 |
|
| 98 |
/* Define to 1 if printf and friends should be labeled with attribute |
| 99 |
"__gnu_printf__" instead of "__printf__" */ |
| 100 |
#undef GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU |
| 101 |
|
| 102 |
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending |
| 103 |
whether the gnulib module reallocarray shall be considered present. */ |
| 104 |
#undef GNULIB_REALLOCARRAY |
| 105 |
|
| 106 |
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending |
| 107 |
whether the gnulib module scanf shall be considered present. */ |
| 108 |
#undef GNULIB_SCANF |
| 109 |
|
| 110 |
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending |
| 111 |
whether the gnulib module strerror shall be considered present. */ |
| 112 |
#undef GNULIB_STRERROR |
| 113 |
|
| 114 |
/* Define to 1 when the gnulib module calloc-gnu should be tested. */ |
| 115 |
#undef GNULIB_TEST_CALLOC_GNU |
| 116 |
|
| 117 |
/* Define to 1 when the gnulib module calloc-posix should be tested. */ |
| 118 |
#undef GNULIB_TEST_CALLOC_POSIX |
| 119 |
|
| 120 |
/* Define to 1 when the gnulib module cloexec should be tested. */ |
| 121 |
#undef GNULIB_TEST_CLOEXEC |
| 122 |
|
| 123 |
/* Define to 1 when the gnulib module close should be tested. */ |
| 124 |
#undef GNULIB_TEST_CLOSE |
| 125 |
|
| 126 |
/* Define to 1 when the gnulib module dup2 should be tested. */ |
| 127 |
#undef GNULIB_TEST_DUP2 |
| 128 |
|
| 129 |
/* Define to 1 when the gnulib module environ should be tested. */ |
| 130 |
#undef GNULIB_TEST_ENVIRON |
| 131 |
|
| 132 |
/* Define to 1 when the gnulib module fclose should be tested. */ |
| 133 |
#undef GNULIB_TEST_FCLOSE |
| 134 |
|
| 135 |
/* Define to 1 when the gnulib module fcntl should be tested. */ |
| 136 |
#undef GNULIB_TEST_FCNTL |
| 137 |
|
| 138 |
/* Define to 1 when the gnulib module fdopen should be tested. */ |
| 139 |
#undef GNULIB_TEST_FDOPEN |
| 140 |
|
| 141 |
/* Define to 1 when the gnulib module fflush should be tested. */ |
| 142 |
#undef GNULIB_TEST_FFLUSH |
| 143 |
|
| 144 |
/* Define to 1 when the gnulib module fgetc should be tested. */ |
| 145 |
#undef GNULIB_TEST_FGETC |
| 146 |
|
| 147 |
/* Define to 1 when the gnulib module fgets should be tested. */ |
| 148 |
#undef GNULIB_TEST_FGETS |
| 149 |
|
| 150 |
/* Define to 1 when the gnulib module fopen should be tested. */ |
| 151 |
#undef GNULIB_TEST_FOPEN |
| 152 |
|
| 153 |
/* Define to 1 when the gnulib module fprintf should be tested. */ |
| 154 |
#undef GNULIB_TEST_FPRINTF |
| 155 |
|
| 156 |
/* Define to 1 when the gnulib module fpurge should be tested. */ |
| 157 |
#undef GNULIB_TEST_FPURGE |
| 158 |
|
| 159 |
/* Define to 1 when the gnulib module fputc should be tested. */ |
| 160 |
#undef GNULIB_TEST_FPUTC |
| 161 |
|
| 162 |
/* Define to 1 when the gnulib module fputs should be tested. */ |
| 163 |
#undef GNULIB_TEST_FPUTS |
| 164 |
|
| 165 |
/* Define to 1 when the gnulib module fread should be tested. */ |
| 166 |
#undef GNULIB_TEST_FREAD |
| 167 |
|
| 168 |
/* Define to 1 when the gnulib module free-posix should be tested. */ |
| 169 |
#undef GNULIB_TEST_FREE_POSIX |
| 170 |
|
| 171 |
/* Define to 1 when the gnulib module fscanf should be tested. */ |
| 172 |
#undef GNULIB_TEST_FSCANF |
| 173 |
|
| 174 |
/* Define to 1 when the gnulib module fseek should be tested. */ |
| 175 |
#undef GNULIB_TEST_FSEEK |
| 176 |
|
| 177 |
/* Define to 1 when the gnulib module fseeko should be tested. */ |
| 178 |
#undef GNULIB_TEST_FSEEKO |
| 179 |
|
| 180 |
/* Define to 1 when the gnulib module fstat should be tested. */ |
| 181 |
#undef GNULIB_TEST_FSTAT |
| 182 |
|
| 183 |
/* Define to 1 when the gnulib module ftell should be tested. */ |
| 184 |
#undef GNULIB_TEST_FTELL |
| 185 |
|
| 186 |
/* Define to 1 when the gnulib module ftello should be tested. */ |
| 187 |
#undef GNULIB_TEST_FTELLO |
| 188 |
|
| 189 |
/* Define to 1 when the gnulib module fwrite should be tested. */ |
| 190 |
#undef GNULIB_TEST_FWRITE |
| 191 |
|
| 192 |
/* Define to 1 when the gnulib module getc should be tested. */ |
| 193 |
#undef GNULIB_TEST_GETC |
| 194 |
|
| 195 |
/* Define to 1 when the gnulib module getchar should be tested. */ |
| 196 |
#undef GNULIB_TEST_GETCHAR |
| 197 |
|
| 198 |
/* Define to 1 when the gnulib module getdtablesize should be tested. */ |
| 199 |
#undef GNULIB_TEST_GETDTABLESIZE |
| 200 |
|
| 201 |
/* Define to 1 when the gnulib module getopt-posix should be tested. */ |
| 202 |
#undef GNULIB_TEST_GETOPT_POSIX |
| 203 |
|
| 204 |
/* Define to 1 when the gnulib module isnan should be tested. */ |
| 205 |
#undef GNULIB_TEST_ISNAN |
| 206 |
|
| 207 |
/* Define to 1 when the gnulib module isnand should be tested. */ |
| 208 |
#undef GNULIB_TEST_ISNAND |
| 209 |
|
| 210 |
/* Define to 1 when the gnulib module isnanf should be tested. */ |
| 211 |
#undef GNULIB_TEST_ISNANF |
| 212 |
|
| 213 |
/* Define to 1 when the gnulib module isnanl should be tested. */ |
| 214 |
#undef GNULIB_TEST_ISNANL |
| 215 |
|
| 216 |
/* Define to 1 when the gnulib module lseek should be tested. */ |
| 217 |
#undef GNULIB_TEST_LSEEK |
| 218 |
|
| 219 |
/* Define to 1 when the gnulib module malloc-gnu should be tested. */ |
| 220 |
#undef GNULIB_TEST_MALLOC_GNU |
| 221 |
|
| 222 |
/* Define to 1 when the gnulib module malloc-posix should be tested. */ |
| 223 |
#undef GNULIB_TEST_MALLOC_POSIX |
| 224 |
|
| 225 |
/* Define to 1 when the gnulib module mbrtowc should be tested. */ |
| 226 |
#undef GNULIB_TEST_MBRTOWC |
| 227 |
|
| 228 |
/* Define to 1 when the gnulib module mbsinit should be tested. */ |
| 229 |
#undef GNULIB_TEST_MBSINIT |
| 230 |
|
| 231 |
/* Define to 1 when the gnulib module memchr should be tested. */ |
| 232 |
#undef GNULIB_TEST_MEMCHR |
| 233 |
|
| 234 |
/* Define to 1 when the gnulib module mktime should be tested. */ |
| 235 |
#undef GNULIB_TEST_MKTIME |
| 236 |
|
| 237 |
/* Define to 1 when the gnulib module open should be tested. */ |
| 238 |
#undef GNULIB_TEST_OPEN |
| 239 |
|
| 240 |
/* Define to 1 when the gnulib module printf should be tested. */ |
| 241 |
#undef GNULIB_TEST_PRINTF |
| 242 |
|
| 243 |
/* Define to 1 when the gnulib module putc should be tested. */ |
| 244 |
#undef GNULIB_TEST_PUTC |
| 245 |
|
| 246 |
/* Define to 1 when the gnulib module putchar should be tested. */ |
| 247 |
#undef GNULIB_TEST_PUTCHAR |
| 248 |
|
| 249 |
/* Define to 1 when the gnulib module puts should be tested. */ |
| 250 |
#undef GNULIB_TEST_PUTS |
| 251 |
|
| 252 |
/* Define to 1 when the gnulib module reallocarray should be tested. */ |
| 253 |
#undef GNULIB_TEST_REALLOCARRAY |
| 254 |
|
| 255 |
/* Define to 1 when the gnulib module realloc-gnu should be tested. */ |
| 256 |
#undef GNULIB_TEST_REALLOC_GNU |
| 257 |
|
| 258 |
/* Define to 1 when the gnulib module realloc-posix should be tested. */ |
| 259 |
#undef GNULIB_TEST_REALLOC_POSIX |
| 260 |
|
| 261 |
/* Define to 1 when the gnulib module scanf should be tested. */ |
| 262 |
#undef GNULIB_TEST_SCANF |
| 263 |
|
| 264 |
/* Define to 1 when the gnulib module setenv should be tested. */ |
| 265 |
#undef GNULIB_TEST_SETENV |
| 266 |
|
| 267 |
/* Define to 1 when the gnulib module setlocale_null should be tested. */ |
| 268 |
#undef GNULIB_TEST_SETLOCALE_NULL |
| 269 |
|
| 270 |
/* Define to 1 when the gnulib module stat should be tested. */ |
| 271 |
#undef GNULIB_TEST_STAT |
| 272 |
|
| 273 |
/* Define to 1 when the gnulib module stpncpy should be tested. */ |
| 274 |
#undef GNULIB_TEST_STPNCPY |
| 275 |
|
| 276 |
/* Define to 1 when the gnulib module strdup should be tested. */ |
| 277 |
#undef GNULIB_TEST_STRDUP |
| 278 |
|
| 279 |
/* Define to 1 when the gnulib module strerror should be tested. */ |
| 280 |
#undef GNULIB_TEST_STRERROR |
| 281 |
|
| 282 |
/* Define to 1 when the gnulib module strstr should be tested. */ |
| 283 |
#undef GNULIB_TEST_STRSTR |
| 284 |
|
| 285 |
/* Define to 1 when the gnulib module strtod should be tested. */ |
| 286 |
#undef GNULIB_TEST_STRTOD |
| 287 |
|
| 288 |
/* Define to 1 when the gnulib module timegm should be tested. */ |
| 289 |
#undef GNULIB_TEST_TIMEGM |
| 290 |
|
| 291 |
/* Define to 1 when the gnulib module time_r should be tested. */ |
| 292 |
#undef GNULIB_TEST_TIME_R |
| 293 |
|
| 294 |
/* Define to 1 when the gnulib module time_rz should be tested. */ |
| 295 |
#undef GNULIB_TEST_TIME_RZ |
| 296 |
|
| 297 |
/* Define to 1 when the gnulib module tzset should be tested. */ |
| 298 |
#undef GNULIB_TEST_TZSET |
| 299 |
|
| 300 |
/* Define to 1 when the gnulib module unsetenv should be tested. */ |
| 301 |
#undef GNULIB_TEST_UNSETENV |
| 302 |
|
| 303 |
/* Define to 1 when the gnulib module vfprintf should be tested. */ |
| 304 |
#undef GNULIB_TEST_VFPRINTF |
| 305 |
|
| 306 |
/* Define to 1 when the gnulib module vprintf should be tested. */ |
| 307 |
#undef GNULIB_TEST_VPRINTF |
| 308 |
|
| 309 |
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending |
| 310 |
whether the gnulib module xalloc shall be considered present. */ |
| 311 |
#undef GNULIB_XALLOC |
| 312 |
|
| 313 |
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending |
| 314 |
whether the gnulib module xalloc-die shall be considered present. */ |
| 315 |
#undef GNULIB_XALLOC_DIE |
| 316 |
|
| 317 |
/* Define to 1 if you have 'alloca' after including <alloca.h>, a header that |
| 318 |
may be supplied by this distribution. */ |
| 319 |
#undef HAVE_ALLOCA |
| 320 |
|
| 321 |
/* Define to 1 if <alloca.h> works. */ |
| 322 |
#undef HAVE_ALLOCA_H |
| 323 |
|
| 324 |
/* Define to 1 if you have the <arpa/inet.h> header file. */ |
| 325 |
#undef HAVE_ARPA_INET_H |
| 326 |
|
| 327 |
/* Define to 1 if you have the <bp-sym.h> header file. */ |
| 328 |
#undef HAVE_BP_SYM_H |
| 329 |
|
| 330 |
/* The compiler supports __builtin_expect */ |
| 331 |
#undef HAVE_BUILTIN_EXPECT |
| 332 |
|
| 333 |
/* Define to 1 if you have the <crtdefs.h> header file. */ |
| 334 |
#undef HAVE_CRTDEFS_H |
| 335 |
|
| 336 |
/* Define to 1 if C supports variable-length arrays. */ |
| 337 |
#undef HAVE_C_VARARRAYS |
| 338 |
|
| 339 |
/* Define to 1 if you have the declaration of `alarm', and to 0 if you don't. |
| 340 |
*/ |
| 341 |
#undef HAVE_DECL_ALARM |
| 342 |
|
| 343 |
/* Define to 1 if you have the declaration of `ecvt', and to 0 if you don't. |
| 344 |
*/ |
| 345 |
#undef HAVE_DECL_ECVT |
| 346 |
|
| 347 |
/* Define to 1 if you have the declaration of `execvpe', and to 0 if you |
| 348 |
don't. */ |
| 349 |
#undef HAVE_DECL_EXECVPE |
| 350 |
|
| 351 |
/* Define to 1 if you have the declaration of `fcloseall', and to 0 if you |
| 352 |
don't. */ |
| 353 |
#undef HAVE_DECL_FCLOSEALL |
| 354 |
|
| 355 |
/* Define to 1 if you have the declaration of `fcvt', and to 0 if you don't. |
| 356 |
*/ |
| 357 |
#undef HAVE_DECL_FCVT |
| 358 |
|
| 359 |
/* Define to 1 if you have the declaration of `fpurge', and to 0 if you don't. |
| 360 |
*/ |
| 361 |
#undef HAVE_DECL_FPURGE |
| 362 |
|
| 363 |
/* Define to 1 if you have the declaration of `fseeko', and to 0 if you don't. |
| 364 |
*/ |
| 365 |
#undef HAVE_DECL_FSEEKO |
| 366 |
|
| 367 |
/* Define to 1 if you have the declaration of `ftello', and to 0 if you don't. |
| 368 |
*/ |
| 369 |
#undef HAVE_DECL_FTELLO |
| 370 |
|
| 371 |
/* Define to 1 if you have the declaration of `gcvt', and to 0 if you don't. |
| 372 |
*/ |
| 373 |
#undef HAVE_DECL_GCVT |
| 374 |
|
| 375 |
/* Define to 1 if you have the declaration of `getdtablesize', and to 0 if you |
| 376 |
don't. */ |
| 377 |
#undef HAVE_DECL_GETDTABLESIZE |
| 378 |
|
| 379 |
/* Define to 1 if you have the declaration of `inet_pton', and to 0 if you |
| 380 |
don't. */ |
| 381 |
#undef HAVE_DECL_INET_PTON |
| 382 |
|
| 383 |
/* Define to 1 if you have the declaration of `localtime_r', and to 0 if you |
| 384 |
don't. */ |
| 385 |
#undef HAVE_DECL_LOCALTIME_R |
| 386 |
|
| 387 |
/* Define to 1 if you have the declaration of `mbrtowc', and to 0 if you |
| 388 |
don't. */ |
| 389 |
#undef HAVE_DECL_MBRTOWC |
| 390 |
|
| 391 |
/* Define to 1 if you have the declaration of `mbsinit', and to 0 if you |
| 392 |
don't. */ |
| 393 |
#undef HAVE_DECL_MBSINIT |
| 394 |
|
| 395 |
/* Define to 1 if you have the declaration of `program_invocation_name', and |
| 396 |
to 0 if you don't. */ |
| 397 |
#undef HAVE_DECL_PROGRAM_INVOCATION_NAME |
| 398 |
|
| 399 |
/* Define to 1 if you have the declaration of `program_invocation_short_name', |
| 400 |
and to 0 if you don't. */ |
| 401 |
#undef HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME |
| 402 |
|
| 403 |
/* Define to 1 if you have the declaration of `setenv', and to 0 if you don't. |
| 404 |
*/ |
| 405 |
#undef HAVE_DECL_SETENV |
| 406 |
|
| 407 |
/* Define to 1 if you have the declaration of `stpncpy', and to 0 if you |
| 408 |
don't. */ |
| 409 |
#undef HAVE_DECL_STPNCPY |
| 410 |
|
| 411 |
/* Define to 1 if you have the declaration of `strdup', and to 0 if you don't. |
| 412 |
*/ |
| 413 |
#undef HAVE_DECL_STRDUP |
| 414 |
|
| 415 |
/* Define to 1 if you have the declaration of `strerror_r', and to 0 if you |
| 416 |
don't. */ |
| 417 |
#undef HAVE_DECL_STRERROR_R |
| 418 |
|
| 419 |
/* Define to 1 if you have the declaration of `towlower', and to 0 if you |
| 420 |
don't. */ |
| 421 |
#undef HAVE_DECL_TOWLOWER |
| 422 |
|
| 423 |
/* Define to 1 if you have the declaration of `tzname', and to 0 if you don't. |
| 424 |
*/ |
| 425 |
#undef HAVE_DECL_TZNAME |
| 426 |
|
| 427 |
/* Define to 1 if you have the declaration of `unsetenv', and to 0 if you |
| 428 |
don't. */ |
| 429 |
#undef HAVE_DECL_UNSETENV |
| 430 |
|
| 431 |
/* Define to 1 if you have the declaration of `wcsdup', and to 0 if you don't. |
| 432 |
*/ |
| 433 |
#undef HAVE_DECL_WCSDUP |
| 434 |
|
| 435 |
/* Define to 1 if you have the declaration of `_fseeki64', and to 0 if you |
| 436 |
don't. */ |
| 437 |
#undef HAVE_DECL__FSEEKI64 |
| 438 |
|
| 439 |
/* Define to 1 if you have the declaration of `__argv', and to 0 if you don't. |
| 440 |
*/ |
| 441 |
#undef HAVE_DECL___ARGV |
| 442 |
|
| 443 |
/* Define to 1 if you have the declaration of `__fpending', and to 0 if you |
| 444 |
don't. */ |
| 445 |
#undef HAVE_DECL___FPENDING |
| 446 |
|
| 447 |
/* Define to 1 if you have the <dlfcn.h> header file. */ |
| 448 |
#undef HAVE_DLFCN_H |
| 449 |
|
| 450 |
/* Define if you have the declaration of environ. */ |
| 451 |
#undef HAVE_ENVIRON_DECL |
| 452 |
|
| 453 |
/* Define to 1 if you have the `fcntl' function. */ |
| 454 |
#undef HAVE_FCNTL |
| 455 |
|
| 456 |
/* Define to 1 if you have the <fcntl.h> header file. */ |
| 457 |
#undef HAVE_FCNTL_H |
| 458 |
|
| 459 |
/* Define to 1 if you have the <features.h> header file. */ |
| 460 |
#undef HAVE_FEATURES_H |
| 461 |
|
| 462 |
/* Define to 1 if you have the `fpclassify' function. */ |
| 463 |
#undef HAVE_FPCLASSIFY |
| 464 |
|
| 465 |
/* Define to 1 if you have the `fpurge' function. */ |
| 466 |
#undef HAVE_FPURGE |
| 467 |
|
| 468 |
/* Define if the 'free' function is guaranteed to preserve errno. */ |
| 469 |
#undef HAVE_FREE_POSIX |
| 470 |
|
| 471 |
/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ |
| 472 |
#undef HAVE_FSEEKO |
| 473 |
|
| 474 |
/* Define to 1 if you have the `getdtablesize' function. */ |
| 475 |
#undef HAVE_GETDTABLESIZE |
| 476 |
|
| 477 |
/* Define to 1 if you have the `getexecname' function. */ |
| 478 |
#undef HAVE_GETEXECNAME |
| 479 |
|
| 480 |
/* Define to 1 if you have the <getopt.h> header file. */ |
| 481 |
#undef HAVE_GETOPT_H |
| 482 |
|
| 483 |
/* Define to 1 if you have the `getopt_long_only' function. */ |
| 484 |
#undef HAVE_GETOPT_LONG_ONLY |
| 485 |
|
| 486 |
/* Define to 1 if you have the `getprogname' function. */ |
| 487 |
#undef HAVE_GETPROGNAME |
| 488 |
|
| 489 |
/* Define to 1 if you have the `inet_pton' function. */ |
| 490 |
#undef HAVE_INET_PTON |
| 491 |
|
| 492 |
/* Define to 1 if you have the <inttypes.h> header file. */ |
| 493 |
#undef HAVE_INTTYPES_H |
| 494 |
|
| 495 |
/* Define to 1 if <sys/socket.h> defines AF_INET. */ |
| 496 |
#undef HAVE_IPV4 |
| 497 |
|
| 498 |
/* Define to 1 if <sys/socket.h> defines AF_INET6. */ |
| 499 |
#undef HAVE_IPV6 |
| 500 |
|
| 501 |
/* Define to 1 if you have the `iswcntrl' function. */ |
| 502 |
#undef HAVE_ISWCNTRL |
| 503 |
|
| 504 |
/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */ |
| 505 |
#undef HAVE_LANGINFO_CODESET |
| 506 |
|
| 507 |
/* Define if the ldexp function is available in libc. */ |
| 508 |
#undef HAVE_LDEXP_IN_LIBC |
| 509 |
|
| 510 |
/* Define to 1 if you have the <libintl.h> header file. */ |
| 511 |
#undef HAVE_LIBINTL_H |
| 512 |
|
| 513 |
/* Define to 1 if you have the <limits.h> header file. */ |
| 514 |
#undef HAVE_LIMITS_H |
| 515 |
|
| 516 |
/* Define if localtime-like functions can loop forever on extreme arguments. |
| 517 |
*/ |
| 518 |
#undef HAVE_LOCALTIME_INFLOOP_BUG |
| 519 |
|
| 520 |
/* Define to 1 if you have the `localtime_r' function. */ |
| 521 |
#undef HAVE_LOCALTIME_R |
| 522 |
|
| 523 |
/* Define to 1 if the system has the type 'long long int'. */ |
| 524 |
#undef HAVE_LONG_LONG_INT |
| 525 |
|
| 526 |
/* Define to 1 if you have the `lstat' function. */ |
| 527 |
#undef HAVE_LSTAT |
| 528 |
|
| 529 |
/* Define if malloc, realloc, and calloc set errno on allocation failure. */ |
| 530 |
#undef HAVE_MALLOC_POSIX |
| 531 |
|
| 532 |
/* Define to 1 if mmap()'s MAP_ANONYMOUS flag is available after including |
| 533 |
config.h and <sys/mman.h>. */ |
| 534 |
#undef HAVE_MAP_ANONYMOUS |
| 535 |
|
| 536 |
/* Define to 1 if you have the <math.h> header file. */ |
| 537 |
#undef HAVE_MATH_H |
| 538 |
|
| 539 |
/* Define to 1 if you have the `mbrtowc' function. */ |
| 540 |
#undef HAVE_MBRTOWC |
| 541 |
|
| 542 |
/* Define to 1 if you have the `mbsinit' function. */ |
| 543 |
#undef HAVE_MBSINIT |
| 544 |
|
| 545 |
/* Define to 1 if <wchar.h> declares mbstate_t. */ |
| 546 |
#undef HAVE_MBSTATE_T |
| 547 |
|
| 548 |
/* Define to 1 if you have the <minix/config.h> header file. */ |
| 549 |
#undef HAVE_MINIX_CONFIG_H |
| 550 |
|
| 551 |
/* Define to 1 if <limits.h> defines the MIN and MAX macros. */ |
| 552 |
#undef HAVE_MINMAX_IN_LIMITS_H |
| 553 |
|
| 554 |
/* Define to 1 if <sys/param.h> defines the MIN and MAX macros. */ |
| 555 |
#undef HAVE_MINMAX_IN_SYS_PARAM_H |
| 556 |
|
| 557 |
/* Define to 1 if you have the `mprotect' function. */ |
| 558 |
#undef HAVE_MPROTECT |
| 559 |
|
| 560 |
/* Define to 1 on MSVC platforms that have the "invalid parameter handler" |
| 561 |
concept. */ |
| 562 |
#undef HAVE_MSVC_INVALID_PARAMETER_HANDLER |
| 563 |
|
| 564 |
/* Define to 1 if you have the <netdb.h> header file. */ |
| 565 |
#undef HAVE_NETDB_H |
| 566 |
|
| 567 |
/* Define to 1 if you have the <netinet/in.h> header file. */ |
| 568 |
#undef HAVE_NETINET_IN_H |
| 569 |
|
| 570 |
/* Define to 1 if you have the `nl_langinfo' function. */ |
| 571 |
#undef HAVE_NL_LANGINFO |
| 572 |
|
| 573 |
/* Define to 1 if you have the `open_memstream' function. */ |
| 574 |
#undef HAVE_OPEN_MEMSTREAM |
| 575 |
|
| 576 |
/* Define to 1 if you have the `posix_fadvise' function. */ |
| 577 |
#undef HAVE_POSIX_FADVISE |
| 578 |
|
| 579 |
/* Define if you have the <pthread.h> header and the POSIX threads API. */ |
| 580 |
#undef HAVE_PTHREAD_API |
| 581 |
|
| 582 |
/* Define to 1 if you have the `reallocarray' function. */ |
| 583 |
#undef HAVE_REALLOCARRAY |
| 584 |
|
| 585 |
/* Define to 1 if 'long double' and 'double' have the same representation. */ |
| 586 |
#undef HAVE_SAME_LONG_DOUBLE_AS_DOUBLE |
| 587 |
|
| 588 |
/* Define to 1 if the system has the type `sa_family_t'. */ |
| 589 |
#undef HAVE_SA_FAMILY_T |
| 590 |
|
| 591 |
/* Define to 1 if you have the <sdkddkver.h> header file. */ |
| 592 |
#undef HAVE_SDKDDKVER_H |
| 593 |
|
| 594 |
/* Define to 1 if you have the <search.h> header file. */ |
| 595 |
#undef HAVE_SEARCH_H |
| 596 |
|
| 597 |
/* Define to 1 if you have the `setdtablesize' function. */ |
| 598 |
#undef HAVE_SETDTABLESIZE |
| 599 |
|
| 600 |
/* Define to 1 if you have the `setenv' function. */ |
| 601 |
#undef HAVE_SETENV |
| 602 |
|
| 603 |
/* Define to 1 if you have the `shutdown' function. */ |
| 604 |
#undef HAVE_SHUTDOWN |
| 605 |
|
| 606 |
/* Define to 1 if 'sig_atomic_t' is a signed integer type. */ |
| 607 |
#undef HAVE_SIGNED_SIG_ATOMIC_T |
| 608 |
|
| 609 |
/* Define to 1 if 'wchar_t' is a signed integer type. */ |
| 610 |
#undef HAVE_SIGNED_WCHAR_T |
| 611 |
|
| 612 |
/* Define to 1 if 'wint_t' is a signed integer type. */ |
| 613 |
#undef HAVE_SIGNED_WINT_T |
| 614 |
|
| 615 |
/* Define to 1 if stdbool.h conforms to C99. */ |
| 616 |
#undef HAVE_STDBOOL_H |
| 617 |
|
| 618 |
/* Define to 1 if you have the <stdint.h> header file. */ |
| 619 |
#undef HAVE_STDINT_H |
| 620 |
|
| 621 |
/* Define to 1 if you have the <stdio_ext.h> header file. */ |
| 622 |
#undef HAVE_STDIO_EXT_H |
| 623 |
|
| 624 |
/* Define to 1 if you have the <stdio.h> header file. */ |
| 625 |
#undef HAVE_STDIO_H |
| 626 |
|
| 627 |
/* Define to 1 if you have the <stdlib.h> header file. */ |
| 628 |
#undef HAVE_STDLIB_H |
| 629 |
|
| 630 |
/* Define if you have the stpncpy() function and it works. */ |
| 631 |
#undef HAVE_STPNCPY |
| 632 |
|
| 633 |
/* Define if you have `strerror_r'. */ |
| 634 |
#undef HAVE_STRERROR_R |
| 635 |
|
| 636 |
/* Define to 1 if you have the <strings.h> header file. */ |
| 637 |
#undef HAVE_STRINGS_H |
| 638 |
|
| 639 |
/* Define to 1 if you have the <string.h> header file. */ |
| 640 |
#undef HAVE_STRING_H |
| 641 |
|
| 642 |
/* Define to 1 if the system has the type `struct sockaddr_storage'. */ |
| 643 |
#undef HAVE_STRUCT_SOCKADDR_STORAGE |
| 644 |
|
| 645 |
/* Define to 1 if `ss_family' is a member of `struct sockaddr_storage'. */ |
| 646 |
#undef HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY |
| 647 |
|
| 648 |
/* Define to 1 if `st_atimensec' is a member of `struct stat'. */ |
| 649 |
#undef HAVE_STRUCT_STAT_ST_ATIMENSEC |
| 650 |
|
| 651 |
/* Define to 1 if `st_atimespec.tv_nsec' is a member of `struct stat'. */ |
| 652 |
#undef HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC |
| 653 |
|
| 654 |
/* Define to 1 if `st_atim.st__tim.tv_nsec' is a member of `struct stat'. */ |
| 655 |
#undef HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC |
| 656 |
|
| 657 |
/* Define to 1 if `st_atim.tv_nsec' is a member of `struct stat'. */ |
| 658 |
#undef HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC |
| 659 |
|
| 660 |
/* Define to 1 if `st_birthtimensec' is a member of `struct stat'. */ |
| 661 |
#undef HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC |
| 662 |
|
| 663 |
/* Define to 1 if `st_birthtimespec.tv_nsec' is a member of `struct stat'. */ |
| 664 |
#undef HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC |
| 665 |
|
| 666 |
/* Define to 1 if `st_birthtim.tv_nsec' is a member of `struct stat'. */ |
| 667 |
#undef HAVE_STRUCT_STAT_ST_BIRTHTIM_TV_NSEC |
| 668 |
|
| 669 |
/* Define to 1 if `tm_zone' is a member of `struct tm'. */ |
| 670 |
#undef HAVE_STRUCT_TM_TM_ZONE |
| 671 |
|
| 672 |
/* Define to 1 if you have the `symlink' function. */ |
| 673 |
#undef HAVE_SYMLINK |
| 674 |
|
| 675 |
/* Define to 1 if you have the <sys/bitypes.h> header file. */ |
| 676 |
#undef HAVE_SYS_BITYPES_H |
| 677 |
|
| 678 |
/* Define to 1 if you have the <sys/cdefs.h> header file. */ |
| 679 |
#undef HAVE_SYS_CDEFS_H |
| 680 |
|
| 681 |
/* Define to 1 if you have the <sys/inttypes.h> header file. */ |
| 682 |
#undef HAVE_SYS_INTTYPES_H |
| 683 |
|
| 684 |
/* Define to 1 if you have the <sys/mman.h> header file. */ |
| 685 |
#undef HAVE_SYS_MMAN_H |
| 686 |
|
| 687 |
/* Define to 1 if you have the <sys/param.h> header file. */ |
| 688 |
#undef HAVE_SYS_PARAM_H |
| 689 |
|
| 690 |
/* Define to 1 if you have the <sys/socket.h> header file. */ |
| 691 |
#undef HAVE_SYS_SOCKET_H |
| 692 |
|
| 693 |
/* Define to 1 if you have the <sys/stat.h> header file. */ |
| 694 |
#undef HAVE_SYS_STAT_H |
| 695 |
|
| 696 |
/* Define to 1 if you have the <sys/time.h> header file. */ |
| 697 |
#undef HAVE_SYS_TIME_H |
| 698 |
|
| 699 |
/* Define to 1 if you have the <sys/types.h> header file. */ |
| 700 |
#undef HAVE_SYS_TYPES_H |
| 701 |
|
| 702 |
/* Define to 1 if you have the <sys/uio.h> header file. */ |
| 703 |
#undef HAVE_SYS_UIO_H |
| 704 |
|
| 705 |
/* Define to 1 if you have the <threads.h> header file. */ |
| 706 |
#undef HAVE_THREADS_H |
| 707 |
|
| 708 |
/* Define to 1 if you have the `timegm' function. */ |
| 709 |
#undef HAVE_TIMEGM |
| 710 |
|
| 711 |
/* Define to 1 if the system has the type `timezone_t'. */ |
| 712 |
#undef HAVE_TIMEZONE_T |
| 713 |
|
| 714 |
/* Define if struct tm has the tm_gmtoff member. */ |
| 715 |
#undef HAVE_TM_GMTOFF |
| 716 |
|
| 717 |
/* Define to 1 if your `struct tm' has `tm_zone'. Deprecated, use |
| 718 |
`HAVE_STRUCT_TM_TM_ZONE' instead. */ |
| 719 |
#undef HAVE_TM_ZONE |
| 720 |
|
| 721 |
/* Define to 1 if you have the `towlower' function. */ |
| 722 |
#undef HAVE_TOWLOWER |
| 723 |
|
| 724 |
/* Define to 1 if you have the `tsearch' function. */ |
| 725 |
#undef HAVE_TSEARCH |
| 726 |
|
| 727 |
/* Define to 1 if you don't have `tm_zone' but do have the external array |
| 728 |
`tzname'. */ |
| 729 |
#undef HAVE_TZNAME |
| 730 |
|
| 731 |
/* Define to 1 if you have the <unistd.h> header file. */ |
| 732 |
#undef HAVE_UNISTD_H |
| 733 |
|
| 734 |
/* Define to 1 if you have the `unsetenv' function. */ |
| 735 |
#undef HAVE_UNSETENV |
| 736 |
|
| 737 |
/* Define to 1 if the system has the type 'unsigned long long int'. */ |
| 738 |
#undef HAVE_UNSIGNED_LONG_LONG_INT |
| 739 |
|
| 740 |
/* Define if you have a global __progname variable */ |
| 741 |
#undef HAVE_VAR___PROGNAME |
| 742 |
|
| 743 |
/* Define to 1 or 0, depending whether the compiler supports simple visibility |
| 744 |
declarations. */ |
| 745 |
#undef HAVE_VISIBILITY |
| 746 |
|
| 747 |
/* Define to 1 if you have the <wchar.h> header file. */ |
| 748 |
#undef HAVE_WCHAR_H |
| 749 |
|
| 750 |
/* Define if you have the 'wchar_t' type. */ |
| 751 |
#undef HAVE_WCHAR_T |
| 752 |
|
| 753 |
/* Define to 1 if you have the <wctype.h> header file. */ |
| 754 |
#undef HAVE_WCTYPE_H |
| 755 |
|
| 756 |
/* Define to 1 if the compiler and linker support weak declarations of |
| 757 |
symbols. */ |
| 758 |
#undef HAVE_WEAK_SYMBOLS |
| 759 |
|
| 760 |
/* Define to 1 if you have the <winsock2.h> header file. */ |
| 761 |
#undef HAVE_WINSOCK2_H |
| 762 |
|
| 763 |
/* Define if you have the 'wint_t' type. */ |
| 764 |
#undef HAVE_WINT_T |
| 765 |
|
| 766 |
/* Define to 1 if O_NOATIME works. */ |
| 767 |
#undef HAVE_WORKING_O_NOATIME |
| 768 |
|
| 769 |
/* Define to 1 if O_NOFOLLOW works. */ |
| 770 |
#undef HAVE_WORKING_O_NOFOLLOW |
| 771 |
|
| 772 |
/* Define to 1 if you have the <ws2tcpip.h> header file. */ |
| 773 |
#undef HAVE_WS2TCPIP_H |
| 774 |
|
| 775 |
/* Define to 1 if you have the <xlocale.h> header file. */ |
| 776 |
#undef HAVE_XLOCALE_H |
| 777 |
|
| 778 |
/* Define to 1 if the system has the type `_Bool'. */ |
| 779 |
#undef HAVE__BOOL |
| 780 |
|
| 781 |
/* Define to 1 if you have the `_fseeki64' function. */ |
| 782 |
#undef HAVE__FSEEKI64 |
| 783 |
|
| 784 |
/* Define to 1 if you have the `_ftelli64' function. */ |
| 785 |
#undef HAVE__FTELLI64 |
| 786 |
|
| 787 |
/* Define to 1 if you have the `_set_invalid_parameter_handler' function. */ |
| 788 |
#undef HAVE__SET_INVALID_PARAMETER_HANDLER |
| 789 |
|
| 790 |
/* Define to 1 if the compiler supports __builtin_expect, |
| 791 |
and to 2 if <builtins.h> does. */ |
| 792 |
#undef HAVE___BUILTIN_EXPECT |
| 793 |
#ifndef HAVE___BUILTIN_EXPECT |
| 794 |
# define __builtin_expect(e, c) (e) |
| 795 |
#elif HAVE___BUILTIN_EXPECT == 2 |
| 796 |
# include <builtins.h> |
| 797 |
#endif |
| 798 |
|
| 799 |
|
| 800 |
/* Define to 1 if you have the `__fpending' function. */ |
| 801 |
#undef HAVE___FPENDING |
| 802 |
|
| 803 |
/* Define to 1 if you have the `__fpurge' function. */ |
| 804 |
#undef HAVE___FPURGE |
| 805 |
|
| 806 |
/* Define to 1 if you have the `__freading' function. */ |
| 807 |
#undef HAVE___FREADING |
| 808 |
|
| 809 |
/* Define to 1 if ctype.h defines __header_inline. */ |
| 810 |
#undef HAVE___HEADER_INLINE |
| 811 |
|
| 812 |
/* Please see the Gnulib manual for how to use these macros. |
| 813 |
|
| 814 |
Suppress extern inline with HP-UX cc, as it appears to be broken; see |
| 815 |
<https://lists.gnu.org/r/bug-texinfo/2013-02/msg00030.html>. |
| 816 |
|
| 817 |
Suppress extern inline with Sun C in standards-conformance mode, as it |
| 818 |
mishandles inline functions that call each other. E.g., for 'inline void f |
| 819 |
(void) { } inline void g (void) { f (); }', c99 incorrectly complains |
| 820 |
'reference to static identifier "f" in extern inline function'. |
| 821 |
This bug was observed with Oracle Developer Studio 12.6 |
| 822 |
(Sun C 5.15 SunOS_sparc 2017/05/30). |
| 823 |
|
| 824 |
Suppress extern inline (with or without __attribute__ ((__gnu_inline__))) |
| 825 |
on configurations that mistakenly use 'static inline' to implement |
| 826 |
functions or macros in standard C headers like <ctype.h>. For example, |
| 827 |
if isdigit is mistakenly implemented via a static inline function, |
| 828 |
a program containing an extern inline function that calls isdigit |
| 829 |
may not work since the C standard prohibits extern inline functions |
| 830 |
from calling static functions (ISO C 99 section 6.7.4.(3). |
| 831 |
This bug is known to occur on: |
| 832 |
|
| 833 |
OS X 10.8 and earlier; see: |
| 834 |
https://lists.gnu.org/r/bug-gnulib/2012-12/msg00023.html |
| 835 |
|
| 836 |
DragonFly; see |
| 837 |
http://muscles.dragonflybsd.org/bulk/clang-master-potential/20141111_102002/logs/ah-tty-0.3.12.log |
| 838 |
|
| 839 |
FreeBSD; see: |
| 840 |
https://lists.gnu.org/r/bug-gnulib/2014-07/msg00104.html |
| 841 |
|
| 842 |
OS X 10.9 has a macro __header_inline indicating the bug is fixed for C and |
| 843 |
for clang but remains for g++; see <https://trac.macports.org/ticket/41033>. |
| 844 |
Assume DragonFly and FreeBSD will be similar. |
| 845 |
|
| 846 |
GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99 |
| 847 |
inline semantics, unless -fgnu89-inline is used. It defines a macro |
| 848 |
__GNUC_STDC_INLINE__ to indicate this situation or a macro |
| 849 |
__GNUC_GNU_INLINE__ to indicate the opposite situation. |
| 850 |
GCC 4.2 with -std=c99 or -std=gnu99 implements the GNU C inline |
| 851 |
semantics but warns, unless -fgnu89-inline is used: |
| 852 |
warning: C99 inline functions are not supported; using GNU89 |
| 853 |
warning: to disable this warning use -fgnu89-inline or the gnu_inline function attribute |
| 854 |
It defines a macro __GNUC_GNU_INLINE__ to indicate this situation. |
| 855 |
*/ |
| 856 |
#if (((defined __APPLE__ && defined __MACH__) \ |
| 857 |
|| defined __DragonFly__ || defined __FreeBSD__) \ |
| 858 |
&& (defined HAVE___HEADER_INLINE \ |
| 859 |
? (defined __cplusplus && defined __GNUC_STDC_INLINE__ \ |
| 860 |
&& ! defined __clang__) \ |
| 861 |
: ((! defined _DONT_USE_CTYPE_INLINE_ \ |
| 862 |
&& (defined __GNUC__ || defined __cplusplus)) \ |
| 863 |
|| (defined _FORTIFY_SOURCE && 0 < _FORTIFY_SOURCE \ |
| 864 |
&& defined __GNUC__ && ! defined __cplusplus)))) |
| 865 |
# define _GL_EXTERN_INLINE_STDHEADER_BUG |
| 866 |
#endif |
| 867 |
#if ((__GNUC__ \ |
| 868 |
? defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ \ |
| 869 |
: (199901L <= __STDC_VERSION__ \ |
| 870 |
&& !defined __HP_cc \ |
| 871 |
&& !defined __PGI \ |
| 872 |
&& !(defined __SUNPRO_C && __STDC__))) \ |
| 873 |
&& !defined _GL_EXTERN_INLINE_STDHEADER_BUG) |
| 874 |
# define _GL_INLINE inline |
| 875 |
# define _GL_EXTERN_INLINE extern inline |
| 876 |
# define _GL_EXTERN_INLINE_IN_USE |
| 877 |
#elif (2 < __GNUC__ + (7 <= __GNUC_MINOR__) && !defined __STRICT_ANSI__ \ |
| 878 |
&& !defined _GL_EXTERN_INLINE_STDHEADER_BUG) |
| 879 |
# if defined __GNUC_GNU_INLINE__ && __GNUC_GNU_INLINE__ |
| 880 |
/* __gnu_inline__ suppresses a GCC 4.2 diagnostic. */ |
| 881 |
# define _GL_INLINE extern inline __attribute__ ((__gnu_inline__)) |
| 882 |
# else |
| 883 |
# define _GL_INLINE extern inline |
| 884 |
# endif |
| 885 |
# define _GL_EXTERN_INLINE extern |
| 886 |
# define _GL_EXTERN_INLINE_IN_USE |
| 887 |
#else |
| 888 |
# define _GL_INLINE _GL_UNUSED static |
| 889 |
# define _GL_EXTERN_INLINE _GL_UNUSED static |
| 890 |
#endif |
| 891 |
|
| 892 |
/* In GCC 4.6 (inclusive) to 5.1 (exclusive), |
| 893 |
suppress bogus "no previous prototype for 'FOO'" |
| 894 |
and "no previous declaration for 'FOO'" diagnostics, |
| 895 |
when FOO is an inline function in the header; see |
| 896 |
<https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54113> and |
| 897 |
<https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63877>. */ |
| 898 |
#if __GNUC__ == 4 && 6 <= __GNUC_MINOR__ |
| 899 |
# if defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ |
| 900 |
# define _GL_INLINE_HEADER_CONST_PRAGMA |
| 901 |
# else |
| 902 |
# define _GL_INLINE_HEADER_CONST_PRAGMA \ |
| 903 |
_Pragma ("GCC diagnostic ignored \"-Wsuggest-attribute=const\"") |
| 904 |
# endif |
| 905 |
# define _GL_INLINE_HEADER_BEGIN \ |
| 906 |
_Pragma ("GCC diagnostic push") \ |
| 907 |
_Pragma ("GCC diagnostic ignored \"-Wmissing-prototypes\"") \ |
| 908 |
_Pragma ("GCC diagnostic ignored \"-Wmissing-declarations\"") \ |
| 909 |
_GL_INLINE_HEADER_CONST_PRAGMA |
| 910 |
# define _GL_INLINE_HEADER_END \ |
| 911 |
_Pragma ("GCC diagnostic pop") |
| 912 |
#else |
| 913 |
# define _GL_INLINE_HEADER_BEGIN |
| 914 |
# define _GL_INLINE_HEADER_END |
| 915 |
#endif |
| 916 |
|
| 917 |
/* Define to 1 if the compiler supports the keyword '__inline'. */ |
| 918 |
#undef HAVE___INLINE |
| 919 |
|
| 920 |
/* Define as the bit index in the word where to find bit 0 of the exponent of |
| 921 |
'long double'. */ |
| 922 |
#undef LDBL_EXPBIT0_BIT |
| 923 |
|
| 924 |
/* Define as the word index where to find the exponent of 'long double'. */ |
| 925 |
#undef LDBL_EXPBIT0_WORD |
| 926 |
|
| 927 |
/* Define to 1 if lseek does not detect pipes. */ |
| 928 |
#undef LSEEK_PIPE_BROKEN |
| 929 |
|
| 930 |
/* Define to the sub-directory where libtool stores uninstalled libraries. */ |
| 931 |
#undef LT_OBJDIR |
| 932 |
|
| 933 |
/* If malloc(0) is != NULL, define this to 1. Otherwise define this to 0. */ |
| 934 |
#undef MALLOC_0_IS_NONNULL |
| 935 |
|
| 936 |
/* Define to a substitute value for mmap()'s MAP_ANONYMOUS flag. */ |
| 937 |
#undef MAP_ANONYMOUS |
| 938 |
|
| 939 |
/* Define if the mbrtowc function does not return (size_t) -2 for empty input. |
| 940 |
*/ |
| 941 |
#undef MBRTOWC_EMPTY_INPUT_BUG |
| 942 |
|
| 943 |
/* Define if the mbrtowc function may signal encoding errors in the C locale. |
| 944 |
*/ |
| 945 |
#undef MBRTOWC_IN_C_LOCALE_MAYBE_EILSEQ |
| 946 |
|
| 947 |
/* Define if the mbrtowc function has the NULL pwc argument bug. */ |
| 948 |
#undef MBRTOWC_NULL_ARG1_BUG |
| 949 |
|
| 950 |
/* Define if the mbrtowc function has the NULL string argument bug. */ |
| 951 |
#undef MBRTOWC_NULL_ARG2_BUG |
| 952 |
|
| 953 |
/* Define if the mbrtowc function does not return 0 for a NUL character. */ |
| 954 |
#undef MBRTOWC_NUL_RETVAL_BUG |
| 955 |
|
| 956 |
/* Define if the mbrtowc function returns a wrong return value. */ |
| 957 |
#undef MBRTOWC_RETVAL_BUG |
| 958 |
|
| 959 |
/* Define if the mbrtowc function stores a wide character when reporting |
| 960 |
incomplete input. */ |
| 961 |
#undef MBRTOWC_STORES_INCOMPLETE_BUG |
| 962 |
|
| 963 |
/* Use GNU style printf and scanf. */ |
| 964 |
#ifndef __USE_MINGW_ANSI_STDIO |
| 965 |
# undef __USE_MINGW_ANSI_STDIO |
| 966 |
#endif |
| 967 |
|
| 968 |
|
| 969 |
/* Define if the compilation of mktime.c should define 'mktime_internal'. */ |
| 970 |
#undef NEED_MKTIME_INTERNAL |
| 971 |
|
| 972 |
/* Define if the compilation of mktime.c should define 'mktime' with the |
| 973 |
native Windows TZ workaround. */ |
| 974 |
#undef NEED_MKTIME_WINDOWS |
| 975 |
|
| 976 |
/* Define if the compilation of mktime.c should define 'mktime' with the |
| 977 |
algorithmic workarounds. */ |
| 978 |
#undef NEED_MKTIME_WORKING |
| 979 |
|
| 980 |
/* Define to 1 if open() fails to recognize a trailing slash. */ |
| 981 |
#undef OPEN_TRAILING_SLASH_BUG |
| 982 |
|
| 983 |
/* default output format */ |
| 984 |
#undef OUTPUT_FORMAT |
| 985 |
|
| 986 |
/* default output limit */ |
| 987 |
#undef OUTPUT_LIMIT |
| 988 |
|
| 989 |
/* Name of package */ |
| 990 |
#undef PACKAGE |
| 991 |
|
| 992 |
/* Define to the address where bug reports for this package should be sent. */ |
| 993 |
#undef PACKAGE_BUGREPORT |
| 994 |
|
| 995 |
/* Define to the full name of this package. */ |
| 996 |
#undef PACKAGE_NAME |
| 997 |
|
| 998 |
/* Define to the full name and version of this package. */ |
| 999 |
#undef PACKAGE_STRING |
| 1000 |
|
| 1001 |
/* Define to the one symbol short name of this package. */ |
| 1002 |
#undef PACKAGE_TARNAME |
| 1003 |
|
| 1004 |
/* Define to the home page for this package. */ |
| 1005 |
#undef PACKAGE_URL |
| 1006 |
|
| 1007 |
/* Define to the version of this package. */ |
| 1008 |
#undef PACKAGE_VERSION |
| 1009 |
|
| 1010 |
/* Define to the type that is the result of default argument promotions of |
| 1011 |
type mode_t. */ |
| 1012 |
#undef PROMOTED_MODE_T |
| 1013 |
|
| 1014 |
/* Define if the pthread_in_use() detection is hard. */ |
| 1015 |
#undef PTHREAD_IN_USE_DETECTION_HARD |
| 1016 |
|
| 1017 |
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type |
| 1018 |
'ptrdiff_t'. */ |
| 1019 |
#undef PTRDIFF_T_SUFFIX |
| 1020 |
|
| 1021 |
/* Define to 1 if stat needs help when passed a file name with a trailing |
| 1022 |
slash */ |
| 1023 |
#undef REPLACE_FUNC_STAT_FILE |
| 1024 |
|
| 1025 |
/* Define to 1 if strerror(0) does not return a message implying success. */ |
| 1026 |
#undef REPLACE_STRERROR_0 |
| 1027 |
|
| 1028 |
/* Define to 1 if setlocale (LC_ALL, NULL) is multithread-safe. */ |
| 1029 |
#undef SETLOCALE_NULL_ALL_MTSAFE |
| 1030 |
|
| 1031 |
/* Define to 1 if setlocale (category, NULL) is multithread-safe. */ |
| 1032 |
#undef SETLOCALE_NULL_ONE_MTSAFE |
| 1033 |
|
| 1034 |
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type |
| 1035 |
'sig_atomic_t'. */ |
| 1036 |
#undef SIG_ATOMIC_T_SUFFIX |
| 1037 |
|
| 1038 |
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type |
| 1039 |
'size_t'. */ |
| 1040 |
#undef SIZE_T_SUFFIX |
| 1041 |
|
| 1042 |
/* If using the C implementation of alloca, define if you know the |
| 1043 |
direction of stack growth for your system; otherwise it will be |
| 1044 |
automatically deduced at runtime. |
| 1045 |
STACK_DIRECTION > 0 => grows toward higher addresses |
| 1046 |
STACK_DIRECTION < 0 => grows toward lower addresses |
| 1047 |
STACK_DIRECTION = 0 => direction of growth unknown */ |
| 1048 |
#undef STACK_DIRECTION |
| 1049 |
|
| 1050 |
/* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */ |
| 1051 |
#undef STAT_MACROS_BROKEN |
| 1052 |
|
| 1053 |
/* Define to 1 if all of the C90 standard headers exist (not just the ones |
| 1054 |
required in a freestanding environment). This macro is provided for |
| 1055 |
backward compatibility; new code need not use it. */ |
| 1056 |
#undef STDC_HEADERS |
| 1057 |
|
| 1058 |
/* Define to 1 if strerror_r returns char *. */ |
| 1059 |
#undef STRERROR_R_CHAR_P |
| 1060 |
|
| 1061 |
/* Define to 1 if time_t is signed. */ |
| 1062 |
#undef TIME_T_IS_SIGNED |
| 1063 |
|
| 1064 |
/* Define to 1 if your <sys/time.h> declares `struct tm'. */ |
| 1065 |
#undef TM_IN_SYS_TIME |
| 1066 |
|
| 1067 |
/* Define to 1 if the type of the st_atim member of a struct stat is struct |
| 1068 |
timespec. */ |
| 1069 |
#undef TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC |
| 1070 |
|
| 1071 |
/* Enable extensions on AIX 3, Interix. */ |
| 1072 |
#ifndef _ALL_SOURCE |
| 1073 |
# undef _ALL_SOURCE |
| 1074 |
#endif |
| 1075 |
/* Enable general extensions on macOS. */ |
| 1076 |
#ifndef _DARWIN_C_SOURCE |
| 1077 |
# undef _DARWIN_C_SOURCE |
| 1078 |
#endif |
| 1079 |
/* Enable general extensions on Solaris. */ |
| 1080 |
#ifndef __EXTENSIONS__ |
| 1081 |
# undef __EXTENSIONS__ |
| 1082 |
#endif |
| 1083 |
/* Enable GNU extensions on systems that have them. */ |
| 1084 |
#ifndef _GNU_SOURCE |
| 1085 |
# undef _GNU_SOURCE |
| 1086 |
#endif |
| 1087 |
/* Enable X/Open compliant socket functions that do not require linking |
| 1088 |
with -lxnet on HP-UX 11.11. */ |
| 1089 |
#ifndef _HPUX_ALT_XOPEN_SOCKET_API |
| 1090 |
# undef _HPUX_ALT_XOPEN_SOCKET_API |
| 1091 |
#endif |
| 1092 |
/* Identify the host operating system as Minix. |
| 1093 |
This macro does not affect the system headers' behavior. |
| 1094 |
A future release of Autoconf may stop defining this macro. */ |
| 1095 |
#ifndef _MINIX |
| 1096 |
# undef _MINIX |
| 1097 |
#endif |
| 1098 |
/* Enable general extensions on NetBSD. |
| 1099 |
Enable NetBSD compatibility extensions on Minix. */ |
| 1100 |
#ifndef _NETBSD_SOURCE |
| 1101 |
# undef _NETBSD_SOURCE |
| 1102 |
#endif |
| 1103 |
/* Enable OpenBSD compatibility extensions on NetBSD. |
| 1104 |
Oddly enough, this does nothing on OpenBSD. */ |
| 1105 |
#ifndef _OPENBSD_SOURCE |
| 1106 |
# undef _OPENBSD_SOURCE |
| 1107 |
#endif |
| 1108 |
/* Define to 1 if needed for POSIX-compatible behavior. */ |
| 1109 |
#ifndef _POSIX_SOURCE |
| 1110 |
# undef _POSIX_SOURCE |
| 1111 |
#endif |
| 1112 |
/* Define to 2 if needed for POSIX-compatible behavior. */ |
| 1113 |
#ifndef _POSIX_1_SOURCE |
| 1114 |
# undef _POSIX_1_SOURCE |
| 1115 |
#endif |
| 1116 |
/* Enable POSIX-compatible threading on Solaris. */ |
| 1117 |
#ifndef _POSIX_PTHREAD_SEMANTICS |
| 1118 |
# undef _POSIX_PTHREAD_SEMANTICS |
| 1119 |
#endif |
| 1120 |
/* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ |
| 1121 |
#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ |
| 1122 |
# undef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ |
| 1123 |
#endif |
| 1124 |
/* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ |
| 1125 |
#ifndef __STDC_WANT_IEC_60559_BFP_EXT__ |
| 1126 |
# undef __STDC_WANT_IEC_60559_BFP_EXT__ |
| 1127 |
#endif |
| 1128 |
/* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ |
| 1129 |
#ifndef __STDC_WANT_IEC_60559_DFP_EXT__ |
| 1130 |
# undef __STDC_WANT_IEC_60559_DFP_EXT__ |
| 1131 |
#endif |
| 1132 |
/* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ |
| 1133 |
#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ |
| 1134 |
# undef __STDC_WANT_IEC_60559_FUNCS_EXT__ |
| 1135 |
#endif |
| 1136 |
/* Enable extensions specified by ISO/IEC TS 18661-3:2015. */ |
| 1137 |
#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ |
| 1138 |
# undef __STDC_WANT_IEC_60559_TYPES_EXT__ |
| 1139 |
#endif |
| 1140 |
/* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ |
| 1141 |
#ifndef __STDC_WANT_LIB_EXT2__ |
| 1142 |
# undef __STDC_WANT_LIB_EXT2__ |
| 1143 |
#endif |
| 1144 |
/* Enable extensions specified by ISO/IEC 24747:2009. */ |
| 1145 |
#ifndef __STDC_WANT_MATH_SPEC_FUNCS__ |
| 1146 |
# undef __STDC_WANT_MATH_SPEC_FUNCS__ |
| 1147 |
#endif |
| 1148 |
/* Enable extensions on HP NonStop. */ |
| 1149 |
#ifndef _TANDEM_SOURCE |
| 1150 |
# undef _TANDEM_SOURCE |
| 1151 |
#endif |
| 1152 |
/* Enable X/Open extensions. Define to 500 only if necessary |
| 1153 |
to make mbstate_t available. */ |
| 1154 |
#ifndef _XOPEN_SOURCE |
| 1155 |
# undef _XOPEN_SOURCE |
| 1156 |
#endif |
| 1157 |
|
| 1158 |
|
| 1159 |
/* Version number of package */ |
| 1160 |
#undef VERSION |
| 1161 |
|
| 1162 |
/* Define to 1 if unsetenv returns void instead of int. */ |
| 1163 |
#undef VOID_UNSETENV |
| 1164 |
|
| 1165 |
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type |
| 1166 |
'wchar_t'. */ |
| 1167 |
#undef WCHAR_T_SUFFIX |
| 1168 |
|
| 1169 |
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type |
| 1170 |
'wint_t'. */ |
| 1171 |
#undef WINT_T_SUFFIX |
| 1172 |
|
| 1173 |
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most |
| 1174 |
significant byte first (like Motorola and SPARC, unlike Intel). */ |
| 1175 |
#if defined AC_APPLE_UNIVERSAL_BUILD |
| 1176 |
# if defined __BIG_ENDIAN__ |
| 1177 |
# define WORDS_BIGENDIAN 1 |
| 1178 |
# endif |
| 1179 |
#else |
| 1180 |
# ifndef WORDS_BIGENDIAN |
| 1181 |
# undef WORDS_BIGENDIAN |
| 1182 |
# endif |
| 1183 |
#endif |
| 1184 |
|
| 1185 |
/* Number of bits in a file offset, on hosts where this is settable. */ |
| 1186 |
#undef _FILE_OFFSET_BITS |
| 1187 |
|
| 1188 |
/* True if the compiler says it groks GNU C version MAJOR.MINOR. */ |
| 1189 |
#if defined __GNUC__ && defined __GNUC_MINOR__ |
| 1190 |
# define _GL_GNUC_PREREQ(major, minor) \ |
| 1191 |
((major) < __GNUC__ + ((minor) <= __GNUC_MINOR__)) |
| 1192 |
#else |
| 1193 |
# define _GL_GNUC_PREREQ(major, minor) 0 |
| 1194 |
#endif |
| 1195 |
|
| 1196 |
|
| 1197 |
/* Define to enable the declarations of ISO C 11 types and functions. */ |
| 1198 |
#undef _ISOC11_SOURCE |
| 1199 |
|
| 1200 |
/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ |
| 1201 |
#undef _LARGEFILE_SOURCE |
| 1202 |
|
| 1203 |
/* Define for large files, on AIX-style hosts. */ |
| 1204 |
#undef _LARGE_FILES |
| 1205 |
|
| 1206 |
/* Define to 1 on Solaris. */ |
| 1207 |
#undef _LCONV_C99 |
| 1208 |
|
| 1209 |
/* The _Noreturn keyword of C11. */ |
| 1210 |
#ifndef _Noreturn |
| 1211 |
# if (defined __cplusplus \ |
| 1212 |
&& ((201103 <= __cplusplus && !(__GNUC__ == 4 && __GNUC_MINOR__ == 7)) \ |
| 1213 |
|| (defined _MSC_VER && 1900 <= _MSC_VER)) \ |
| 1214 |
&& 0) |
| 1215 |
/* [[noreturn]] is not practically usable, because with it the syntax |
| 1216 |
extern _Noreturn void func (...); |
| 1217 |
would not be valid; such a declaration would only be valid with 'extern' |
| 1218 |
and '_Noreturn' swapped, or without the 'extern' keyword. However, some |
| 1219 |
AIX system header files and several gnulib header files use precisely |
| 1220 |
this syntax with 'extern'. */ |
| 1221 |
# define _Noreturn [[noreturn]] |
| 1222 |
# elif ((!defined __cplusplus || defined __clang__) \ |
| 1223 |
&& (201112 <= (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) \ |
| 1224 |
|| (!defined __STRICT_ANSI__ \ |
| 1225 |
&& (_GL_GNUC_PREREQ (4, 7) \ |
| 1226 |
|| (defined __apple_build_version__ \ |
| 1227 |
? 6000000 <= __apple_build_version__ \ |
| 1228 |
: 3 < __clang_major__ + (5 <= __clang_minor__)))))) |
| 1229 |
/* _Noreturn works as-is. */ |
| 1230 |
# elif _GL_GNUC_PREREQ (2, 8) || defined __clang__ || 0x5110 <= __SUNPRO_C |
| 1231 |
# define _Noreturn __attribute__ ((__noreturn__)) |
| 1232 |
# elif 1200 <= (defined _MSC_VER ? _MSC_VER : 0) |
| 1233 |
# define _Noreturn __declspec (noreturn) |
| 1234 |
# else |
| 1235 |
# define _Noreturn |
| 1236 |
# endif |
| 1237 |
#endif |
| 1238 |
|
| 1239 |
|
| 1240 |
/* Define to 1 in order to get the POSIX compatible declarations of socket |
| 1241 |
functions. */ |
| 1242 |
#undef _POSIX_PII_SOCKET |
| 1243 |
|
| 1244 |
/* Number of bits in a timestamp, on hosts where this is settable. */ |
| 1245 |
#undef _TIME_BITS |
| 1246 |
|
| 1247 |
/* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>, |
| 1248 |
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the |
| 1249 |
#define below would cause a syntax error. */ |
| 1250 |
#undef _UINT32_T |
| 1251 |
|
| 1252 |
/* For standard stat data types on VMS. */ |
| 1253 |
#undef _USE_STD_STAT |
| 1254 |
|
| 1255 |
/* Define to rpl_ if the getopt replacement functions and variables should be |
| 1256 |
used. */ |
| 1257 |
#undef __GETOPT_PREFIX |
| 1258 |
|
| 1259 |
/* For 64-bit time_t on 32-bit mingw. */ |
| 1260 |
#undef __MINGW_USE_VC2005_COMPAT |
| 1261 |
|
| 1262 |
/* Define to 1 if the system <stdint.h> predates C++11. */ |
| 1263 |
#undef __STDC_CONSTANT_MACROS |
| 1264 |
|
| 1265 |
/* Define to 1 if the system <stdint.h> predates C++11. */ |
| 1266 |
#undef __STDC_LIMIT_MACROS |
| 1267 |
|
| 1268 |
/* Define to 1 if C does not support variable-length arrays, and if the |
| 1269 |
compiler does not already define this. */ |
| 1270 |
#undef __STDC_NO_VLA__ |
| 1271 |
|
| 1272 |
/* The _GL_ASYNC_SAFE marker should be attached to functions that are |
| 1273 |
signal handlers (for signals other than SIGABRT, SIGPIPE) or can be |
| 1274 |
invoked from such signal handlers. Such functions have some restrictions: |
| 1275 |
* All functions that it calls should be marked _GL_ASYNC_SAFE as well, |
| 1276 |
or should be listed as async-signal-safe in POSIX |
| 1277 |
<https://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_04> |
| 1278 |
section 2.4.3. Note that malloc(), sprintf(), and fwrite(), in |
| 1279 |
particular, are NOT async-signal-safe. |
| 1280 |
* All memory locations (variables and struct fields) that these functions |
| 1281 |
access must be marked 'volatile'. This holds for both read and write |
| 1282 |
accesses. Otherwise the compiler might optimize away stores to and |
| 1283 |
reads from such locations that occur in the program, depending on its |
| 1284 |
data flow analysis. For example, when the program contains a loop |
| 1285 |
that is intended to inspect a variable set from within a signal handler |
| 1286 |
while (!signal_occurred) |
| 1287 |
; |
| 1288 |
the compiler is allowed to transform this into an endless loop if the |
| 1289 |
variable 'signal_occurred' is not declared 'volatile'. |
| 1290 |
Additionally, recall that: |
| 1291 |
* A signal handler should not modify errno (except if it is a handler |
| 1292 |
for a fatal signal and ends by raising the same signal again, thus |
| 1293 |
provoking the termination of the process). If it invokes a function |
| 1294 |
that may clobber errno, it needs to save and restore the value of |
| 1295 |
errno. */ |
| 1296 |
#define _GL_ASYNC_SAFE |
| 1297 |
|
| 1298 |
|
| 1299 |
/* Attributes. */ |
| 1300 |
#if (defined __has_attribute \ |
| 1301 |
&& (!defined __clang_minor__ \ |
| 1302 |
|| (defined __apple_build_version__ \ |
| 1303 |
? 6000000 <= __apple_build_version__ \ |
| 1304 |
: 3 < __clang_major__ + (5 <= __clang_minor__)))) |
| 1305 |
# define _GL_HAS_ATTRIBUTE(attr) __has_attribute (__##attr##__) |
| 1306 |
#else |
| 1307 |
# define _GL_HAS_ATTRIBUTE(attr) _GL_ATTR_##attr |
| 1308 |
# define _GL_ATTR_alloc_size _GL_GNUC_PREREQ (4, 3) |
| 1309 |
# define _GL_ATTR_always_inline _GL_GNUC_PREREQ (3, 2) |
| 1310 |
# define _GL_ATTR_artificial _GL_GNUC_PREREQ (4, 3) |
| 1311 |
# define _GL_ATTR_cold _GL_GNUC_PREREQ (4, 3) |
| 1312 |
# define _GL_ATTR_const _GL_GNUC_PREREQ (2, 95) |
| 1313 |
# define _GL_ATTR_deprecated _GL_GNUC_PREREQ (3, 1) |
| 1314 |
# define _GL_ATTR_diagnose_if 0 |
| 1315 |
# define _GL_ATTR_error _GL_GNUC_PREREQ (4, 3) |
| 1316 |
# define _GL_ATTR_externally_visible _GL_GNUC_PREREQ (4, 1) |
| 1317 |
# define _GL_ATTR_fallthrough _GL_GNUC_PREREQ (7, 0) |
| 1318 |
# define _GL_ATTR_format _GL_GNUC_PREREQ (2, 7) |
| 1319 |
# define _GL_ATTR_leaf _GL_GNUC_PREREQ (4, 6) |
| 1320 |
# define _GL_ATTR_malloc _GL_GNUC_PREREQ (3, 0) |
| 1321 |
# ifdef _ICC |
| 1322 |
# define _GL_ATTR_may_alias 0 |
| 1323 |
# else |
| 1324 |
# define _GL_ATTR_may_alias _GL_GNUC_PREREQ (3, 3) |
| 1325 |
# endif |
| 1326 |
# define _GL_ATTR_noinline _GL_GNUC_PREREQ (3, 1) |
| 1327 |
# define _GL_ATTR_nonnull _GL_GNUC_PREREQ (3, 3) |
| 1328 |
# define _GL_ATTR_nonstring _GL_GNUC_PREREQ (8, 0) |
| 1329 |
# define _GL_ATTR_nothrow _GL_GNUC_PREREQ (3, 3) |
| 1330 |
# define _GL_ATTR_packed _GL_GNUC_PREREQ (2, 7) |
| 1331 |
# define _GL_ATTR_pure _GL_GNUC_PREREQ (2, 96) |
| 1332 |
# define _GL_ATTR_returns_nonnull _GL_GNUC_PREREQ (4, 9) |
| 1333 |
# define _GL_ATTR_sentinel _GL_GNUC_PREREQ (4, 0) |
| 1334 |
# define _GL_ATTR_unused _GL_GNUC_PREREQ (2, 7) |
| 1335 |
# define _GL_ATTR_warn_unused_result _GL_GNUC_PREREQ (3, 4) |
| 1336 |
#endif |
| 1337 |
|
| 1338 |
#ifdef __has_c_attribute |
| 1339 |
# if ((defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) <= 201710 \ |
| 1340 |
&& _GL_GNUC_PREREQ (4, 6)) |
| 1341 |
# pragma GCC diagnostic ignored "-Wpedantic" |
| 1342 |
# endif |
| 1343 |
# define _GL_HAS_C_ATTRIBUTE(attr) __has_c_attribute (__##attr##__) |
| 1344 |
#else |
| 1345 |
# define _GL_HAS_C_ATTRIBUTE(attr) 0 |
| 1346 |
#endif |
| 1347 |
|
| 1348 |
|
| 1349 |
/* _GL_ATTRIBUTE_ALLOC_SIZE ((N)) declares that the Nth argument of the function |
| 1350 |
is the size of the returned memory block. |
| 1351 |
_GL_ATTRIBUTE_ALLOC_SIZE ((M, N)) declares that the Mth argument multiplied |
| 1352 |
by the Nth argument of the function is the size of the returned memory block. |
| 1353 |
*/ |
| 1354 |
/* Applies to: function, pointer to function, function types. */ |
| 1355 |
#if _GL_HAS_ATTRIBUTE (alloc_size) |
| 1356 |
# define _GL_ATTRIBUTE_ALLOC_SIZE(args) __attribute__ ((__alloc_size__ args)) |
| 1357 |
#else |
| 1358 |
# define _GL_ATTRIBUTE_ALLOC_SIZE(args) |
| 1359 |
#endif |
| 1360 |
|
| 1361 |
/* _GL_ATTRIBUTE_ALWAYS_INLINE tells that the compiler should always inline the |
| 1362 |
function and report an error if it cannot do so. */ |
| 1363 |
/* Applies to: function. */ |
| 1364 |
#if _GL_HAS_ATTRIBUTE (always_inline) |
| 1365 |
# define _GL_ATTRIBUTE_ALWAYS_INLINE __attribute__ ((__always_inline__)) |
| 1366 |
#else |
| 1367 |
# define _GL_ATTRIBUTE_ALWAYS_INLINE |
| 1368 |
#endif |
| 1369 |
|
| 1370 |
/* _GL_ATTRIBUTE_ARTIFICIAL declares that the function is not important to show |
| 1371 |
in stack traces when debugging. The compiler should omit the function from |
| 1372 |
stack traces. */ |
| 1373 |
/* Applies to: function. */ |
| 1374 |
#if _GL_HAS_ATTRIBUTE (artificial) |
| 1375 |
# define _GL_ATTRIBUTE_ARTIFICIAL __attribute__ ((__artificial__)) |
| 1376 |
#else |
| 1377 |
# define _GL_ATTRIBUTE_ARTIFICIAL |
| 1378 |
#endif |
| 1379 |
|
| 1380 |
/* _GL_ATTRIBUTE_COLD declares that the function is rarely executed. */ |
| 1381 |
/* Applies to: functions. */ |
| 1382 |
/* Avoid __attribute__ ((cold)) on MinGW; see thread starting at |
| 1383 |
<https://lists.gnu.org/r/emacs-devel/2019-04/msg01152.html>. |
| 1384 |
Also, Oracle Studio 12.6 requires 'cold' not '__cold__'. */ |
| 1385 |
#if _GL_HAS_ATTRIBUTE (cold) && !defined __MINGW32__ |
| 1386 |
# ifndef __SUNPRO_C |
| 1387 |
# define _GL_ATTRIBUTE_COLD __attribute__ ((__cold__)) |
| 1388 |
# else |
| 1389 |
# define _GL_ATTRIBUTE_COLD __attribute__ ((cold)) |
| 1390 |
# endif |
| 1391 |
#else |
| 1392 |
# define _GL_ATTRIBUTE_COLD |
| 1393 |
#endif |
| 1394 |
|
| 1395 |
/* _GL_ATTRIBUTE_CONST declares that it is OK for a compiler to omit duplicate |
| 1396 |
calls to the function with the same arguments. |
| 1397 |
This attribute is safe for a function that neither depends on nor affects |
| 1398 |
observable state, and always returns exactly once - e.g., does not loop |
| 1399 |
forever, and does not call longjmp. |
| 1400 |
(This attribute is stricter than _GL_ATTRIBUTE_PURE.) */ |
| 1401 |
/* Applies to: functions. */ |
| 1402 |
#if _GL_HAS_ATTRIBUTE (const) |
| 1403 |
# define _GL_ATTRIBUTE_CONST __attribute__ ((__const__)) |
| 1404 |
#else |
| 1405 |
# define _GL_ATTRIBUTE_CONST |
| 1406 |
#endif |
| 1407 |
|
| 1408 |
/* _GL_ATTRIBUTE_DEALLOC (F, I) declares that the function returns pointers |
| 1409 |
that can be freed by passing them as the Ith argument to the |
| 1410 |
function F. |
| 1411 |
_GL_ATTRIBUTE_DEALLOC_FREE declares that the function returns pointers that |
| 1412 |
can be freed via 'free'; it can be used only after declaring 'free'. */ |
| 1413 |
/* Applies to: functions. Cannot be used on inline functions. */ |
| 1414 |
#if _GL_GNUC_PREREQ (11, 0) |
| 1415 |
# define _GL_ATTRIBUTE_DEALLOC(f, i) __attribute__ ((__malloc__ (f, i))) |
| 1416 |
#else |
| 1417 |
# define _GL_ATTRIBUTE_DEALLOC(f, i) |
| 1418 |
#endif |
| 1419 |
/* If gnulib's <string.h> or <wchar.h> has already defined this macro, continue |
| 1420 |
to use this earlier definition, since <stdlib.h> may not have been included |
| 1421 |
yet. */ |
| 1422 |
#ifndef _GL_ATTRIBUTE_DEALLOC_FREE |
| 1423 |
# define _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_DEALLOC (free, 1) |
| 1424 |
#endif |
| 1425 |
|
| 1426 |
/* _GL_ATTRIBUTE_DEPRECATED: Declares that an entity is deprecated. |
| 1427 |
The compiler may warn if the entity is used. */ |
| 1428 |
/* Applies to: |
| 1429 |
- function, variable, |
| 1430 |
- struct, union, struct/union member, |
| 1431 |
- enumeration, enumeration item, |
| 1432 |
- typedef, |
| 1433 |
in C++ also: namespace, class, template specialization. */ |
| 1434 |
#if _GL_HAS_C_ATTRIBUTE (deprecated) |
| 1435 |
# define _GL_ATTRIBUTE_DEPRECATED [[__deprecated__]] |
| 1436 |
#elif _GL_HAS_ATTRIBUTE (deprecated) |
| 1437 |
# define _GL_ATTRIBUTE_DEPRECATED __attribute__ ((__deprecated__)) |
| 1438 |
#else |
| 1439 |
# define _GL_ATTRIBUTE_DEPRECATED |
| 1440 |
#endif |
| 1441 |
|
| 1442 |
/* _GL_ATTRIBUTE_ERROR(msg) requests an error if a function is called and |
| 1443 |
the function call is not optimized away. |
| 1444 |
_GL_ATTRIBUTE_WARNING(msg) requests a warning if a function is called and |
| 1445 |
the function call is not optimized away. */ |
| 1446 |
/* Applies to: functions. */ |
| 1447 |
#if _GL_HAS_ATTRIBUTE (error) |
| 1448 |
# define _GL_ATTRIBUTE_ERROR(msg) __attribute__ ((__error__ (msg))) |
| 1449 |
# define _GL_ATTRIBUTE_WARNING(msg) __attribute__ ((__warning__ (msg))) |
| 1450 |
#elif _GL_HAS_ATTRIBUTE (diagnose_if) |
| 1451 |
# define _GL_ATTRIBUTE_ERROR(msg) __attribute__ ((__diagnose_if__ (1, msg, "error"))) |
| 1452 |
# define _GL_ATTRIBUTE_WARNING(msg) __attribute__ ((__diagnose_if__ (1, msg, "warning"))) |
| 1453 |
#else |
| 1454 |
# define _GL_ATTRIBUTE_ERROR(msg) |
| 1455 |
# define _GL_ATTRIBUTE_WARNING(msg) |
| 1456 |
#endif |
| 1457 |
|
| 1458 |
/* _GL_ATTRIBUTE_EXTERNALLY_VISIBLE declares that the entity should remain |
| 1459 |
visible to debuggers etc., even with '-fwhole-program'. */ |
| 1460 |
/* Applies to: functions, variables. */ |
| 1461 |
#if _GL_HAS_ATTRIBUTE (externally_visible) |
| 1462 |
# define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE __attribute__ ((externally_visible)) |
| 1463 |
#else |
| 1464 |
# define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE |
| 1465 |
#endif |
| 1466 |
|
| 1467 |
/* _GL_ATTRIBUTE_FALLTHROUGH declares that it is not a programming mistake if |
| 1468 |
the control flow falls through to the immediately following 'case' or |
| 1469 |
'default' label. The compiler should not warn in this case. */ |
| 1470 |
/* Applies to: Empty statement (;), inside a 'switch' statement. */ |
| 1471 |
/* Always expands to something. */ |
| 1472 |
#if _GL_HAS_C_ATTRIBUTE (fallthrough) |
| 1473 |
# define _GL_ATTRIBUTE_FALLTHROUGH [[__fallthrough__]] |
| 1474 |
#elif _GL_HAS_ATTRIBUTE (fallthrough) |
| 1475 |
# define _GL_ATTRIBUTE_FALLTHROUGH __attribute__ ((__fallthrough__)) |
| 1476 |
#else |
| 1477 |
# define _GL_ATTRIBUTE_FALLTHROUGH ((void) 0) |
| 1478 |
#endif |
| 1479 |
|
| 1480 |
/* _GL_ATTRIBUTE_FORMAT ((ARCHETYPE, STRING-INDEX, FIRST-TO-CHECK)) |
| 1481 |
declares that the STRING-INDEXth function argument is a format string of |
| 1482 |
style ARCHETYPE, which is one of: |
| 1483 |
printf, gnu_printf |
| 1484 |
scanf, gnu_scanf, |
| 1485 |
strftime, gnu_strftime, |
| 1486 |
strfmon, |
| 1487 |
or the same thing prefixed and suffixed with '__'. |
| 1488 |
If FIRST-TO-CHECK is not 0, arguments starting at FIRST-TO_CHECK |
| 1489 |
are suitable for the format string. */ |
| 1490 |
/* Applies to: functions. */ |
| 1491 |
#if _GL_HAS_ATTRIBUTE (format) |
| 1492 |
# define _GL_ATTRIBUTE_FORMAT(spec) __attribute__ ((__format__ spec)) |
| 1493 |
#else |
| 1494 |
# define _GL_ATTRIBUTE_FORMAT(spec) |
| 1495 |
#endif |
| 1496 |
|
| 1497 |
/* _GL_ATTRIBUTE_LEAF declares that if the function is called from some other |
| 1498 |
compilation unit, it executes code from that unit only by return or by |
| 1499 |
exception handling. This declaration lets the compiler optimize that unit |
| 1500 |
more aggressively. */ |
| 1501 |
/* Applies to: functions. */ |
| 1502 |
#if _GL_HAS_ATTRIBUTE (leaf) |
| 1503 |
# define _GL_ATTRIBUTE_LEAF __attribute__ ((__leaf__)) |
| 1504 |
#else |
| 1505 |
# define _GL_ATTRIBUTE_LEAF |
| 1506 |
#endif |
| 1507 |
|
| 1508 |
/* _GL_ATTRIBUTE_MALLOC declares that the function returns a pointer to freshly |
| 1509 |
allocated memory. */ |
| 1510 |
/* Applies to: functions. */ |
| 1511 |
#if _GL_HAS_ATTRIBUTE (malloc) |
| 1512 |
# define _GL_ATTRIBUTE_MALLOC __attribute__ ((__malloc__)) |
| 1513 |
#else |
| 1514 |
# define _GL_ATTRIBUTE_MALLOC |
| 1515 |
#endif |
| 1516 |
|
| 1517 |
/* _GL_ATTRIBUTE_MAY_ALIAS declares that pointers to the type may point to the |
| 1518 |
same storage as pointers to other types. Thus this declaration disables |
| 1519 |
strict aliasing optimization. */ |
| 1520 |
/* Applies to: types. */ |
| 1521 |
/* Oracle Studio 12.6 mishandles may_alias despite __has_attribute OK. */ |
| 1522 |
#if _GL_HAS_ATTRIBUTE (may_alias) && !defined __SUNPRO_C |
| 1523 |
# define _GL_ATTRIBUTE_MAY_ALIAS __attribute__ ((__may_alias__)) |
| 1524 |
#else |
| 1525 |
# define _GL_ATTRIBUTE_MAY_ALIAS |
| 1526 |
#endif |
| 1527 |
|
| 1528 |
/* _GL_ATTRIBUTE_MAYBE_UNUSED declares that it is not a programming mistake if |
| 1529 |
the entity is not used. The compiler should not warn if the entity is not |
| 1530 |
used. */ |
| 1531 |
/* Applies to: |
| 1532 |
- function, variable, |
| 1533 |
- struct, union, struct/union member, |
| 1534 |
- enumeration, enumeration item, |
| 1535 |
- typedef, |
| 1536 |
in C++ also: class. */ |
| 1537 |
/* In C++ and C2x, this is spelled [[__maybe_unused__]]. |
| 1538 |
GCC's syntax is __attribute__ ((__unused__)). |
| 1539 |
clang supports both syntaxes. */ |
| 1540 |
#if _GL_HAS_C_ATTRIBUTE (maybe_unused) |
| 1541 |
# define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]] |
| 1542 |
#else |
| 1543 |
# define _GL_ATTRIBUTE_MAYBE_UNUSED _GL_ATTRIBUTE_UNUSED |
| 1544 |
#endif |
| 1545 |
/* Alternative spelling of this macro, for convenience. */ |
| 1546 |
#define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED |
| 1547 |
/* Earlier spellings of this macro. */ |
| 1548 |
#define _UNUSED_PARAMETER_ _GL_ATTRIBUTE_MAYBE_UNUSED |
| 1549 |
|
| 1550 |
/* _GL_ATTRIBUTE_NODISCARD declares that the caller of the function should not |
| 1551 |
discard the return value. The compiler may warn if the caller does not use |
| 1552 |
the return value, unless the caller uses something like ignore_value. */ |
| 1553 |
/* Applies to: function, enumeration, class. */ |
| 1554 |
#if _GL_HAS_C_ATTRIBUTE (nodiscard) |
| 1555 |
# define _GL_ATTRIBUTE_NODISCARD [[__nodiscard__]] |
| 1556 |
#elif _GL_HAS_ATTRIBUTE (warn_unused_result) |
| 1557 |
# define _GL_ATTRIBUTE_NODISCARD __attribute__ ((__warn_unused_result__)) |
| 1558 |
#else |
| 1559 |
# define _GL_ATTRIBUTE_NODISCARD |
| 1560 |
#endif |
| 1561 |
|
| 1562 |
/* _GL_ATTRIBUTE_NOINLINE tells that the compiler should not inline the |
| 1563 |
function. */ |
| 1564 |
/* Applies to: functions. */ |
| 1565 |
#if _GL_HAS_ATTRIBUTE (noinline) |
| 1566 |
# define _GL_ATTRIBUTE_NOINLINE __attribute__ ((__noinline__)) |
| 1567 |
#else |
| 1568 |
# define _GL_ATTRIBUTE_NOINLINE |
| 1569 |
#endif |
| 1570 |
|
| 1571 |
/* _GL_ATTRIBUTE_NONNULL ((N1, N2,...)) declares that the arguments N1, N2,... |
| 1572 |
must not be NULL. |
| 1573 |
_GL_ATTRIBUTE_NONNULL () declares that all pointer arguments must not be |
| 1574 |
null. */ |
| 1575 |
/* Applies to: functions. */ |
| 1576 |
#if _GL_HAS_ATTRIBUTE (nonnull) |
| 1577 |
# define _GL_ATTRIBUTE_NONNULL(args) __attribute__ ((__nonnull__ args)) |
| 1578 |
#else |
| 1579 |
# define _GL_ATTRIBUTE_NONNULL(args) |
| 1580 |
#endif |
| 1581 |
|
| 1582 |
/* _GL_ATTRIBUTE_NONSTRING declares that the contents of a character array is |
| 1583 |
not meant to be NUL-terminated. */ |
| 1584 |
/* Applies to: struct/union members and variables that are arrays of element |
| 1585 |
type '[[un]signed] char'. */ |
| 1586 |
#if _GL_HAS_ATTRIBUTE (nonstring) |
| 1587 |
# define _GL_ATTRIBUTE_NONSTRING __attribute__ ((__nonstring__)) |
| 1588 |
#else |
| 1589 |
# define _GL_ATTRIBUTE_NONSTRING |
| 1590 |
#endif |
| 1591 |
|
| 1592 |
/* There is no _GL_ATTRIBUTE_NORETURN; use _Noreturn instead. */ |
| 1593 |
|
| 1594 |
/* _GL_ATTRIBUTE_NOTHROW declares that the function does not throw exceptions. |
| 1595 |
*/ |
| 1596 |
/* Applies to: functions. */ |
| 1597 |
#if _GL_HAS_ATTRIBUTE (nothrow) && !defined __cplusplus |
| 1598 |
# define _GL_ATTRIBUTE_NOTHROW __attribute__ ((__nothrow__)) |
| 1599 |
#else |
| 1600 |
# define _GL_ATTRIBUTE_NOTHROW |
| 1601 |
#endif |
| 1602 |
|
| 1603 |
/* _GL_ATTRIBUTE_PACKED declares: |
| 1604 |
For struct members: The member has the smallest possible alignment. |
| 1605 |
For struct, union, class: All members have the smallest possible alignment, |
| 1606 |
minimizing the memory required. */ |
| 1607 |
/* Applies to: struct members, struct, union, |
| 1608 |
in C++ also: class. */ |
| 1609 |
#if _GL_HAS_ATTRIBUTE (packed) |
| 1610 |
# define _GL_ATTRIBUTE_PACKED __attribute__ ((__packed__)) |
| 1611 |
#else |
| 1612 |
# define _GL_ATTRIBUTE_PACKED |
| 1613 |
#endif |
| 1614 |
|
| 1615 |
/* _GL_ATTRIBUTE_PURE declares that It is OK for a compiler to omit duplicate |
| 1616 |
calls to the function with the same arguments if observable state is not |
| 1617 |
changed between calls. |
| 1618 |
This attribute is safe for a function that does not affect |
| 1619 |
observable state, and always returns exactly once. |
| 1620 |
(This attribute is looser than _GL_ATTRIBUTE_CONST.) */ |
| 1621 |
/* Applies to: functions. */ |
| 1622 |
#if _GL_HAS_ATTRIBUTE (pure) |
| 1623 |
# define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__)) |
| 1624 |
#else |
| 1625 |
# define _GL_ATTRIBUTE_PURE |
| 1626 |
#endif |
| 1627 |
|
| 1628 |
/* _GL_ATTRIBUTE_RETURNS_NONNULL declares that the function's return value is |
| 1629 |
a non-NULL pointer. */ |
| 1630 |
/* Applies to: functions. */ |
| 1631 |
#if _GL_HAS_ATTRIBUTE (returns_nonnull) |
| 1632 |
# define _GL_ATTRIBUTE_RETURNS_NONNULL __attribute__ ((__returns_nonnull__)) |
| 1633 |
#else |
| 1634 |
# define _GL_ATTRIBUTE_RETURNS_NONNULL |
| 1635 |
#endif |
| 1636 |
|
| 1637 |
/* _GL_ATTRIBUTE_SENTINEL(pos) declares that the variadic function expects a |
| 1638 |
trailing NULL argument. |
| 1639 |
_GL_ATTRIBUTE_SENTINEL () - The last argument is NULL (requires C99). |
| 1640 |
_GL_ATTRIBUTE_SENTINEL ((N)) - The (N+1)st argument from the end is NULL. */ |
| 1641 |
/* Applies to: functions. */ |
| 1642 |
#if _GL_HAS_ATTRIBUTE (sentinel) |
| 1643 |
# define _GL_ATTRIBUTE_SENTINEL(pos) __attribute__ ((__sentinel__ pos)) |
| 1644 |
#else |
| 1645 |
# define _GL_ATTRIBUTE_SENTINEL(pos) |
| 1646 |
#endif |
| 1647 |
|
| 1648 |
/* A helper macro. Don't use it directly. */ |
| 1649 |
#if _GL_HAS_ATTRIBUTE (unused) |
| 1650 |
# define _GL_ATTRIBUTE_UNUSED __attribute__ ((__unused__)) |
| 1651 |
#else |
| 1652 |
# define _GL_ATTRIBUTE_UNUSED |
| 1653 |
#endif |
| 1654 |
|
| 1655 |
|
| 1656 |
/* _GL_UNUSED_LABEL; declares that it is not a programming mistake if the |
| 1657 |
immediately preceding label is not used. The compiler should not warn |
| 1658 |
if the label is not used. */ |
| 1659 |
/* Applies to: label (both in C and C++). */ |
| 1660 |
/* Note that g++ < 4.5 does not support the '__attribute__ ((__unused__)) ;' |
| 1661 |
syntax. But clang does. */ |
| 1662 |
#if !(defined __cplusplus && !_GL_GNUC_PREREQ (4, 5)) || defined __clang__ |
| 1663 |
# define _GL_UNUSED_LABEL _GL_ATTRIBUTE_UNUSED |
| 1664 |
#else |
| 1665 |
# define _GL_UNUSED_LABEL |
| 1666 |
#endif |
| 1667 |
|
| 1668 |
|
| 1669 |
/* Define to `__inline__' or `__inline' if that's what the C compiler |
| 1670 |
calls it, or to nothing if 'inline' is not supported under any name. */ |
| 1671 |
#ifndef __cplusplus |
| 1672 |
#undef inline |
| 1673 |
#endif |
| 1674 |
|
| 1675 |
/* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports |
| 1676 |
the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of |
| 1677 |
earlier versions), but does not display it by setting __GNUC_STDC_INLINE__. |
| 1678 |
__APPLE__ && __MACH__ test for Mac OS X. |
| 1679 |
__APPLE_CC__ tests for the Apple compiler and its version. |
| 1680 |
__STDC_VERSION__ tests for the C99 mode. */ |
| 1681 |
#if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__ |
| 1682 |
# define __GNUC_STDC_INLINE__ 1 |
| 1683 |
#endif |
| 1684 |
|
| 1685 |
/* Define to a type if <wchar.h> does not define. */ |
| 1686 |
#undef mbstate_t |
| 1687 |
|
| 1688 |
/* _GL_CMP (n1, n2) performs a three-valued comparison on n1 vs. n2, where |
| 1689 |
n1 and n2 are expressions without side effects, that evaluate to real |
| 1690 |
numbers (excluding NaN). |
| 1691 |
It returns |
| 1692 |
1 if n1 > n2 |
| 1693 |
0 if n1 == n2 |
| 1694 |
-1 if n1 < n2 |
| 1695 |
The naïve code (n1 > n2 ? 1 : n1 < n2 ? -1 : 0) produces a conditional |
| 1696 |
jump with nearly all GCC versions up to GCC 10. |
| 1697 |
This variant (n1 < n2 ? -1 : n1 > n2) produces a conditional with many |
| 1698 |
GCC versions up to GCC 9. |
| 1699 |
The better code (n1 > n2) - (n1 < n2) from Hacker's Delight § 2-9 |
| 1700 |
avoids conditional jumps in all GCC versions >= 3.4. */ |
| 1701 |
#define _GL_CMP(n1, n2) (((n1) > (n2)) - ((n1) < (n2))) |
| 1702 |
|
| 1703 |
|
| 1704 |
/* Define to the real name of the mktime_internal function. */ |
| 1705 |
#undef mktime_internal |
| 1706 |
|
| 1707 |
/* Define to `int' if <sys/types.h> does not define. */ |
| 1708 |
#undef mode_t |
| 1709 |
|
| 1710 |
/* Define to the name of the strftime replacement function. */ |
| 1711 |
#undef my_strftime |
| 1712 |
|
| 1713 |
/* Define to the type of st_nlink in struct stat, or a supertype. */ |
| 1714 |
#undef nlink_t |
| 1715 |
|
| 1716 |
/* Define as a signed integer type capable of holding a process identifier. */ |
| 1717 |
#undef pid_t |
| 1718 |
|
| 1719 |
/* Define to the equivalent of the C99 'restrict' keyword, or to |
| 1720 |
nothing if this is not supported. Do not define if restrict is |
| 1721 |
supported only directly. */ |
| 1722 |
#undef restrict |
| 1723 |
/* Work around a bug in older versions of Sun C++, which did not |
| 1724 |
#define __restrict__ or support _Restrict or __restrict__ |
| 1725 |
even though the corresponding Sun C compiler ended up with |
| 1726 |
"#define restrict _Restrict" or "#define restrict __restrict__" |
| 1727 |
in the previous line. This workaround can be removed once |
| 1728 |
we assume Oracle Developer Studio 12.5 (2016) or later. */ |
| 1729 |
#if defined __SUNPRO_CC && !defined __RESTRICT && !defined __restrict__ |
| 1730 |
# define _Restrict |
| 1731 |
# define __restrict__ |
| 1732 |
#endif |
| 1733 |
|
| 1734 |
/* Define to `unsigned int' if <sys/types.h> does not define. */ |
| 1735 |
#undef size_t |
| 1736 |
|
| 1737 |
/* type to use in place of socklen_t if not defined */ |
| 1738 |
#undef socklen_t |
| 1739 |
|
| 1740 |
/* Define as a signed type of the same size as size_t. */ |
| 1741 |
#undef ssize_t |
| 1742 |
|
| 1743 |
/* Define to the type of an unsigned integer type of width exactly 32 bits if |
| 1744 |
such a type exists and the standard includes do not define it. */ |
| 1745 |
#undef uint32_t |