ptrdiff_t in CURRENT
Julien ÉLIE
julien at trigofacile.com
Mon Dec 16 08:59:02 UTC 2013
Hi Jeffrey,
> There is no mention of HAVE_PTRDIFF_T in config.h, just this:
>
> /* Define to long if <sys/types.h> does not define. */
> /* #undef ptrdiff_t */
Could you please check in your configure.ac file that it properly uses:
AC_CHECK_TYPES([ptrdiff_t])
and not:
AC_CHECK_TYPE([ptrdiff_t], ,
[AC_DEFINE([ptrdiff_t], [long],
[Define to long if <sys/types.h> does not define.])])
It should have normally been the case since commit 9313 for STABLE 2.5
(or 9291+9298 for CURRENT) in July 2011:
https://inn.eyrie.org/trac/changeset/9313
As your include/clibrary.h file contains:
/* In case <sys/types.h> does not define ptrdiff_t. */
#if !HAVE_PTRDIFF_T
typedef long ptrdiff_t;
#endif
it should normally be good, but better check...
--
Julien ÉLIE
More information about the inn-workers
mailing list