summaryrefslogtreecommitdiff
path: root/src/cgal.h
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2011-09-13 07:51:59 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2011-09-13 07:51:59 (GMT)
commit6b861c8f22604dbad56be5f58bd984f74b97c0c3 (patch)
treefeef6ba09b3e62cb78614c4069ecc645252a6400 /src/cgal.h
parentc9fdfb7db4de33179db0316b102217f80c3dc16d (diff)
intmax_t patch - make smaller
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