From a2f2d4c40a3c7751a9d3f265c306979b47eae802 Mon Sep 17 00:00:00 2001 From: Nicolas Bacca Date: Sun, 13 Jul 2003 12:15:43 +0000 Subject: Do not use free_check on WinCE svn-id: r8975 --- common/scummsys.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'common/scummsys.h') diff --git a/common/scummsys.h b/common/scummsys.h index ed790006df..5faffb8ca0 100644 --- a/common/scummsys.h +++ b/common/scummsys.h @@ -422,8 +422,10 @@ void operator delete(void *ptr); // 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