Commit c8c9733e authored by cutealien's avatar cutealien

Allow compiling on VS with (/Zc:wchar_t-) set.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4966 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 2b7751f9
......@@ -383,7 +383,10 @@ namespace io
xmlChar<T>(unsigned long in) : c(static_cast<T>(in)) {}
#else
explicit xmlChar<T>(unsigned char in) : c(static_cast<T>(in)) {}
#if !defined(_MSC_VER) || defined(_NATIVE_WCHAR_T_DEFINED) // VS compiling without native wchar_t can't have it
explicit xmlChar<T>(unsigned short in) : c(static_cast<T>(in)) {}
#endif
explicit xmlChar<T>(unsigned int in) : c(static_cast<T>(in)) {}
explicit xmlChar<T>(unsigned long in) : c(static_cast<T>(in)) {}
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment