Better CYTHON_TRACING macro.
authorRobert Bradshaw <robertwb@math.washington.edu>
Tue, 21 Jul 2009 07:34:09 +0000 (00:34 -0700)
committerRobert Bradshaw <robertwb@math.washington.edu>
Tue, 21 Jul 2009 07:34:09 +0000 (00:34 -0700)
Cython/Compiler/Nodes.py

index a0ee977ccac2213bc790055eaaa2dfe66734f85f..efba286bb1e1cbd9dd9867bdf2ea859e6d2a3bd6 100644 (file)
@@ -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