Commit 3dfd2284 authored by nanahira's avatar nanahira

Merge branch 'develop' into server-develop

parents 9600482c 172ce88c
......@@ -20,6 +20,10 @@
#define socklen_t int
inline int _wtoi(const wchar_t * str){
return (int)wcstol(str, 0, 10);
}
#else //_WIN32
#include <errno.h>
......@@ -44,9 +48,6 @@
#endif
#include <wchar.h>
inline int _wtoi(const wchar_t * str){
return (int)wcstol(str, 0, 10);
}
template<size_t N, typename... TR>
inline int myswprintf(wchar_t(&buf)[N], const wchar_t* fmt, TR... args) {
return swprintf(buf, N, fmt, args...);
......
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