From 4ddb69b56f2481b85222a188233ab9fa2b76012d Mon Sep 17 00:00:00 2001 From: David Rose Date: Mon, 20 Mar 2006 01:02:11 +0000 Subject: [PATCH] inconsistent #if --- dtool/LocalSetup.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dtool/LocalSetup.pp b/dtool/LocalSetup.pp index 5cffb55b57..d97965797d 100644 --- a/dtool/LocalSetup.pp +++ b/dtool/LocalSetup.pp @@ -496,8 +496,8 @@ $[cdefine USE_MEMORY_NOWRAPPERS] #define VC6_STYLE_ALLOCATOR #define MODERN_STYLE_ALLOCATOR #define NO_STYLE_ALLOCATOR -#if $[eq $[OPTIMIZE], 4] - // In optimize level 4, we never try to use custom allocators. +#if $[not $[DO_MEMORY_USAGE]] + // Without DO_MEMORY_USAGE, we never try to use custom allocators. #set NO_STYLE_ALLOCATOR 1 #elif $[eq $[STL_ALLOCATOR], OLD] // "OLD": Irix 6.2-era STL.