From 24d1eff8e4d4b3c049df93e834a26b6ec15a9160 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Mon, 19 Nov 2007 00:45:58 +0000 Subject: Define M_PI if it's not defined (seems not to be defined under MSVC) svn-id: r29566 --- sound/softsynth/pcspk.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sound/softsynth/pcspk.cpp') 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[] = -- cgit v1.2.3