summaryrefslogtreecommitdiff
path: root/src/android/android.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix link error with Android NDK r9Tatsuhiro Tsujikawa2013-09-181-0/+48
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.