summaryrefslogtreecommitdiff
path: root/src/android
Commit message (Collapse)AuthorAgeFilesLines
* Fix link error with Android NDK r9Tatsuhiro Tsujikawa2013-09-184-3/+51
| | | | | | | | Since Android ndk r9, __set_errno is deprecated. It is now defined as inline function in errno.h. The syscall assembly calls __set_errno, but since libc.so does not export it, the link fails. To workaround this, replace all occurrences of __set_errno with a2_set_errno and define it as normal C function.
* Support off64_t for Android buildTatsuhiro Tsujikawa2013-05-065-0/+285
Android NDK R8e does not provide ftruncate64, but bionic has the assembler code to access kernel function. We borrowed those ftruncate64.S files from android source code repository. It turns out that x86 asm.h in NDK R8e is also broken, so latest asm.h was also borrowed.