tests/src/io/test-sink_wavwrite-multi.c: fix flags
authorPaul Brossier <piem@piem.org>
Sun, 23 Feb 2014 16:06:15 +0000 (13:06 -0300)
committerPaul Brossier <piem@piem.org>
Sun, 23 Feb 2014 16:06:15 +0000 (13:06 -0300)
tests/src/io/test-sink_wavwrite-multi.c

index d677056..c80e2c0 100644 (file)
@@ -16,7 +16,7 @@ int main (int argc, char **argv)
     return err;
   }
 
-#ifdef __APPLE__
+#ifdef HAVE_WAVWRITE
   uint_t samplerate = 0;
   uint_t channels = 0;
   uint_t hop_size = 512;
@@ -73,6 +73,6 @@ beach_source:
 #else
   err = 3;
   PRINT_ERR("aubio was not compiled with aubio_sink_wavwrite\n");
-#endif /* __APPLE__ */
+#endif /* HAVE_WAVWRITE */
   return err;
 }