mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-26 22:40:50 +00:00
Merge pull request #14 from pixe1f10w/master
fixed build for pre ansi c99 compilers
This commit is contained in:
commit
b529eb3a9c
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue