From c84698cca6b31125080f8a91c764a48315f268b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fredrik=20H=C3=BCbinette=20=28Hubbe=29?= <hubbe@hubbe.net>
Date: Mon, 13 Oct 1997 20:11:45 -0700
Subject: [PATCH] more debug added

Rev: src/interpret.h:1.15
---
 src/interpret.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/interpret.h b/src/interpret.h
index 35936649ba..9b5fd6783e 100644
--- a/src/interpret.h
+++ b/src/interpret.h
@@ -80,8 +80,14 @@ do{ \
 #define check_threads_etc() \
   call_callback(& evaluator_callbacks, (void *)0)
 
+#ifdef DEBUG
+#define fast_check_threads_etc(X) do { \
+  static int div_; if(d_flag || !(div_++& ((1<<(X))-1))) check_threads_etc(); } while(0)
+
+#else
 #define fast_check_threads_etc(X) do { \
   static int div_; if(!(div_++& ((1<<(X))-1))) check_threads_etc(); } while(0)
+#endif
 
 /* Prototypes begin here */
 void push_sp_mark(void);
-- 
GitLab