ref: b8c50c37a7599e51f3d935ce9fbfd2513fc0ee92
parent: 44e9eeb55c9d5ef65d32abe73ab0d1a6dfb2817e
author: Paul Brossier <piem@piem.org>
date: Sun Sep 6 05:27:23 EDT 2015
src/aubio_priv.h: add missing if/endif
--- a/src/aubio_priv.h
+++ b/src/aubio_priv.h
@@ -76,6 +76,7 @@
#ifdef HAVE_ACCELERATE
#include <Accelerate/Accelerate.h>
+#if !HAVE_AUBIO_DOUBLE
#define aubio_vDSP_mmov vDSP_mmov
#define aubio_vDSP_vmul vDSP_vmul
#define aubio_vDSP_vfill vDSP_vfill
@@ -84,7 +85,7 @@
#define aubio_vDSP_vmul vDSP_vmulD
#define aubio_vDSP_vfill vDSP_vfillD
#endif /* HAVE_AUBIO_DOUBLE */
-#endif
+#endif /* HAVE_ACCELERATE */
#ifdef HAVE_ATLAS
#if !HAVE_AUBIO_DOUBLE
@@ -94,6 +95,7 @@
#define aubio_catlas_set catlas_dset
#define aubio_cblas_copy cblas_dcopy
#endif /* HAVE_AUBIO_DOUBLE */
+#endif /* HAVE_ATLAS */
#if !defined(HAVE_MEMCPY_HACKS) && !defined(HAVE_ACCELERATE) && !defined(HAVE_ATLAS)
#define HAVE_NOOPT 1