forked from Mirrors/freeswitch
The format string for size_t is always %zu, don't #error when not able to find it
This commit is contained in:
parent
c18c2b1dc0
commit
d90bac3888
|
@ -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
|
||||
|
|
|
@ -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 <sys/types.h>], off_t, 8)
|
||||
|
|
Loading…
Reference in New Issue