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:
Molgrum 2007-08-07 03:51:00 +00:00
parent 4ddcb057ac
commit 8dfe7e4656

View file

@ -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)