From: Malcolm Beattie Date: Thu, 12 Feb 1998 17:34:02 +0000 (+0000) Subject: Missing WITH_THR from new deb() in ENTER/LEAVE caused builds X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f3dc24a506bc9f8ad2439e198f72ce34fb1c42b0;p=p5sagit%2Fp5-mst-13.2.git Missing WITH_THR from new deb() in ENTER/LEAVE caused builds with -DUSE_THREADS -DDEBUGGING to fail. p4raw-id: //depot/perl@512 --- diff --git a/scope.h b/scope.h index 44bc435..3c38a1f 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