diff options
author | simon <none@none> | 2014-04-07 14:26:15 -0700 |
---|---|---|
committer | simon <none@none> | 2014-04-07 14:26:15 -0700 |
commit | 991636d57bd4a67e42a5425fe53bf66bf9cf8d07 (patch) | |
tree | 733d71a2606bf4308d3afb26e90b0de85a65c19b /indra/llcommon/llstring.h | |
parent | 29840c0c569a3b0296bcab38d04fc237fb9827ed (diff) | |
parent | 7e966f28da79d2d24f93a2615c8807421300700c (diff) |
Merge in viewer-release and version update to 3.7.6
Diffstat (limited to 'indra/llcommon/llstring.h')
-rwxr-xr-x | indra/llcommon/llstring.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/llcommon/llstring.h b/indra/llcommon/llstring.h index f9702868c8..16a19e7021 100755 --- a/indra/llcommon/llstring.h +++ b/indra/llcommon/llstring.h @@ -518,10 +518,13 @@ LL_COMMON_API S32 wchar_to_utf8chars(llwchar inchar, char* outchars); LL_COMMON_API std::string wstring_to_utf8str(const LLWString &utf32str, S32 len); LL_COMMON_API std::string wstring_to_utf8str(const LLWString &utf32str); - LL_COMMON_API std::string utf16str_to_utf8str(const llutf16string &utf16str, S32 len); LL_COMMON_API std::string utf16str_to_utf8str(const llutf16string &utf16str); +#if LL_WINDOWS +inline std::string wstring_to_utf8str(const llutf16string &utf16str) { return utf16str_to_utf8str(utf16str);} +#endif + // Length of this UTF32 string in bytes when transformed to UTF8 LL_COMMON_API S32 wstring_utf8_length(const LLWString& wstr); |