From: Paul Brossier Date: Sat, 29 Jun 2019 14:45:56 +0000 (+0200) Subject: [priv] also define variadic no-op debug macro X-Git-Url: https://git.aubio.org/?p=aubio.git;a=commitdiff_plain;h=cf31ff1ab7505063cf41b960c3cd56d602839082 [priv] also define variadic no-op debug macro --- diff --git a/src/aubio_priv.h b/src/aubio_priv.h index bf17ed09..8cb6756c 100644 --- a/src/aubio_priv.h +++ b/src/aubio_priv.h @@ -250,8 +250,12 @@ uint_t aubio_log(sint_t level, const char_t *fmt, ...); #define AUBIO_DBG _AUBIO_DBG #else // disable debug output +#ifdef HAVE_C99_VARARGS_MACROS +#define AUBIO_DBG(...) {} +#else #define AUBIO_DBG(format, args...) {} #endif +#endif #define AUBIO_ERROR AUBIO_ERR