projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c37bc19
)
[priv] also define variadic no-op debug macro
author
Paul Brossier
<piem@piem.org>
Sat, 29 Jun 2019 14:45:56 +0000
(16:45 +0200)
committer
Paul Brossier
<piem@piem.org>
Sat, 29 Jun 2019 14:45:56 +0000
(16:45 +0200)
src/aubio_priv.h
patch
|
blob
|
history
diff --git
a/src/aubio_priv.h
b/src/aubio_priv.h
index
bf17ed0
..
8cb6756
100644
(file)
--- 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