commit | 16b086263cebba71c408ff5643415f1c198bef06 | [log] [tgz] |
---|---|---|
author | jm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800> | Sun Dec 18 21:56:40 2005 +0000 |
committer | jm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800> | Sun Dec 18 21:56:40 2005 +0000 |
tree | afa2fe68a30ce44b4389ff7d6b4c73c8ea707fc4 | |
parent | 32497d7d725d1244296ce4e5f68308655d70f9b8 [diff] |
definition of M_PI git-svn-id: http://svn.xiph.org/trunk/speex@10648 0101bb08-14d6-0310-b084-bc0e0c8e3800
diff --git a/libspeex/math_approx.c b/libspeex/math_approx.c index 08038ba..41cb855 100644 --- a/libspeex/math_approx.c +++ b/libspeex/math_approx.c
@@ -151,6 +151,10 @@ #else +#ifndef M_PI +#define M_PI 3.14159265358979323846 /* pi */ +#endif + #define C1 0.9999932946f #define C2 -0.4999124376f #define C3 0.0414877472f