Fix Undefined Symbol _ftelli64
This commit is contained in:
parent
680cc72d43
commit
cc7854121e
6
src/external/cgltf.h
vendored
6
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);
|
fseek(file, 0, SEEK_END);
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
__int64 length = _ftelli64(file);
|
#ifdef __TINYC__
|
||||||
|
__int64 length = ftell(file);
|
||||||
|
#else
|
||||||
|
__int64 length = _ftelli64(file);
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
long length = ftell(file);
|
long length = ftell(file);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user