mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Fixed compilation errors with DEBUG_MEMORY on Linux because of CRT
This commit is contained in:
parent
67556a88f1
commit
8af202bd5f
1 changed files with 5 additions and 3 deletions
|
@ -150,9 +150,11 @@ extern "C" {
|
|||
#ifndef Q3_VM
|
||||
|
||||
#ifdef _DEBUG_MEM
|
||||
#define _CRTDBG_MAP_ALLOC
|
||||
#include <stdlib.h>
|
||||
#include <crtdbg.h>
|
||||
# ifdef WIN32
|
||||
# define _CRTDBG_MAP_ALLOC
|
||||
# include <stdlib.h>
|
||||
# include <crtdbg.h>
|
||||
# endif
|
||||
|
||||
#define Z_Malloc malloc
|
||||
#define Z_TagMalloc(size, tag) malloc( size )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue