parent
d03ab3ef27
commit
3ce8a58d41
|
@ -102,7 +102,7 @@ bool DefaultIOSystem::Exists(const char *pFile) const {
|
||||||
struct stat statbuf;
|
struct stat statbuf;
|
||||||
stat(pFile, &statbuf);
|
stat(pFile, &statbuf);
|
||||||
// test for a regular file
|
// test for a regular file
|
||||||
if (!S_ISREG(statbuf.st_mode)){
|
if (!S_ISREG(statbuf.st_mode)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue