This commit is contained in:
13038267101 2023-02-02 14:22:05 +08:00
parent 68906722b3
commit bef5bcc0ba
1 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@
#pragma comment(lib, "rpcrt4.lib")
#pragma comment(lib, "advapi32.lib") // for Reg...
#if defined(OEM_NONE) || defined(OEM_LISCHENG) || defined(OEM_HANWANG)
#if defined(OEM_NONE) || defined(OEM_LISCHENG) || defined(OEM_HANWANG)|| defined(OEM_ZHONGJING)
#include "../wrapper/hg_log.h"
#else
#define VLOG_MINI_1(l, f, d) printf(f, d)
@ -47,7 +47,7 @@ void usb_callback::notify(libusb_context* ctx, usb_device* dev, int ev)
}
std::string u2utf8(const wchar_t* u)
{
#if defined(OEM_NONE) || defined(OEM_LISCHENG) || defined(OEM_HANWANG)
#if defined(OEM_NONE) || defined(OEM_LISCHENG) || defined(OEM_HANWANG) || defined(OEM_ZHONGJING)
return hg_log::u2utf8(u);
#else
int len = WideCharToMultiByte(CP_UTF8, 0, u, lstrlenW(u), NULL, 0, NULL, NULL);