]> granicus.if.org Git - icu/commitdiff
ICU-9394 Set U_TIMEZONE to 'timezone' instead of '__timezone' on Android
authorJungshik Shin <jshin@chromium.org>
Mon, 18 Jun 2012 20:51:53 +0000 (20:51 +0000)
committerJungshik Shin <jshin@chromium.org>
Mon, 18 Jun 2012 20:51:53 +0000 (20:51 +0000)
X-SVN-Rev: 31964

icu4c/source/common/putilimp.h

index b11ec05b9696aeb8b24c06e28530ab05bbc9612b..1e70f66cc0ecec49a37b3546416f8000d22be8f3 100644 (file)
@@ -113,6 +113,8 @@ typedef size_t uintptr_t;
 
 #ifdef U_TIMEZONE
     /* Use the predefined value. */
+#elif U_PLATFORM == U_PF_ANDROID
+#   define U_TIMEZONE timezone
 #elif U_PLATFORM_IS_LINUX_BASED
 #   define U_TIMEZONE __timezone
 #elif U_PLATFORM_USES_ONLY_WIN32_API