src/aubio_priv.h: use if HAVE_AUBIO_DOUBLE, defined in types.h
[aubio.git] / src / aubio_priv.h
index 5dd8f25..90853b9 100644 (file)
@@ -198,7 +198,7 @@ typedef enum {
 #endif
 
 /* aliases to math.h functions */
-#ifndef HAVE_AUBIO_DOUBLE
+#if !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 defined(HAVE_AUBIO_DOUBLE) || !defined(HAVE_COMPLEX_H) || defined(WIN32)
+#if HAVE_AUBIO_DOUBLE || !defined(HAVE_COMPLEX_H) || defined(WIN32)
 /* mingw32 does not know about c*f functions */
 #define EXPC      cexp
 /** complex = CEXPC(complex) */