ソースを参照

Merge pull request #1663 from assimp/issue_1655

closes https://github.com/assimp/assimp/issues/1655: add typedef for …
Kim Kulling 7 年 前
コミット
3407889ec9
1 ファイル変更3 行追加0 行削除
  1. 3 0
      contrib/zlib/zlib.h

+ 3 - 0
contrib/zlib/zlib.h

@@ -77,6 +77,9 @@ extern "C" {
   the consistency of the compressed data, so the library should never crash
   the consistency of the compressed data, so the library should never crash
   even in the case of corrupted input.
   even in the case of corrupted input.
 */
 */
+#ifdef __ANDROID__     
+using zcrc_t = unsigned_long; 
+#endif
 
 
 typedef voidpf (*alloc_func) OF((voidpf opaque, uInt items, uInt size));
 typedef voidpf (*alloc_func) OF((voidpf opaque, uInt items, uInt size));
 typedef void   (*free_func)  OF((voidpf opaque, voidpf address));
 typedef void   (*free_func)  OF((voidpf opaque, voidpf address));