From f8eed0713059b5c4e8e56ba98b8a33fe2a472d84 Mon Sep 17 00:00:00 2001 From: Jamie Bullock Date: Mon, 3 Sep 2007 14:31:58 +0000 Subject: Checked ANSI C89 compliance (basically a few ifndefs for the C99 math functions: powf, roundf etc). Added a few PD examples/tests. --- src/scalar.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/scalar.c') diff --git a/src/scalar.c b/src/scalar.c index ec22dd4..6270869 100644 --- a/src/scalar.c +++ b/src/scalar.c @@ -28,6 +28,14 @@ #include #include +#ifndef powf + #define powf pow +#endif + +#ifndef expf + #define expf exp +#endif + int xtract_mean(const float *data, const int N, const void *argv, float *result){ int n = N; -- cgit v1.2.3