瀏覽代碼

Fix Undefined Symbol `_ftelli64` (#2319)

pull/2329/head
Audi Nugraha 3 年之前
committed by GitHub
父節點
當前提交
a0895f1a3c
沒有發現已知的金鑰在資料庫的簽署中 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…
取消
儲存