Merge pull request #14 from pixe1f10w/master

fixed build for pre ansi c99 compilers
This commit is contained in:
Yamagi 2012-11-14 12:05:21 -08:00
commit b529eb3a9c

View file

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