Fixes memgzio with zlib > 1.2.3.8
This commit is contained in:
parent
3f5f9adbe9
commit
3cf6c2ca7b
|
@ -21,4 +21,13 @@ int ZEXPORT memgzclose(gzFile file);
|
|||
long ZEXPORT memtell(gzFile file);
|
||||
z_off_t ZEXPORT memgzseek(gzFile file, z_off_t off, int whence);
|
||||
|
||||
// Newer version of zlib dropped gzio support
|
||||
#ifndef OF /* function prototypes */
|
||||
# ifdef STDC
|
||||
# define OF(args) args
|
||||
# else
|
||||
# define OF(args) ()
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#endif // MEMGZIO_H
|
||||
|
|
Loading…
Reference in New Issue