diff options
| author | ILyoan <ilyoan@gmail.com> | 2012-11-29 19:36:03 +0900 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2013-01-13 16:43:39 -0800 |
| commit | 4fb4be8f174c9d19c8ec6702070ef55987f73cb3 (patch) | |
| tree | 1cab16b580d3776e4b5da77c62501427e1b3b23b /src/rt/rust_builtin.cpp | |
| parent | 987f824f233faee4aed39dac92a1b442d42965cc (diff) | |
| download | rust-4fb4be8f174c9d19c8ec6702070ef55987f73cb3.tar.gz rust-4fb4be8f174c9d19c8ec6702070ef55987f73cb3.zip | |
More android support
Conflicts: Makefile.in cmakeFiles/rustllvm.cmake
Diffstat (limited to 'src/rt/rust_builtin.cpp')
| -rw-r--r-- | src/rt/rust_builtin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rt/rust_builtin.cpp b/src/rt/rust_builtin.cpp index 0919ccf7f0e..de69272aca1 100644 --- a/src/rt/rust_builtin.cpp +++ b/src/rt/rust_builtin.cpp @@ -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) { |
