diff options
Diffstat (limited to 'src/openscad.cc')
-rw-r--r-- | src/openscad.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/openscad.cc b/src/openscad.cc index fd74de4..cb3a18d 100644 --- a/src/openscad.cc +++ b/src/openscad.cc @@ -42,6 +42,13 @@ #include <fstream> #ifdef ENABLE_CGAL +#ifdef _MSC_VER +// see http://en.wikipedia.org/wiki/Stdint.h +// and http://www.mpfr.org/mpfr-2.4.2/#stdint +#include <boost/cstdint.hpp> +using boost::intmax_t; +using boost::uintmax_t; +#endif #include "CGAL_Nef_polyhedron.h" #include <CGAL/assertions_behaviour.h> #include "CGALEvaluator.h" |