浏览代码

* Fix build for systems with no zlib-devel.

pull/1/head
Sam Hocevar sam 20 年前
父节点
当前提交
ba2b3587c5
共有 1 个文件被更改,包括 1 次插入 和 1 次删除
  1. +1
    -1
      src/io.c

+ 1
- 1
src/io.c 查看文件

@@ -100,7 +100,7 @@ TOIFILE *toiopen(char const *path, const char *mode)
#else #else
toif->f = fopen(path, mode); toif->f = fopen(path, mode);


if(!f)
if(!toif->f)
{ {
free(toif); free(toif);
return NULL; return NULL;


正在加载...
取消
保存