mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-22 20:51:31 +00:00
fixed build on pre ansi c89 compilers
This commit is contained in:
parent
823753dec9
commit
46c77400e2
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue