git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae52f95
)
lib/debug Add DEBUGC and DEBUGADDC as dummies
author
Andrew Bartlett
<abartlet@samba.org>
Fri, 17 Sep 2010 05:18:57 +0000
(15:18 +1000)
committer
Andrew Bartlett
<abartlet@samba.org>
Tue, 12 Oct 2010 02:54:16 +0000
(
02:54
+0000)
This allows code that needs to also compile against the source3
debug code to compile in source4.
Andrew Bartlett
lib/util/debug.h
patch
|
blob
|
history
diff --git
a/lib/util/debug.h
b/lib/util/debug.h
index fd2adcfdedf071850867ce1b06f969ae5f121d52..0172df8efe553ed9de81e474366287e95280db2f 100644
(file)
--- 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.
*