diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2012-05-11 15:28:01 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2012-05-11 16:18:51 +0300 |
commit | a973651de8b119f76e93459c26c0363664a8ed4e (patch) | |
tree | cb479d260679974839235a6089924a4f647ca66a /icu | |
parent | 779e6e7d4c8f92c3138cd839f529e5eacaad1755 (diff) |
No <langinfo.h> for Android
Change-Id: I8063d5524b34177d77500069c85a3ae718fa5422
Diffstat (limited to 'icu')
-rw-r--r-- | icu/icu4c-android.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/icu/icu4c-android.patch b/icu/icu4c-android.patch index e6befb0d49c9..f8163d3052c3 100644 --- a/icu/icu4c-android.patch +++ b/icu/icu4c-android.patch @@ -73,3 +73,14 @@ "\t.section \".rodata\"\n" "\t.align 8\n" +--- misc/icu/source/common/putilimp.h ++++ misc/build/icu/source/common/putilimp.h +@@ -86,6 +86,8 @@ + /* Use the predefined value. */ + #elif U_PLATFORM_HAS_WIN32_API + # define U_HAVE_NL_LANGINFO_CODESET 0 ++#elif defined(__ANDROID__) ++# define U_HAVE_NL_LANGINFO_CODESET 0 + #else + # define U_HAVE_NL_LANGINFO_CODESET 1 + #endif |