summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/debug.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/debug.h b/common/debug.h
index 4bf7e78..255c62c 100644
--- a/common/debug.h
+++ b/common/debug.h
@@ -144,6 +144,10 @@ void p11_debug_precond (const char *format,
#else /* !defined (WITH_DEBUG) */
+#undef p11_debug
+#define p11_debug(format, ...) \
+ do {} while (false)
+
#undef p11_debug_err
#define p11_debug_err(errnum, format, ...) \
do {} while (false)