From 16bbbbea8e5523bd9c53b0649bbaf847093193e7 Mon Sep 17 00:00:00 2001 From: Andy Heninger Date: Fri, 11 May 2012 17:54:07 +0000 Subject: [PATCH] ICU-9314 U_CHARSET_IS_UTF8 dependency cleanup X-SVN-Rev: 31813 --- icu4c/source/common/putil.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/icu4c/source/common/putil.cpp b/icu4c/source/common/putil.cpp index 7c9536b5b6e..74ebda9f472 100644 --- a/icu4c/source/common/putil.cpp +++ b/icu4c/source/common/putil.cpp @@ -1444,6 +1444,7 @@ static const char *uprv_getPOSIXIDForDefaultLocale(void) return posixID; } +#if !U_CHARSET_IS_UTF8 /* Return just the POSIX id for the default codepage, whatever happens to be in * it. It gets the value from LC_CTYPE and indirectly from LC_ALL and LANG. */ @@ -1456,6 +1457,7 @@ static const char *uprv_getPOSIXIDForDefaultCodepage(void) return posixID; } #endif +#endif /* NOTE: The caller should handle thread safety */ U_CAPI const char* U_EXPORT2 -- 2.40.0