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