diff options
author | Chris Robinson <[email protected]> | 2012-03-27 08:20:04 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-03-27 08:20:04 -0700 |
commit | c23cfdcfa1ae643f6d598a5a52140fdcc69e55a0 (patch) | |
tree | 1f1b80a160d0376ad1e303d3f08c5371922c3fc9 /utils/makehrtf.c | |
parent | 929e9bfac1c30be4fb62eaa4a714c415b152f734 (diff) |
Make sure M_PI is defined for makehrtf
Diffstat (limited to 'utils/makehrtf.c')
-rw-r--r-- | utils/makehrtf.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/makehrtf.c b/utils/makehrtf.c index 53ee46dd..a5debab7 100644 --- a/utils/makehrtf.c +++ b/utils/makehrtf.c @@ -15,6 +15,10 @@ #include "AL/al.h" +#ifndef M_PI +#define M_PI 3.14159265358979323846 +#endif + // The sample rate of the MIT HRIR data sets. #define MIT_IR_RATE (44100) |