From ff3b27c431d8bfe4f61bd42adf48461804111cf4 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sat, 30 Apr 2016 03:15:47 +0200 Subject: [PATCH] src/aubio_priv.h: use ifndef HAVE_AUBIO_DOUBLE --- src/aubio_priv.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/aubio_priv.h b/src/aubio_priv.h index f3562cc8..5dd8f259 100644 --- a/src/aubio_priv.h +++ b/src/aubio_priv.h @@ -76,7 +76,7 @@ #ifdef HAVE_ACCELERATE #include -#if !HAVE_AUBIO_DOUBLE +#ifndef HAVE_AUBIO_DOUBLE #define aubio_vDSP_mmov vDSP_mmov #define aubio_vDSP_vmul vDSP_vmul #define aubio_vDSP_vfill vDSP_vfill @@ -102,7 +102,7 @@ #endif /* HAVE_ACCELERATE */ #ifdef HAVE_ATLAS -#if !HAVE_AUBIO_DOUBLE +#ifndef HAVE_AUBIO_DOUBLE #define aubio_catlas_set catlas_sset #define aubio_cblas_copy cblas_scopy #define aubio_cblas_swap cblas_sswap @@ -198,7 +198,7 @@ typedef enum { #endif /* aliases to math.h functions */ -#if !HAVE_AUBIO_DOUBLE +#ifndef HAVE_AUBIO_DOUBLE #define EXP expf #define COS cosf #define SIN sinf @@ -226,7 +226,7 @@ typedef enum { #define ROUND(x) FLOOR(x+.5) /* aliases to complex.h functions */ -#if HAVE_AUBIO_DOUBLE || !defined(HAVE_COMPLEX_H) || defined(WIN32) +#if defined(HAVE_AUBIO_DOUBLE) || !defined(HAVE_COMPLEX_H) || defined(WIN32) /* mingw32 does not know about c*f functions */ #define EXPC cexp /** complex = CEXPC(complex) */ -- 2.11.0