[common/client] platform: make filesystem access portable

This commit is contained in:
Geoffrey McRae
2026-09-12 09:27:14 +10:00
parent a60da36420
commit 6d367d4ab2
17 changed files with 780 additions and 118 deletions

View File

@@ -20,6 +20,7 @@
#include "common/option.h"
#include "common/debug.h"
#include "common/filesystem.h"
#include "common/stringutils.h"
#include <ctype.h>
@@ -506,7 +507,7 @@ static bool process_option_line(const char * module, const char * name,
bool option_load(const char * filename)
{
FILE * fp = fopen(filename, "r");
FILE * fp = lgOpenFile(filename, "r");
if (!fp)
return false;