diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2013-04-09 11:29:15 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2013-04-09 11:29:15 +1000 |
commit | a4ff0f0eee046be846cc0f46edaba48b765e50d3 (patch) | |
tree | 2042de45339b3b8749275f75b1bd66b9f86c9df5 | |
parent | 705b9bbb426410f9510601c7010da51184919b36 (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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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);} |