Skip to content

Commit ab0240e

Browse files
committed
IO (Haiku): access /path/to/file/ doesn't work. Work around it
1 parent 399f262 commit ab0240e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/io/io.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ static inline bool ffPathExists(const char* path, FFPathType pathType)
119119
}
120120
else
121121
{
122-
#if __APPLE__ // #1395
122+
#if (__APPLE__ || __HAIKU__) // #1395
123123
struct stat fileStat;
124124
if(stat(path, &fileStat) != 0)
125125
return false;

0 commit comments

Comments
 (0)