1
0
forked from 0ad/0ad

Provide utf16_t and utf16stringstream under MSVC

This was SVN commit r722.
This commit is contained in:
Ykkrosh 2004-07-12 15:24:16 +00:00
parent bed0e644c4
commit 5ff1299595

View File

@ -9,7 +9,9 @@
// with uint16_t (which is also an unsigned short), so just use std::wstring // with uint16_t (which is also an unsigned short), so just use std::wstring
#ifdef _MSC_VER #ifdef _MSC_VER
typedef wchar_t utf16_t;
typedef std::wstring utf16string; typedef std::wstring utf16string;
typedef std::wstringstream utf16stringstream;
// On Linux, wchar_t is 32-bit, so define a new version of it // On Linux, wchar_t is 32-bit, so define a new version of it
#else #else