diff options
| author | Young-il Choi <duddlf.choi@samsung.com> | 2013-02-27 14:53:35 +0900 |
|---|---|---|
| committer | Young-il Choi <duddlf.choi@samsung.com> | 2013-02-27 14:53:35 +0900 |
| commit | 26a5dc593c1895b4dd9a024ef785cb3682cb064a (patch) | |
| tree | 773fa33fbb52d7205dab691d468e92f08c09d5af /src/rt/rust_android_dummy.cpp | |
| parent | d96b483a01b9d9c5918850a00e9ca6e49d0e9de1 (diff) | |
| download | rust-26a5dc593c1895b4dd9a024ef785cb3682cb064a.tar.gz rust-26a5dc593c1895b4dd9a024ef785cb3682cb064a.zip | |
mk: rewrite make files
Diffstat (limited to 'src/rt/rust_android_dummy.cpp')
| -rw-r--r-- | src/rt/rust_android_dummy.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rt/rust_android_dummy.cpp b/src/rt/rust_android_dummy.cpp index 76aa51723ef..3c7034a2f95 100644 --- a/src/rt/rust_android_dummy.cpp +++ b/src/rt/rust_android_dummy.cpp @@ -4,6 +4,7 @@ #include "rust_android_dummy.h" #include <math.h> +#include <errno.h> #ifdef __ANDROID__ @@ -13,6 +14,9 @@ char **backtrace_symbols(void *const *array, int size) { return 0; } void backtrace_symbols_fd (void *const *array, int size, int fd) {} +extern "C" volatile int* __errno_location() { + return &errno; +} extern "C" float log2f(float f) { |
