Files
MINGW-packages/mingw-w64-apr/apr_ssize_t.patch
2015-02-09 02:21:40 -08:00

25 lines
811 B
Diff

Index: configure.in
===================================================================
--- configure.in (revision 1161414)
+++ configure.in (working copy)
@@ -1643,6 +1643,9 @@
elif test "$ac_cv_sizeof_ssize_t" = "$ac_cv_sizeof_long"; then
ssize_t_fmt="ld"
AC_MSG_RESULT(%ld)
+elif test "$ac_cv_sizeof_ssize_t" = "$ac_cv_sizeof_long_long"; then
+ ssize_t_fmt="lld"
+ AC_MSG_RESULT(%lld)
else
AC_ERROR([could not determine the proper format for apr_ssize_t])
fi
@@ -1660,6 +1663,9 @@
elif test "$ac_cv_sizeof_size_t" = "$ac_cv_sizeof_long"; then
size_t_fmt="ld"
AC_MSG_RESULT(%ld)
+elif test "$ac_cv_sizeof_size_t" = "$ac_cv_sizeof_long_long"; then
+ size_t_fmt="lld"
+ AC_MSG_RESULT(%lld)
else
AC_ERROR([could not determine the proper format for apr_size_t])
fi