Fixed compilation issues with CGAME_DLL

This commit is contained in:
L 2023-04-30 20:36:22 +02:00
parent e49bb9af31
commit 7e0147d842
3 changed files with 40 additions and 6 deletions

View file

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