ref: 770f7b4984f8c5a8da5aac591cc467e9a3087d7f
parent: c18bbefe29410df2926c9b7b727b66cce5240ad1
author: Paul Brossier <piem@piem.org>
date: Wed May 11 21:21:32 EDT 2016
src/aubio_priv.h: use if HAVE_AUBIO_DOUBLE, defined in types.h
--- a/src/aubio_priv.h
+++ b/src/aubio_priv.h
@@ -198,7 +198,7 @@
#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 @@
#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) */