aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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