aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alcReverb.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2009-03-15 23:14:40 -0700
committerChris Robinson <[email protected]>2009-03-15 23:14:40 -0700
commit9306e36d526a6157e507d83fee6a35a539e4bc55 (patch)
tree0338235e5feee811fcfba8b2dc46197580236ac2 /Alc/alcReverb.c
parent61122a509310a802facc6377f51a7dc78c65694c (diff)
Make sure M_PI is defined for reverb
Diffstat (limited to 'Alc/alcReverb.c')
-rw-r--r--Alc/alcReverb.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Alc/alcReverb.c b/Alc/alcReverb.c
index 0a65920f..30581ff0 100644
--- a/Alc/alcReverb.c
+++ b/Alc/alcReverb.c
@@ -44,6 +44,10 @@
#define __min min
#endif
+#ifndef M_PI
+#define M_PI 3.14159265358979323846 /* pi */
+#endif
+
typedef struct DelayLine
{
// The delay lines use sample lengths that are powers of 2 to allow