From d406e511a5f46b7212584b23d17e97508e7f537b Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 17 Sep 2010 15:18:57 +1000 Subject: lib/debug Add DEBUGC and DEBUGADDC as dummies This allows code that needs to also compile against the source3 debug code to compile in source4. Andrew Bartlett --- lib/util/debug.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/util/debug.h') 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. * -- cgit