projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9906b3f
)
examples/sndfileio.c: do not compile if sndfile is missing
author
Paul Brossier
<piem@piem.org>
Sat, 7 Jan 2012 02:50:52 +0000
(18:50 -0800)
committer
Paul Brossier
<piem@piem.org>
Sat, 7 Jan 2012 02:50:52 +0000
(18:50 -0800)
examples/sndfileio.c
patch
|
blob
|
history
diff --git
a/examples/sndfileio.c
b/examples/sndfileio.c
index 6e7c24cff2eaf420c3af93d8ba23be4ca7dc9abb..808553bf16b20e0505457b853cace7bdc3fc99bb 100644
(file)
--- a/
examples/sndfileio.c
+++ b/
examples/sndfileio.c
@@
-18,6
+18,8
@@
*/
+#ifdef HAVE_SNDFILE
+
#include <string.h>
#include <sndfile.h>
@@
-247,3
+249,4
@@
void aubio_sndfile_info(aubio_sndfile_t * f) {
AUBIO_DBG("format : %d\n", f->format);
}
+#endif /* HAVE_SNDFILE */