From 13cb8763e2243246c33a4e7b780868e63cea3223 Mon Sep 17 00:00:00 2001 From: clifford Date: Sun, 26 Jul 2009 16:31:19 +0000 Subject: [PATCH] Clifford Wolf: Define M_PI if it is not there.. git-svn-id: http://svn.clifford.at/openscad/trunk@81 b57f626f-c46c-0410-a088-ec61d464b74c --- openscad.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/openscad.h b/openscad.h index 133a99fb..36931010 100644 --- a/openscad.h +++ b/openscad.h @@ -44,6 +44,11 @@ #include #include +// for win32 and maybe others.. +#ifndef M_PI +# define M_PI 3.14159265358979323846 +#endif + class Value; class Expression;