diff options
author | clifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c> | 2009-07-26 16:31:19 (GMT) |
---|---|---|
committer | clifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c> | 2009-07-26 16:31:19 (GMT) |
commit | 13cb8763e2243246c33a4e7b780868e63cea3223 (patch) | |
tree | 0d8449ec163fd0ec0af667003eb8f59faaa5b3e2 /openscad.h | |
parent | 798d2343d01b7477937406f3569110672d1f7cf4 (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.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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; |