| ... | ... | @@ -470,6 +470,11 @@ |
| 470 | 470 | # define __GLIBC_USE_DEPRECATED_SCANF 0 |
| 471 | 471 | #endif |
| 472 | 472 | |
| 473 | |
| 474 | /* support for ISO C2X strtol was added in 2.38 |
| 475 | * glibc commit 64924422a99690d147a166b4de3103f3bf3eaf6c |
| 476 | */ |
| 477 | #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 38) || __GLIBC__ > 2 |
| 473 | 478 | /* ISO C2X added support for a 0b or 0B prefix on binary constants as |
| 474 | 479 | inputs to strtol-family functions (base 0 or 2). This macro is |
| 475 | 480 | used to condition redirection in headers to allow that redirection |
| ... | ... | @@ -480,6 +485,9 @@ |
| 480 | 485 | #else |
| 481 | 486 | # define __GLIBC_USE_C2X_STRTOL 0 |
| 482 | 487 | #endif |
| 488 | #else	/* glibc 2.37 or lower */ |
| 489 | # define __GLIBC_USE_C2X_STRTOL 0 |
| 490 | #endif |
| 483 | 491 | |
| 484 | 492 | /* Get definitions of __STDC_* predefined macros, if the compiler has |
| 485 | 493 | not preincluded this header automatically. */ |