aboutsummaryrefslogtreecommitdiffstats
path: root/funcs
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-03-08 05:12:55 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-03-08 05:12:55 +0000
commit87f076953c8a1623ff38cb08732f56bb68802d3b (patch)
treeaa37a241d65698ce2986f79aa0a59955216c678d /funcs
parent1dbdfb8b2859e8a306cea30b69916c3247a96b6c (diff)
Change needed to make Mac OS X 10.6 happy
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@251262 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs')
-rw-r--r--funcs/func_pitchshift.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/funcs/func_pitchshift.c b/funcs/func_pitchshift.c
index ebeceb60e..7b7c9a2ca 100644
--- a/funcs/func_pitchshift.c
+++ b/funcs/func_pitchshift.c
@@ -108,7 +108,9 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
</function>
***/
+#ifndef M_PI
#define M_PI 3.14159265358979323846
+#endif
#define MAX_FRAME_LENGTH 256
#define HIGHEST 2