memory test

This commit is contained in:
David Anderson 2004-09-11 17:42:08 +00:00
parent 00582481c6
commit 8377680989

View File

@ -2689,6 +2689,8 @@ void ValidateMacros_DontCallThis_Smiley()
}
#endif
#ifdef MEMORY_TEST
/************* MEMORY *************/
// undef all defined macros
#undef new
@ -2860,6 +2862,8 @@ void operator delete[](void *reportedAddress)
Mem_Deallocator(g_Mem_CurrentFilename, g_Mem_CurrentLine, g_Mem_CurrentFunc, m_alloc_delete_array, reportedAddress);
}
#endif
/************* stuff from dlls/util.cpp *************/
// must come here because cbase.h declares it's own operator new