aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorChris Apers2004-10-06 09:39:07 +0000
committerChris Apers2004-10-06 09:39:07 +0000
commitd31cd1dd73aaf55fb0fa85b4da72267bbbf2d7a8 (patch)
treeee4d7a4eb937adc6769e6506d9098b13b8397faf /backends
parent1f197548f2d5cf4017dd4ccb8d649d09329d9c3c (diff)
downloadscummvm-rg350-d31cd1dd73aaf55fb0fa85b4da72267bbbf2d7a8.tar.gz
scummvm-rg350-d31cd1dd73aaf55fb0fa85b4da72267bbbf2d7a8.tar.bz2
scummvm-rg350-d31cd1dd73aaf55fb0fa85b4da72267bbbf2d7a8.zip
Added M_PI definition
svn-id: r15429
Diffstat (limited to 'backends')
-rw-r--r--backends/PalmOS/Src/missing/math.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/backends/PalmOS/Src/missing/math.h b/backends/PalmOS/Src/missing/math.h
index 75509c1019..7f23345ff3 100644
--- a/backends/PalmOS/Src/missing/math.h
+++ b/backends/PalmOS/Src/missing/math.h
@@ -20,4 +20,13 @@
*
*/
-#include "mathlib.h" \ No newline at end of file
+#ifndef __MATH_H__
+#define __MATH_H__
+
+#include "mathlib.h"
+
+#ifndef M_PI
+# define M_PI 3.14159265358979323846
+#endif
+
+#endif