浏览代码

Merge branch 'master' into gltf2-exporter-improvements

A. Breust 7 年之前
父节点
当前提交
d3876f6e29
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      contrib/unzip/unzip.c

+ 4 - 0
contrib/unzip/unzip.c

@@ -41,6 +41,10 @@ woven in by Terry Thorsen 1/2003.
 #include "zlib.h"
 #include "unzip.h"
 
+#if ZLIB_VERNUM < 0x1270
+typedef unsigned long z_crc_t;
+#endif
+
 #ifdef STDC
 #  include <stddef.h>
 #  include <string.h>