mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
469 B
16 lines
469 B
// wcin -- initialize standard wide error stream
|
|
// This wcin is unsigned short version of wcin
|
|
#ifdef _NATIVE_WCHAR_T_DEFINED
|
|
#include <fstream>
|
|
#include <istream>
|
|
#define wistream ushistream
|
|
#define wostream ushostream
|
|
#define wfilebuf ushfilebuf
|
|
#define _Init_wcerr _Init_ushcerr
|
|
#define _Init_wcout _Init_ushcout
|
|
#define _Init_wclog _Init_ushclog
|
|
#define _Init_wcin _Init_ushcin
|
|
#define _Winit _UShinit
|
|
#include <iostream>
|
|
#include "wcin.cpp"
|
|
#endif
|