From 436cb39ffb7747fae79f41e6bcddb17bd9d7793a Mon Sep 17 00:00:00 2001 From: cxgeorge <> Date: Wed, 18 Apr 2001 19:45:25 +0000 Subject: [PATCH] change TEST_INLINING flag --- dtool/src/dtoolbase/dtoolbase_cc.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dtool/src/dtoolbase/dtoolbase_cc.h b/dtool/src/dtoolbase/dtoolbase_cc.h index 07a73ca98f..795ffce393 100644 --- a/dtool/src/dtoolbase/dtoolbase_cc.h +++ b/dtool/src/dtoolbase/dtoolbase_cc.h @@ -54,10 +54,10 @@ using namespace std; #define TYPENAME typename -#if defined(WIN32_VC) && defined(TEST_INLINING) -// If TEST_INLINING is defined, we use the keyword __forceinline, -// which tells VC++ that we really mean it when we say inline. Of -// course, that doesn't seem to have any additional persuasive effect. +#if defined(WIN32_VC) && defined(FORCE_INLINING) +// If FORCE_INLINING is defined, we use the keyword __forceinline, +// which tells MS VC++ to override its internal benefit heuristic +// and inline the fn if it is technically possible to do so. #define INLINE __forceinline #else #define INLINE inline