More android support

Conflicts:
	Makefile.in
	cmakeFiles/rustllvm.cmake
This commit is contained in:
ILyoan 2012-11-29 19:36:03 +09:00 committed by Brian Anderson
parent 987f824f23
commit 4fb4be8f17
8 changed files with 834 additions and 3 deletions

View file

@ -73,7 +73,7 @@ last_os_error() {
task->fail();
return NULL;
}
#elif defined(_GNU_SOURCE)
#elif defined(_GNU_SOURCE) && !defined(__ANDROID__)
char cbuf[BUF_BYTES];
char *buf = strerror_r(errno, cbuf, sizeof(cbuf));
if (!buf) {