From 862bf1b793e80c65931e7eaae2e269cea812b9d3 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Sat, 21 Sep 2019 11:48:55 +0200 Subject: [PATCH] fix for ps3.2 compilation --- client/fileutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/fileutils.c b/client/fileutils.c index 3599ec6f4..450672935 100644 --- a/client/fileutils.c +++ b/client/fileutils.c @@ -78,7 +78,7 @@ int is_regular_file(const char *filename) { #ifdef _WIN32 struct _stat st; _stat(filename, &st); - return S_ISREG(_st.st_mode); + return S_ISREG(st.st_mode); #else struct stat st; stat(filename, &st);