diff --git a/configure.in b/configure.in index 43839a3f8b..6a7d7dec4d 100644 --- a/configure.in +++ b/configure.in @@ -699,7 +699,7 @@ if test "$ac_cv_sizeof_size_t" = "$ac_cv_sizeof_int"; then elif test "$ac_cv_sizeof_size_t" = "$ac_cv_sizeof_long"; then size_t_fmt='#define SWITCH_SIZE_T_FMT "ld"' else - size_t_fmt='#error Can not determine the proper size for size_t' + size_t_fmt='#define SWITCH_SIZE_T_FMT "zu"' fi # Basically, we have tried to figure out the correct format strings diff --git a/libs/apr/configure.in b/libs/apr/configure.in index 04f6e8f506..68c030e124 100644 --- a/libs/apr/configure.in +++ b/libs/apr/configure.in @@ -1284,7 +1284,7 @@ if test "$ac_cv_sizeof_size_t" = "$ac_cv_sizeof_int"; then elif test "$ac_cv_sizeof_size_t" = "$ac_cv_sizeof_long"; then size_t_fmt='#define APR_SIZE_T_FMT "ld"' else - size_t_fmt='#error Can not determine the proper size for size_t' + size_t_fmt='#define APR_SIZE_T_FMT "zu"' fi APR_CHECK_SIZEOF_EXTENDED([#include ], off_t, 8)