shithub: aubio

Download patch

ref: cf31ff1ab7505063cf41b960c3cd56d602839082
parent: c37bc1969be3955f877f6af005dd841b68f457d5
author: Paul Brossier <piem@piem.org>
date: Sat Jun 29 12:45:56 EDT 2019

[priv] also define variadic no-op debug macro

--- a/src/aubio_priv.h
+++ b/src/aubio_priv.h
@@ -250,7 +250,11 @@
 #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