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;