diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-09-17 15:18:57 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-10-12 02:54:16 +0000 |
commit | d406e511a5f46b7212584b23d17e97508e7f537b (patch) | |
tree | 5264c6150b5e54113d58002f79eb705c396a0e6c /lib/util | |
parent | ae52f953af457c86e5e6db973fd89b2b5cd5b946 (diff) | |
download | samba-d406e511a5f46b7212584b23d17e97508e7f537b.tar.gz samba-d406e511a5f46b7212584b23d17e97508e7f537b.tar.bz2 samba-d406e511a5f46b7212584b23d17e97508e7f537b.zip |
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
Diffstat (limited to 'lib/util')
-rw-r--r-- | lib/util/debug.h | 4 |
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. * |