summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon/Src/DPL2Decoder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/AudioCommon/Src/DPL2Decoder.cpp')
-rw-r--r--Source/Core/AudioCommon/Src/DPL2Decoder.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/AudioCommon/Src/DPL2Decoder.cpp b/Source/Core/AudioCommon/Src/DPL2Decoder.cpp
index 5b41c605ce..97bdb5413d 100644
--- a/Source/Core/AudioCommon/Src/DPL2Decoder.cpp
+++ b/Source/Core/AudioCommon/Src/DPL2Decoder.cpp
@@ -14,8 +14,12 @@
#include <string.h>
#include "DPL2Decoder.h"
+#ifndef M_PI
#define M_PI 3.14159265358979323846
+#endif
+#ifndef M_SQRT1_2
#define M_SQRT1_2 0.70710678118654752440
+#endif
int olddelay = -1;
unsigned int oldfreq = 0;