Merge branch 'raysan5:master' into master

This commit is contained in:
WilledgeR 2021-11-17 21:44:17 +03:30 committed by GitHub
commit 675039eec6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 20 deletions

View File

@ -2709,6 +2709,11 @@ bool FileExists(const char *fileName)
if (access(fileName, F_OK) != -1) result = true;
#endif
// NOTE: Alternatively, stat() can be used instead of access()
//#include <sys/stat.h>
//struct stat statbuf;
//if (stat(filename, &statbuf) == 0) result = true;
return result;
}