Provide utf16_t and utf16stringstream under MSVC
This was SVN commit r722.
This commit is contained in:
parent
bed0e644c4
commit
5ff1299595
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user