[Scummvm-cvs-logs] SF.net SVN: scummvm: [29566] scummvm/trunk/sound/softsynth/pcspk.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Mon Nov 19 01:45:58 CET 2007
Revision: 29566
http://scummvm.svn.sourceforge.net/scummvm/?rev=29566&view=rev
Author: thebluegr
Date: 2007-11-18 16:45:58 -0800 (Sun, 18 Nov 2007)
Log Message:
-----------
Define M_PI if it's not defined (seems not to be defined under MSVC)
Modified Paths:
--------------
scummvm/trunk/sound/softsynth/pcspk.cpp
Modified: scummvm/trunk/sound/softsynth/pcspk.cpp
===================================================================
--- scummvm/trunk/sound/softsynth/pcspk.cpp 2007-11-19 00:38:38 UTC (rev 29565)
+++ scummvm/trunk/sound/softsynth/pcspk.cpp 2007-11-19 00:45:58 UTC (rev 29566)
@@ -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[] =
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list