diff options
author | Chris Robinson <[email protected]> | 2009-03-15 23:14:40 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2009-03-15 23:14:40 -0700 |
commit | 9306e36d526a6157e507d83fee6a35a539e4bc55 (patch) | |
tree | 0338235e5feee811fcfba8b2dc46197580236ac2 | |
parent | 61122a509310a802facc6377f51a7dc78c65694c (diff) |
Make sure M_PI is defined for reverb
-rw-r--r-- | Alc/alcReverb.c | 4 |
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 |