summaryrefslogtreecommitdiff
path: root/openscad.h
diff options
context:
space:
mode:
authorclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2009-07-26 16:31:19 (GMT)
committerclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2009-07-26 16:31:19 (GMT)
commit13cb8763e2243246c33a4e7b780868e63cea3223 (patch)
tree0d8449ec163fd0ec0af667003eb8f59faaa5b3e2 /openscad.h
parent798d2343d01b7477937406f3569110672d1f7cf4 (diff)
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
Diffstat (limited to 'openscad.h')
-rw-r--r--openscad.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/openscad.h b/openscad.h
index 133a99f..3693101 100644
--- a/openscad.h
+++ b/openscad.h
@@ -44,6 +44,11 @@
#include <fstream>
#include <iostream>
+// for win32 and maybe others..
+#ifndef M_PI
+# define M_PI 3.14159265358979323846
+#endif
+
class Value;
class Expression;
contact: Jan Huwald // Impressum