From b10f1677972a65712ec0d6d5123d6e72b47cdeb1 Mon Sep 17 00:00:00 2001 From: Robert Bradshaw Date: Tue, 21 Jul 2009 00:34:09 -0700 Subject: [PATCH] Better CYTHON_TRACING macro. --- Cython/Compiler/Nodes.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Cython/Compiler/Nodes.py b/Cython/Compiler/Nodes.py index a0ee977c..efba286b 100644 --- a/Cython/Compiler/Nodes.py +++ b/Cython/Compiler/Nodes.py @@ -5788,8 +5788,13 @@ proto=""" # but maybe some other profilers don't. trace_utility_code = UtilityCode(proto=""" +#ifndef CYTHON_TRACING #define CYTHON_TRACING 1 +#endif + +#ifndef CYTHON_TRACING_REUSE_FRAME #define CYTHON_TRACING_REUSE_FRAME 0 +#endif #if CYTHON_TRACING -- 2.26.2