Branch: Tag:

2016-02-11

2016-02-11 19:14:56 by Martin Nilsson <nilsson@fastmail.com>

DO_IF_PROFILING was only used for debug printouts, so rewrite it as such.

671:   #define USE_PIKE_TYPE 2      /* Used in more than one place, better put it here */ - #if defined(PROFILING) + #ifdef PROFILING   #define DO_IF_PROFILING(X) X   #else   #define DO_IF_PROFILING(X)
680:   /* #define PROFILING_DEBUG */      #ifdef PROFILING_DEBUG - #define DO_IF_PROFILING_DEBUG(X) X + #define W_PROFILING_DEBUG(...) WERR(__VA_ARGS__)   #else /* !PROFILING_DEBUG */ - #define DO_IF_PROFILING_DEBUG(X) + #define W_PROFILING_DEBIG(...)   #endif /* PROFILING_DEBUG */      #endif