From d31cd1dd73aaf55fb0fa85b4da72267bbbf2d7a8 Mon Sep 17 00:00:00 2001 From: Chris Apers Date: Wed, 6 Oct 2004 09:39:07 +0000 Subject: Added M_PI definition svn-id: r15429 --- backends/PalmOS/Src/missing/math.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'backends/PalmOS') 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 -- cgit v1.2.3