aboutsummaryrefslogtreecommitdiff
path: root/sound/softsynth/pcspk.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2007-11-19 00:45:58 +0000
committerFilippos Karapetis2007-11-19 00:45:58 +0000
commit24d1eff8e4d4b3c049df93e834a26b6ec15a9160 (patch)
treedad08d3cdf7d92db86f51986e51c39286591e273 /sound/softsynth/pcspk.cpp
parented824ae03b51014160709a43a7d0fb81dc3e7c75 (diff)
downloadscummvm-rg350-24d1eff8e4d4b3c049df93e834a26b6ec15a9160.tar.gz
scummvm-rg350-24d1eff8e4d4b3c049df93e834a26b6ec15a9160.tar.bz2
scummvm-rg350-24d1eff8e4d4b3c049df93e834a26b6ec15a9160.zip
Define M_PI if it's not defined (seems not to be defined under MSVC)
svn-id: r29566
Diffstat (limited to 'sound/softsynth/pcspk.cpp')
-rw-r--r--sound/softsynth/pcspk.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/softsynth/pcspk.cpp b/sound/softsynth/pcspk.cpp
index 444311c9a2..18bd1ceb5f 100644
--- a/sound/softsynth/pcspk.cpp
+++ b/sound/softsynth/pcspk.cpp
@@ -25,6 +25,10 @@
#include "sound/softsynth/pcspk.h"
+#ifndef M_PI
+#define M_PI 3.14159265358979323846
+#endif
+
namespace Audio {
const PCSpeaker::generatorFunc PCSpeaker::generateWave[] =