From be6e31124ba9961b71556508d9e239cc32437f1d Mon Sep 17 00:00:00 2001
From: "Mirar (Pontus Hagland)" <pike@sort.mirar.org>
Date: Tue, 24 Feb 1998 01:47:22 +0100
Subject: [PATCH] Needed dont_hide_globals

Rev: src/threads.h:1.23
---
 src/threads.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/threads.h b/src/threads.h
index ab4a6a6c6a..2d00ab26d4 100644
--- a/src/threads.h
+++ b/src/threads.h
@@ -216,7 +216,7 @@ struct thread_state {
    SWAP_IN_THREAD(_tmp);\
  } while(0)
 
-#ifdef DEBUG
+#if defined(DEBUG) && ! defined(DONT_HIDE_GLOBALS)
 /* Note that scalar types are used in place of pointers and vice versa
  * below. This is intended to cause compiler warnings/errors if
  * there is an attempt to use the global variables in an unsafe
-- 
GitLab