Fix Undefined Symbol _ftelli64
(#2319)
This commit is contained in:
parent
c54d9cd552
commit
a0895f1a3c
1 changed files with 5 additions and 1 deletions
4
src/external/cgltf.h
vendored
4
src/external/cgltf.h
vendored
|
@ -948,7 +948,11 @@ static cgltf_result cgltf_default_file_read(const struct cgltf_memory_options* m
|
|||
fseek(file, 0, SEEK_END);
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifdef __TINYC__
|
||||
__int64 length = ftell(file);
|
||||
#else
|
||||
__int64 length = _ftelli64(file);
|
||||
#endif
|
||||
#else
|
||||
long length = ftell(file);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue