From ab0240e9b741ef7087b94f816d7ada1d064c7290 Mon Sep 17 00:00:00 2001 From: Carter Li Date: Tue, 18 Feb 2025 06:50:19 +0800 Subject: [PATCH] IO (Haiku): access `/path/to/file/` doesn't work. Work around it --- src/common/io/io.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/io/io.h b/src/common/io/io.h index 4cee2e471..4cc65003e 100644 --- a/src/common/io/io.h +++ b/src/common/io/io.h @@ -119,7 +119,7 @@ static inline bool ffPathExists(const char* path, FFPathType pathType) } else { - #if __APPLE__ // #1395 + #if (__APPLE__ || __HAIKU__) // #1395 struct stat fileStat; if(stat(path, &fileStat) != 0) return false;