summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiles Bathgate <gilesbathgate@gmail.com>2011-09-13 18:43:14 (GMT)
committerGiles Bathgate <gilesbathgate@gmail.com>2011-09-13 18:43:14 (GMT)
commit201dda5c4c62e45e595f2970b3835c5f0e8aed4d (patch)
treefeef6ba09b3e62cb78614c4069ecc645252a6400
parent5ac9162f1c67fd21737ead11d7ebc638bf4eef5f (diff)
parent6b861c8f22604dbad56be5f58bd984f74b97c0c3 (diff)
Merge pull request #24 from donbright/visitorxpfix2
I don't have a platform to test this on but the change looks simple enough and from a previously trusted author.
-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