mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-26 13:50:53 +00:00
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:
parent
faac72835c
commit
43c48f23e6
2 changed files with 11 additions and 4 deletions
|
@ -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;
|
||||
|
|
|
@ -27,6 +27,12 @@
|
|||
#include <stdlib.h>
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <malloc.h>
|
||||
#else
|
||||
#include <alloca.h>
|
||||
#endif
|
||||
|
||||
#define MAX_BONES 256
|
||||
|
||||
#ifndef SERVERONLY
|
||||
|
|
Loading…
Reference in a new issue