On Thu, Mar 14, 2019 at 10:49 AM Yann Ylavic <ylavic....@gmail.com> wrote:
> Possibly to resolve APR_<INTTYPE>_T_FMT on system with > [std]int[types].h, we could bind to the standard (C99?) format > PR[dxo..]N, especially since we configure the format based off > $ac_cv_sizeof_<inttype>, so something like: > #define APR_<INTTYPE>_T_FMT PR[dxo..]`expr $ac_cv_sizeof_<inttype>_t * 8` > > That should work on most "modern" systems/compilers (including > -stdc=c89), no? And for older ones the current as fallback could be > reasonable. > No, not with c89 (not as any sort of standard, -stdc is irrelevant.) So we are back to adding complexity, not simplifying the question.