mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-16 16:28:14 +00:00
RENAMED: GetFileSize()
to GetFileLength()
`GetFileSize()` conflicts with the infamous `windows.h`
This commit is contained in:
@@ -2851,8 +2851,9 @@ bool DirectoryExists(const char *dirPath)
|
||||
return result;
|
||||
}
|
||||
|
||||
// Get file size in bytes
|
||||
int GetFileSize(const char *fileName)
|
||||
// Get file length in bytes
|
||||
// NOTE: GetFileSize() conflicts with windows.h
|
||||
int GetFileLength(const char *fileName)
|
||||
{
|
||||
int size = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user