fix: Windows pmm clean — use DeleteFileA (RemoveFileA doesn't exist)

clean_rm referenced the nonexistent RemoveFileA, so the windows-amd64 matrix
failed to link. Use DeleteFileA (the real Win32 API) for file removal.
这个提交包含在:
JGZYES
2026-09-05 18:43:39 +08:00
父节点 5390ad564e
当前提交 c071ad688f
+1 -1
查看文件
@@ -828,7 +828,7 @@ static void clean_rm(const char *path) {
} else {
ULONGLONG sz = ((ULONGLONG)fd.nFileSizeHigh << 32) | fd.nFileSizeLow;
g_clean_size += (unsigned long long)sz; g_clean_count++;
RemoveFileA(full);
DeleteFileA(full);
}
} while (FindNextFileA(h, &fd));
FindClose(h);