• Paul Eggert's avatar
    New macro GNUC_PREREQ for GCC version · ab182c62
    Paul Eggert authored
    * src/conf_post.h (GNUC_PREREQ): New macro.
    Change uses of __GNUC_MINOR__ and __GNUC_PATCHLEVEL__ to use this
    macro instead, for clarity and consistency.
    (PRINTF_ARCHETYPE): New macro.  Define it to __gnu_printf__ only
    if glibc, since non-GNU platforms don’t necessarily support GNU
    printf formats.
    (ATTRIBUTE_FORMAT_PRINTF): Use it.
    ab182c62
process.c 232 KB