Fix this warning once and for all.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2577 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
4ddcb057ac
commit
8dfe7e4656
1 changed files with 2 additions and 1 deletions
|
@ -17,7 +17,6 @@ cvar_t r_dodgypcxfiles = SCVAR("r_dodgypcxfiles", "0"); //Quake 2's PCX loading
|
|||
//and some Q2 mods include PCX files
|
||||
//that only work with this assumption
|
||||
|
||||
#define GLOBAL(x) x
|
||||
#ifndef _WIN32
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
@ -875,6 +874,8 @@ term_source (j_decompress_ptr cinfo)
|
|||
}
|
||||
|
||||
|
||||
#undef GLOBAL
|
||||
#define GLOBAL(x) x
|
||||
|
||||
GLOBAL(void)
|
||||
jpeg_mem_src (j_decompress_ptr cinfo, qbyte * infile, int maxlen)
|
||||
|
|
Loading…
Reference in a new issue