diff options
author | Max Horn | 2003-12-21 19:24:14 +0000 |
---|---|---|
committer | Max Horn | 2003-12-21 19:24:14 +0000 |
commit | 2e99e3f1f9de9e8a5da3b30d4acf7294f6b67689 (patch) | |
tree | 84ff2f0dd9ac67b7bd03ac3a83205432abae6482 /common | |
parent | 9c9ee18ff8f95b79e89c69767fafbbf9a69caa4e (diff) | |
download | scummvm-rg350-2e99e3f1f9de9e8a5da3b30d4acf7294f6b67689.tar.gz scummvm-rg350-2e99e3f1f9de9e8a5da3b30d4acf7294f6b67689.tar.bz2 scummvm-rg350-2e99e3f1f9de9e8a5da3b30d4acf7294f6b67689.zip |
disable custom new/delete/free by default (only keep it around in case it comes in handy again in the future)
svn-id: r11839
Diffstat (limited to 'common')
-rw-r--r-- | common/scummsys.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/common/scummsys.h b/common/scummsys.h index 100b69b928..637cd995fa 100644 --- a/common/scummsys.h +++ b/common/scummsys.h @@ -426,10 +426,9 @@ FORCEINLINE uint16 SWAP_BYTES_16(uint16 a) { typedef int16 NewGuiColor; #endif -#if !defined(__PALM_OS__) && !defined(MACOSX) - /* Initialized operator new */ - // FIXME - get rid of these new/delete overrides!!! They conflict with the - // Standard C++ library, and they are only there to support lazy programmers anyway. +/* +#if !defined(__PALM_OS__) + // Initialized operator new void * operator new(size_t size); void operator delete(void *ptr); @@ -442,5 +441,6 @@ FORCEINLINE uint16 SWAP_BYTES_16(uint16 a) { void free_check(void *ptr); #endif #endif +*/ #endif |