fixed build on pre ansi c89 compilers

This commit is contained in:
Ilia Zhirov 2012-11-14 14:49:40 +06:00
parent 823753dec9
commit 46c77400e2
1 changed files with 5 additions and 0 deletions

View File

@ -21,6 +21,11 @@
#define ZLIB_FILEFUNC_MODE_EXISTING (4)
#define ZLIB_FILEFUNC_MODE_CREATE (8)
#if PRE_ANSI_C89
#define OF(args) ()
#else
#define OF(args) args
#endif
#ifndef ZCALLBACK