mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-18 06:51:47 +00:00
two win32 fixes for gcc 3.1
This commit is contained in:
parent
acdd37b381
commit
101d38bd0c
2 changed files with 8 additions and 0 deletions
|
@ -58,6 +58,10 @@ static const char rcsid[] =
|
||||||
|
|
||||||
#include "compat.h"
|
#include "compat.h"
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
void *alloca(size_t size);
|
||||||
|
#endif
|
||||||
|
|
||||||
#define BOX_WIDTH 2056
|
#define BOX_WIDTH 2056
|
||||||
|
|
||||||
/* cube face to sky texture offset conversion */
|
/* cube face to sky texture offset conversion */
|
||||||
|
|
|
@ -43,6 +43,10 @@ static const char rcsid[] =
|
||||||
# include <alloca.h>
|
# include <alloca.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
void *alloca(size_t size);
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue