Support lseek64.
Android doesn't have 64-bit off_t, so use off64_t instead.
This commit is contained in:
parent
7171645366
commit
4152833f0c
2 changed files with 12 additions and 1 deletions
|
@ -373,7 +373,10 @@ case "$host_os" in
|
|||
;;
|
||||
*)
|
||||
AC_CHECK_SIZEOF(off_t)
|
||||
test x"$ac_cv_sizeof_off_t" = x8 || AC_MSG_ERROR([Large file support is required]);;
|
||||
if test x"$ac_cv_sizeof_off_t" != x8 ; then
|
||||
AC_CHECK_SIZEOF(off64_t)
|
||||
test x"$ac_cv_sizeof_off64_t" = x8 || AC_MSG_ERROR([Large file support is required])
|
||||
fi;;
|
||||
esac
|
||||
|
||||
if test x$USE_NLS = xno; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue