summaryrefslogtreecommitdiff
path: root/src/cgal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cgal.h')
-rw-r--r--src/cgal.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/cgal.h b/src/cgal.h
index e0e246c..26d64ae 100644
--- a/src/cgal.h
+++ b/src/cgal.h
@@ -3,6 +3,14 @@
#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/Gmpq.h>
#include <CGAL/Extended_cartesian.h>
#include <CGAL/Nef_polyhedron_2.h>
contact: Jan Huwald // Impressum