Преглед изворни кода

Fix Undefined Symbol `_ftelli64` (#2319)

pull/2329/head
Audi Nugraha пре 3 година
committed by GitHub
родитељ
комит
a0895f1a3c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 измењених фајлова са 5 додато и 1 уклоњено
  1. +5
    -1
      src/external/cgltf.h

+ 5
- 1
src/external/cgltf.h Прегледај датотеку

@ -948,7 +948,11 @@ static cgltf_result cgltf_default_file_read(const struct cgltf_memory_options* m
fseek(file, 0, SEEK_END);
#ifdef _WIN32
__int64 length = _ftelli64(file);
#ifdef __TINYC__
__int64 length = ftell(file);
#else
__int64 length = _ftelli64(file);
#endif
#else
long length = ftell(file);
#endif

Loading…
Откажи
Сачувај