diff options
author | Jari Vetoniemi <mailroxas@gmail.com> | 2018-02-25 15:34:59 +0200 |
---|---|---|
committer | Jari Vetoniemi <mailroxas@gmail.com> | 2018-02-25 15:34:59 +0200 |
commit | 2f1e982f5786abb667bba35444e636116873ff42 (patch) | |
tree | cd6499242728a8020d9937222ed8addb6637a2a0 /src | |
parent | 627d770b5cd550bd51234392f62eb7cea586d49e (diff) |
libc: ugly dynamic_cast hack
We should have option to use android's libstdc++ implementations as
well.
Diffstat (limited to 'src')
-rw-r--r-- | src/libc.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -325,3 +325,10 @@ bionic_sysconf(int name) verbose("0x%x", name); return sysconf(bionic_sysconf_to_glibc_sysconf(name)); } + +void* +bionic___dynamic_cast(const void *src_ptr, const void *src_type, const void *dst_type, intptr_t src2dst) +{ + // HACK: we should use android's various libstdc++ implementations instead. + return (void*)src_ptr; +} |