From 42ef4a1d79eb85d450686e633500bc85450d8036 Mon Sep 17 00:00:00 2001 From: Alexander Chemeris Date: Thu, 2 Oct 2008 20:38:47 -0400 Subject: Fix for VS files to include multi-channel changes. Also patches scal.c for compilers that don't have M_PI defined. --- libspeex/scal.c | 4 ++++ 1 file changed, 4 insertions(+) mode change 100644 => 100755 libspeex/scal.c (limited to 'libspeex') diff --git a/libspeex/scal.c b/libspeex/scal.c old mode 100644 new mode 100755 index 1ddaba2..358f817 --- a/libspeex/scal.c +++ b/libspeex/scal.c @@ -52,6 +52,10 @@ The algorithm implemented here is described in: #include #include +#ifndef M_PI +#define M_PI 3.14159265358979323846 /* pi */ +#endif + #define ALLPASS_ORDER 20 struct SpeexDecorrState_ { -- cgit v1.2.3