Hi all,
I'm trying to build sqlite (http://www.sqlite.org) for Android with large file support. It doesn't work out of the box as we depend on _FILE_OFFSET_BITS=64 style behaviour, which is unsupported on Android (please tell me if this is incorrect!). As far as I can tell so far, the functions that might cause problems are lseek(), fstat() and ftruncate(). For lseek(), it looks like I can just explicitly use lseek64() instead. And it looks like fstat() is always a 64-bit variant - in sysroot/usr/include/sys/stat.h the "st_size" field of "struct stat" is of type "long long". Since st_size is the only field we use, I guess that will be Ok as is. But I'm not sure how to handle ftruncate()? Is there any way to get ftruncate() functionality for large files on Android? Also, please let me know if I'm missing something wrt lseek64() and fstat()! Thanks in advance, Dan. -- -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting --- You received this message because you are subscribed to the Google Groups "android-porting" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.