From 13c14f5c8d5727459ceb9f782250be271ddedc7e Mon Sep 17 00:00:00 2001 From: Brian Fraser Date: Fri, 17 May 2013 23:14:49 -0300 Subject: [PATCH] hints/linux-androideabi.sh: getservent_r() is a partial stub, mark it as undefined to avoid issues with threads --- hints/linux-android.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hints/linux-android.sh b/hints/linux-android.sh index 31688b5..7acefde 100644 --- a/hints/linux-android.sh +++ b/hints/linux-android.sh @@ -26,6 +26,9 @@ d_setlocale='undef' d_setlocale_r='undef' i_locale='undef' +# https://code.google.com/p/android-source-browsing/source/browse/libc/netbsd/net/getservent_r.c?repo=platform--bionic&r=ca6fe7bebe3cc6ed7e2db5a3ede2de0fcddf411d#95 +d_getservent_r='undef' + # Bionic defines several stubs that just warn and return NULL # https://gitorious.org/0xdroid/bionic/blobs/70b2ef0ec89a9c9d4c2d4bcab728a0e72bafb18e/libc/bionic/stubs.c # https://android.googlesource.com/platform/bionic/+/master/libc/bionic/stubs.cpp -- 2.7.4