summaryrefslogtreecommitdiff
path: root/lib/util
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util')
-rw-r--r--lib/util/debug.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/util/debug.h b/lib/util/debug.h
index fd2adcfded..0172df8efe 100644
--- a/lib/util/debug.h
+++ b/lib/util/debug.h
@@ -63,6 +63,10 @@ extern int DEBUGLEVEL;
*/
#define DEBUGADD(level, body) _DEBUG(level, body, false)
+/* Compatiblity macros for the source3 calling convention */
+#define DEBUGC(class, level, body) _DEBUG(level, body, true)
+#define DEBUGADDC(class, level, body) _DEBUG(level, body, false)
+
/**
* Obtain indentation string for the debug log.
*