Hi Scott.

   Perhaps the attached patch is the "right way" to identify int64_t
   presence?

The problem of that approach is that, in architectures missing
stdint.h, HAVE_INT64_T would not be defined but a suitable int64_t
would be provided by gnulib.

To cover those cases, and since the gnulib stdint.h is always
#defining int64_t, I would also check for int64_t:

   -#if defined(int64_t) && !defined(PDF_FORCE_BIGNUMS)
   +/* Note that int64_t may be defined by the gnulib stdint.h in
   +   platforms missing that header file. */
   +#if (defined(HAVE_INT64_T) || defined(int64_t)) && 
!defined(PDF_FORCE_BIGNUMS)
    #define PDF_USE_BUILTIN_64BIT_SUPPORT
    #endif

What do you think?



Reply via email to