From 10795d840b0991fd6150475803610b125d4ea262 Mon Sep 17 00:00:00 2001 From: David 'Digit' Turner Date: Thu, 28 Oct 2010 17:39:11 -0700 Subject: [PATCH] Declare localeconv() in The function is not implemented by our C library, but it is not possible to build GNU libstdc++-v3 if the declaration is not part of this header. Change-Id: Iff6fa63465dde0d4e38c0f91709475bb35b31af9 --- ndk/platforms/android-3/include/locale.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ndk/platforms/android-3/include/locale.h b/ndk/platforms/android-3/include/locale.h index df4292172..4259ddda7 100644 --- a/ndk/platforms/android-3/include/locale.h +++ b/ndk/platforms/android-3/include/locale.h @@ -51,9 +51,8 @@ enum { extern char *setlocale(int category, const char *locale); -/* Make libstdc++-v3 happy. */ +#if 1 /* MISSING FROM BIONIC - DEFINED TO MAKE libstdc++-v3 happy */ struct lconv { }; -#if 0 /* MISSING FROM BIONIC */ struct lconv *localeconv(void); #endif /* MISSING */