ICU-9314 U_CHARSET_IS_UTF8 dependency cleanup

X-SVN-Rev: 31813
This commit is contained in:
Andy Heninger 2012-05-11 17:54:07 +00:00
parent 26e5e063bb
commit 16bbbbea8e

View File

@ -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