remove mmgr and macros that redefine malloc/new/free

(see http://www.wildfiregames.com/forum/index.php?showtopic=11450&hl= )

clean up debug module
. no longer include platform-dependent header (-> less rebuilds)
. DISPLAY_ERROR -> DEBUG_DISPLAY_ERROR
. parts of config.h that don't affect all files moved to config.2 (->
fewer full rebuilds)
. remove creaky symbol cache (no longer needed for mmgr)
. remove TLS thread naming stuff (can use debugger's thread window
instead; no need for platform independence there)

wdbg: remove thread suspension and breakpoint APIs (not needed)

acpi: fix: u64 -> uintptr_t

wutil: fix WinScopedLock, use that instead of direct lock() functions

misc:
. get rid of SAFE_STRCPY, replace with strcpy_s
. remove _getcwd (shouldn't be used)

This was SVN commit r5563.
This commit is contained in:
janwas
2008-01-19 11:33:11 +00:00
parent 3d571150ae
commit 9269be9ee3
52 changed files with 301 additions and 1174 deletions
+3
View File
@@ -10,6 +10,7 @@
#include "precompiled.h"
#if 0
ERROR_ASSOCIATE(ERR::MEM_ALLOC_NOT_FOUND, "Not a valid allocated address", -1);
ERROR_ASSOCIATE(ERR::MEM_OVERWRITTEN, "Wrote to memory outside valid allocation", -1);
@@ -1418,3 +1419,5 @@ void operator delete[](void* p, const char* file, int line, const char* func) th
}
#endif // #if CONFIG_USE_MMGR
#endif