From a4ff0f0eee046be846cc0f46edaba48b765e50d3 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 9 Apr 2013 11:29:15 +1000 Subject: Use DEBUG, not DEBUG_ON to determine whether debugging is enabled Nothing else looks at DEBUG_ON. Signed-off-by: Peter Hutterer Reviewed-by: Alan Coopersmith --- 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);} -- cgit v1.2.3