about summary refs log tree commit diff stats
path: root/src/wrapped/wrappedlibc_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wrapped/wrappedlibc_private.h')
-rw-r--r--src/wrapped/wrappedlibc_private.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/wrapped/wrappedlibc_private.h b/src/wrapped/wrappedlibc_private.h
index 933178e5..efd5705b 100644
--- a/src/wrapped/wrappedlibc_private.h
+++ b/src/wrapped/wrappedlibc_private.h
@@ -2326,3 +2326,16 @@ DATAM(__libc_single_threaded, 1)
 
 GO(iconvctl, iFlip)
 GO(dummy__ZnwmSt11align_val_tRKSt9nothrow_t, pFLLp) // for mallochook.c
+
+#ifdef ANDROID
+GOM(__libc_init, vFEpppp)
+GO(__errno, pFv)
+GO(setprogname, vFp)
+GO(getprogname, pFv)
+#else
+// Those symbols don't exist in non-Android builds
+//GOM(__libc_init,
+//GO(__errno,
+//GO(setprogname,
+//GO(getprogname,
+#endif