From: Daiki Ueno Date: Fri, 18 Aug 2017 09:54:05 +0000 (+0200) Subject: common: Re-add placeholder definition of p11_debug X-Git-Tag: 0.23.9~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=26312a8774b5d113f6e7f904f7b6654449ab7b2e;p=p11-kit common: Re-add placeholder definition of p11_debug This was mistakenly removed in commit efe6dc56c. Pointed by Lars Wendler in issue #97. --- 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)