aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alcReverb.c
diff options
context:
space:
mode:
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