From 5286121524b6723ac07fc23212fad0a31ee4706a Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 14 May 2005 15:33:27 +0000 Subject: Removing the last traces of the old custom new/delete operators svn-id: r18094 --- common/scummsys.h | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'common/scummsys.h') diff --git a/common/scummsys.h b/common/scummsys.h index 58b01b3902..8617624fb5 100644 --- a/common/scummsys.h +++ b/common/scummsys.h @@ -512,21 +512,4 @@ FORCEINLINE uint32 READ_BE_UINT24(const void *ptr) { #define STRINGBUFLEN 1024 #endif -/* -#if !defined(__PALM_OS__) - // Initialized operator new - void * operator new(size_t size); - void operator delete(void *ptr); - - // Temporary hack until we fully remove the new/delete operators: - // Since 'new' now returns a memory block inited to 0xE7E7E7E7 we might - // get some invocations of free() with that param. We check for those here. - // That allows us to set a debugger breakpoint to catch it. - #ifndef _WIN32_WCE - #define free(x) free_check(x) - void free_check(void *ptr); - #endif -#endif -*/ - #endif -- cgit v1.2.3