MSVC support, Watcom is still recommended

This commit is contained in:
Nishi 2026-06-20 03:04:36 +09:00
commit c17f7a56cc
10 changed files with 87 additions and 23 deletions

View file

@ -62,7 +62,7 @@ int cl2knj(SJ4_CONTEXT u_char* yomi, int len, u_char* kouho) {
}
*ptr2 = 0;
strlcpy((char*)orgyomi, (char*)yomi, (int)(ptr1 - yomi) + 1);
sj4_strlcpy((char*)orgyomi, (char*)yomi, (int)(ptr1 - yomi) + 1);
if(!hyomi[0]) return 0;