IO (Haiku): access /path/to/file/ doesn't work. Work around it

This commit is contained in:
Carter Li
2025-02-18 06:50:19 +08:00
committed by 李通洲
parent 399f262692
commit ab0240e9b7
+1 -1
View File
@@ -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;