mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Fixed compilation issues with CGAME_DLL
This commit is contained in:
parent
e49bb9af31
commit
7e0147d842
3 changed files with 40 additions and 6 deletions
|
@ -29,6 +29,14 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
|
||||
#define MEM_TempAllocate(x) gi.Malloc(x)
|
||||
#define MEM_TempFree(x) gi.Free(x)
|
||||
|
||||
#elif defined(CGAME_DLL)
|
||||
|
||||
#include "cg_local.h"
|
||||
|
||||
#define MEM_TempAllocate(x) cgi.Malloc(x)
|
||||
#define MEM_TempFree(x) cgi.Free(x)
|
||||
|
||||
#else
|
||||
#include "qcommon.h"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue