summaryrefslogtreecommitdiffstats
path: root/source/include/smb.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/include/smb.h')
-rw-r--r--source/include/smb.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/source/include/smb.h b/source/include/smb.h
index 5d408719ae0..69f98dfdee7 100644
--- a/source/include/smb.h
+++ b/source/include/smb.h
@@ -141,6 +141,8 @@ BOOL dbgtext();
( (DEBUGLEVEL >= (level)) \
&& dbghdr( level, FILE_MACRO, FUNCTION_MACRO, (__LINE__) ) )
+#if 0
+
#define DEBUG( level, body ) \
( ( DEBUGLEVEL >= (level) \
&& dbghdr( level, FILE_MACRO, FUNCTION_MACRO, (__LINE__) ) ) \
@@ -149,6 +151,18 @@ BOOL dbgtext();
#define DEBUGADD( level, body ) \
( (DEBUGLEVEL >= (level)) ? (void)(dbgtext body) : (void)0 )
+#else
+
+#define DEBUG( level, body ) \
+ (void)( (DEBUGLEVEL >= (level)) \
+ && (dbghdr( level, FILE_MACRO, FUNCTION_MACRO, (__LINE__) )) \
+ && (dbgtext body) )
+
+#define DEBUGADD( level, body ) \
+ (void)( (DEBUGLEVEL >= (level)) && (dbgtext body) )
+
+#endif
+
/* End Debugging code section.
* -------------------------------------------------------------------------- **
*/