From 95a8ac4f5ad2c5d59f03725b7e101d0d2a8654f0 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Fri, 11 May 2012 15:37:17 +0300 Subject: The timezone variable is called just that on Android Change-Id: Icd3f13bec24227174b3698ed26f97d8c55d892ff --- icu/icu4c-android.patch | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'icu') diff --git a/icu/icu4c-android.patch b/icu/icu4c-android.patch index f8163d3052c3..1056ea49adca 100644 --- a/icu/icu4c-android.patch +++ b/icu/icu4c-android.patch @@ -84,3 +84,12 @@ #else # define U_HAVE_NL_LANGINFO_CODESET 1 #endif +@@ -114,6 +114,8 @@ + + #ifdef U_TIMEZONE + /* Use the predefined value. */ ++#elif defined(__ANDROID__) ++# define U_TIMEZONE timezone + #elif U_PLATFORM_IS_LINUX_BASED + # define U_TIMEZONE __timezone + #elif U_PLATFORM_USES_ONLY_WIN32_API -- cgit