[PATCH xkbcomp 1/2] Use DEBUG, not DEBUG_ON to determine whether debugging is enabled

Peter Hutterer peter.hutterer at who-t.net
Mon May 20 22:21:36 PDT 2013


Nothing else looks at DEBUG_ON.

Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 utils.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utils.h b/utils.h
index 63eda36..417d104 100644
--- a/utils.h
+++ b/utils.h
@@ -247,7 +247,7 @@ extern
      extern int uDebugIndentSize;
 #define	uDebugIndent(l)		(uDebugIndentLevel+=(l))
 #define	uDebugOutdent(l)	(uDebugIndentLevel-=(l))
-#ifdef DEBUG_ON
+#ifdef DEBUG
 #define	uDEBUG(f,s)		{ if (DEBUG_VAR&(f)) uDebug(s);}
 #define	uDEBUG1(f,s,a)		{ if (DEBUG_VAR&(f)) uDebug(s,a);}
 #define	uDEBUG2(f,s,a,b)	{ if (DEBUG_VAR&(f)) uDebug(s,a,b);}
-- 
1.8.1.4



More information about the xorg-devel mailing list