summaryrefslogtreecommitdiff
path: root/scope.h
diff options
context:
space:
mode:
authorMalcolm Beattie <mbeattie@sable.ox.ac.uk>1998-02-12 17:34:02 +0000
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1998-02-12 17:34:02 +0000
commitf3dc24a506bc9f8ad2439e198f72ce34fb1c42b0 (patch)
tree0f093d5c6f69c8fbd465478d45bb1817b6d5f3ce /scope.h
parent4fb41b6cb72040b7cabcc2aa7260435ccfcdc2a2 (diff)
downloadperl-f3dc24a506bc9f8ad2439e198f72ce34fb1c42b0.tar.gz
Missing WITH_THR from new deb() in ENTER/LEAVE caused builds
with -DUSE_THREADS -DDEBUGGING to fail. p4raw-id: //depot/perl@512
Diffstat (limited to 'scope.h')
-rw-r--r--scope.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/scope.h b/scope.h
index 44bc43567a..3c38a1ffc3 100644
--- a/scope.h
+++ b/scope.h
@@ -43,13 +43,13 @@
#define ENTER \
STMT_START { \
push_scope(); \
- DEBUG_l(deb("ENTER scope %ld at %s:%d\n", \
- scopestack_ix, __FILE__, __LINE__)); \
+ DEBUG_l(WITH_THR(deb("ENTER scope %ld at %s:%d\n", \
+ scopestack_ix, __FILE__, __LINE__))); \
} STMT_END
#define LEAVE \
STMT_START { \
- DEBUG_l(deb("LEAVE scope %ld at %s:%d\n", \
- scopestack_ix, __FILE__, __LINE__)); \
+ DEBUG_l(WITH_THR(deb("LEAVE scope %ld at %s:%d\n", \
+ scopestack_ix, __FILE__, __LINE__))); \
pop_scope(); \
} STMT_END
#else