summaryrefslogtreecommitdiffstats
path: root/ndk
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@google.com>2010-10-28 17:39:11 -0700
committerDavid 'Digit' Turner <digit@google.com>2010-10-28 17:39:11 -0700
commit10795d840b0991fd6150475803610b125d4ea262 (patch)
tree961c4c590eb2dea9f09af0b3648f6472c1ee404b /ndk
parent5a2fb6ce286411e85c5be8f1219d532e222882da (diff)
downloadandroid_development-10795d840b0991fd6150475803610b125d4ea262.tar.gz
android_development-10795d840b0991fd6150475803610b125d4ea262.tar.bz2
android_development-10795d840b0991fd6150475803610b125d4ea262.zip
Declare localeconv() in <locale.h>
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
Diffstat (limited to 'ndk')
-rw-r--r--ndk/platforms/android-3/include/locale.h3
1 files changed, 1 insertions, 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 */