summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2013-04-09 11:29:15 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2013-04-09 11:29:15 +1000
commita4ff0f0eee046be846cc0f46edaba48b765e50d3 (patch)
tree2042de45339b3b8749275f75b1bd66b9f86c9df5
parent705b9bbb426410f9510601c7010da51184919b36 (diff)
Use DEBUG, not DEBUG_ON to determine whether debugging is enabled
Nothing else looks at DEBUG_ON. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--utils.h2
1 files changed, 1 insertions, 1 deletions
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);}