funasr/runtime/onnxruntime/src/commonfunc.h
@@ -1,7 +1,18 @@ #pragma once typedef struct { std::string msg; float snippet_time; }RPASR_RECOG_RESULT; #ifdef _WIN32 #include <codecvt> inline std::wstring string2wstring(const std::string& str, const std::string& locale) { typedef std::codecvt_byname<wchar_t, char, std::mbstate_t> F;