From e09b89bbbfa1a94890e6914ac86e715970d94534 Mon Sep 17 00:00:00 2001
From: "Mirar (Pontus Hagland)" <pike@sort.mirar.org>
Date: Tue, 6 Jan 1998 23:30:27 +0100
Subject: [PATCH] needed DONT_HIDE_GLOBALS to find more useful warnings

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

diff --git a/src/threads.h b/src/threads.h
index 4e3866d7e1..70282721e1 100644
--- a/src/threads.h
+++ b/src/threads.h
@@ -288,7 +288,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