move override wcwidth with 1 if WIN32 if defined to window.h
This commit is contained in:
@@ -57,6 +57,11 @@
|
||||
# define TO_WSTRING(x) (x)
|
||||
#endif
|
||||
|
||||
// workaraund for win32
|
||||
#ifdef WIN32
|
||||
# define wcwidth(x) 1
|
||||
#endif
|
||||
|
||||
std::string ToString(const std::wstring &);
|
||||
std::wstring ToWString(const std::string &);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user