shithub: aubio

Download patch

ref: c21553d9684c83ee03cea11f10c14a751d6e6c4b
parent: f3bb92cb4945c516e924148fe8a21031fa49e54d
author: Paul Brossier <piem@piem.org>
date: Sun Feb 23 08:06:15 EST 2014

tests/src/io/test-sink_wavwrite-multi.c: fix flags

--- a/tests/src/io/test-sink_wavwrite-multi.c
+++ b/tests/src/io/test-sink_wavwrite-multi.c
@@ -16,7 +16,7 @@
     return err;
   }
 
-#ifdef __APPLE__
+#ifdef HAVE_WAVWRITE
   uint_t samplerate = 0;
   uint_t channels = 0;
   uint_t hop_size = 512;
@@ -73,6 +73,6 @@
 #else
   err = 3;
   PRINT_ERR("aubio was not compiled with aubio_sink_wavwrite\n");
-#endif /* __APPLE__ */
+#endif /* HAVE_WAVWRITE */
   return err;
 }