SASADA Koichi <ko1 / atdot.net> wrote:
> (2014/03/01 16:15), normal wrote:
> > -#ifdef RGENGC_ESTIMATE_OLDMALLOC
> > +#if (USE_RGENGC) && defined(RGENGC_ESTIMATE_OLDMALLOC)
> 
> Is this check needed?
> 
> RGENGC_ESTIMATE_OLDMALLOC is always 0 if USE_RGENGC is not defined.

I used "#define USE_RGENGC 0" in ruby.h, so USE_RGENGC
is defined.

Looking more closely, I suppose just using #if RGENGC_ESTIMATE_OLDMALLOC
(not #ifdef) will work...