ref: 68a3fc924772da2b32e508133c171766dc68a424
parent: 32f5a0144bc8580b1d8337276294df8d55c5ef22
author: Paul Brossier <piem@piem.org>
date: Fri Sep 11 20:06:19 EDT 2009
src/aubio_priv.h: add missing CEIL, rename TRUNC to ROUND, use FLOOR(x+.5) to avoid -std=c99 needed by roundf
--- a/src/aubio_priv.h
+++ b/src/aubio_priv.h
@@ -131,7 +131,8 @@
#define LOG10 log10f
#define LOG logf
#define FLOOR floorf
-#define TRUNC truncf
+#define CEIL ceilf
+#define ROUND(x) FLOOR(x_.5)
/* aliases to complex.h functions */
#if !defined(HAVE_COMPLEX_H) || defined(WIN32)