From 837768098905ed9e9c90a7f9e349284c18e8f81e Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sat, 11 Sep 2004 17:42:08 +0000 Subject: [PATCH] memory test --- dlls/fakemeta/sdk/amxxmodule.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dlls/fakemeta/sdk/amxxmodule.cpp b/dlls/fakemeta/sdk/amxxmodule.cpp index 5d1b4fb9..f6a95cb3 100755 --- a/dlls/fakemeta/sdk/amxxmodule.cpp +++ b/dlls/fakemeta/sdk/amxxmodule.cpp @@ -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