Include the alloca-function.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2687 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Molgrum 2007-09-23 15:52:35 +00:00
parent faac72835c
commit 43c48f23e6
2 changed files with 11 additions and 4 deletions

View File

@ -8,12 +8,13 @@
#include "glquake.h"
#endif
#include "com_mesh.h"
#ifdef _WIN32
#include <malloc.h>
#else
#include <alloca.h>
#endif
extern cvar_t gl_part_flame, r_fullbrightSkins, r_fb_models;
extern cvar_t r_noaliasshadows;

View File

@ -27,6 +27,12 @@
#include <stdlib.h>
#endif
#ifdef _WIN32
#include <malloc.h>
#else
#include <alloca.h>
#endif
#define MAX_BONES 256
#ifndef SERVERONLY