Skip to content

Commit

Permalink
IO (Haiku): access /path/to/file/ doesn't work. Work around it
Browse files Browse the repository at this point in the history
  • Loading branch information
CarterLi committed Feb 17, 2025
1 parent 399f262 commit ab0240e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/io/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ab0240e

Please sign in to comment.