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

@ -66,7 +66,7 @@ FILE* Fopen(char* filename, char* type) {
fl = (FileList*)Malloc(sizeof(*fl));
len = strlen(filename) + 1;
fl->fname = Malloc(len);
strlcpy(fl->fname, filename, len);
sj4_strlcpy(fl->fname, filename, len);
fl->fp = fp;
fl->next = flist;