pike.git/
src/
global.h
Branch:
Tag:
Non-build tags
All tags
No tags
2016-02-11
2016-02-11 19:14:56 by Martin Nilsson <nilsson@fastmail.com>
ec4131c8bddc9fe2d4f0d9ef7829cd9a99fc865c (
7
lines) (+
4
/-
3
)
[
Show
|
Annotate
]
Branch:
8.1
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