src/spectral/mfcc.c: avoid undef, use slow version if HAVE_NOOPT
authorPaul Brossier <piem@piem.org>
Tue, 18 Sep 2018 14:11:20 +0000 (16:11 +0200)
committerPaul Brossier <piem@piem.org>
Tue, 18 Sep 2018 14:11:20 +0000 (16:11 +0200)
src/spectral/mfcc.c

index 83d1963..32f0beb 100644 (file)
@@ -31,7 +31,9 @@
 #include "spectral/dct.h"
 #include "spectral/mfcc.h"
 
-#undef HAVE_SLOW_DCT
+#ifdef HAVE_NOOPT
+#define HAVE_SLOW_DCT 1
+#endif
 
 /** Internal structure for mfcc object */