◐ Shell
clean mode source ↗

Message 293859 - Python tracker

In configure.ac, HAVE_LARGEFILE_SUPPORT is defined if (off_t > long && longlong >= off_t) and thus, when it is not defined, it means that off_t <= long (since longlong < off_t is false) so an off_t should fit into a long. But on Android the size of off_t is different from the size of ino_t so one cannot use the value of HAVE_LARGEFILE_SUPPORT to know if an ino_t would fit into an unsigned long.

On Android architecture 'x86' at api level 21:
    sizeof(st->st_ino) = 8
and from the output of configure:
    checking size of off_t... 4
    checking size of long... 4
    checking size of long long... 8