two win32 fixes for gcc 3.1

This commit is contained in:
Bill Currie 2002-05-28 03:33:03 +00:00
parent acdd37b381
commit 101d38bd0c
2 changed files with 8 additions and 0 deletions

View file

@ -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 */

View file

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