Branch: Tag:

2002-04-09

2002-04-09 21:14:11 by Mikael Brandström <mikael@brandstrom.org>

Definition of DO_IF_PROFILING moved since it was only defined in
pike_threadlib.h if threads were enabled. DO_IF_PROFILING is referenced
from interpret_functions.h too.
too.

Rev: src/global.h:1.67
Rev: src/pike_threadlib.h:1.14

5:   \*/      /* -  * $Id: global.h,v 1.66 2002/01/16 02:54:12 nilsson Exp $ +  * $Id: global.h,v 1.67 2002/04/09 21:14:11 mikael%unix.pp.se Exp $    */   #ifndef GLOBAL_H   #define GLOBAL_H
453:   #define DO_IF_RUN_UNLOCKED(X)   #endif    + /* Used in more than one place, better put it here */ +  + #if defined(PROFILING) && defined(HAVE_GETHRTIME) + #define DO_IF_PROFILING(X) X + #else + #define DO_IF_PROFILING(X)   #endif -  +  +  +  + #endif