diff options
Diffstat (limited to 'sound')
-rw-r--r-- | sound/softsynth/pcspk.cpp | 4 |
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[] = |