Commit 25e5c6a4 authored by nanahira's avatar nanahira

fix

parent e0cf7354
Pipeline #29495 passed with stages
in 5 minutes and 38 seconds
...@@ -44,9 +44,11 @@ ...@@ -44,9 +44,11 @@
#endif #endif
#include <wchar.h> #include <wchar.h>
#ifndef _WIN32
inline int _wtoi(const wchar_t * str){ inline int _wtoi(const wchar_t * str){
return (int)wcstol(str, 0, 10); return (int)wcstol(str, 0, 10);
} }
#endif
template<size_t N, typename... TR> template<size_t N, typename... TR>
inline int myswprintf(wchar_t(&buf)[N], const wchar_t* fmt, TR... args) { inline int myswprintf(wchar_t(&buf)[N], const wchar_t* fmt, TR... args) {
return swprintf(buf, N, fmt, args...); return swprintf(buf, N, fmt, args...);
......
Subproject commit 489b2ba9f4cf78ffabadea0068667f14b2147488 Subproject commit d30738e0ac99e66639e9b0afc8c09bf266fbf8b5
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