aboutsummaryrefslogtreecommitdiffstats
path: root/utils/makehrtf.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-03-27 08:20:04 -0700
committerChris Robinson <[email protected]>2012-03-27 08:20:04 -0700
commitc23cfdcfa1ae643f6d598a5a52140fdcc69e55a0 (patch)
tree1f1b80a160d0376ad1e303d3f08c5371922c3fc9 /utils/makehrtf.c
parent929e9bfac1c30be4fb62eaa4a714c415b152f734 (diff)
Make sure M_PI is defined for makehrtf
Diffstat (limited to 'utils/makehrtf.c')
-rw-r--r--utils/makehrtf.c4
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)