aboutsummaryrefslogtreecommitdiff
path: root/common/scummsys.h
diff options
context:
space:
mode:
authorNicolas Bacca2003-07-13 12:15:43 +0000
committerNicolas Bacca2003-07-13 12:15:43 +0000
commita2f2d4c40a3c7751a9d3f265c306979b47eae802 (patch)
tree8f58d6fdfc0d0e5fee1f8b401df1b1774f44e173 /common/scummsys.h
parentbeef7347e67e3b5ccd71d261589b7d6ebbb8b401 (diff)
downloadscummvm-rg350-a2f2d4c40a3c7751a9d3f265c306979b47eae802.tar.gz
scummvm-rg350-a2f2d4c40a3c7751a9d3f265c306979b47eae802.tar.bz2
scummvm-rg350-a2f2d4c40a3c7751a9d3f265c306979b47eae802.zip
Do not use free_check on WinCE
svn-id: r8975
Diffstat (limited to 'common/scummsys.h')
-rw-r--r--common/scummsys.h2
1 files changed, 2 insertions, 0 deletions
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