diff options
author | Don Bright <hugh.m.bright@gmail.com> | 2011-09-13 01:45:32 (GMT) |
---|---|---|
committer | Don Bright <hugh.m.bright@gmail.com> | 2011-09-13 01:45:32 (GMT) |
commit | c9fdfb7db4de33179db0316b102217f80c3dc16d (patch) | |
tree | e7e0e2450b6a7a084dc2eb745a1307288598c913 /src/mainwin.cc | |
parent | 5ac9162f1c67fd21737ead11d7ebc638bf4eef5f (diff) |
fix intmax_t problem on older windows visual studio
Diffstat (limited to 'src/mainwin.cc')
-rw-r--r-- | src/mainwin.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mainwin.cc b/src/mainwin.cc index 56502f2..9dacbce 100644 --- a/src/mainwin.cc +++ b/src/mainwin.cc @@ -86,6 +86,14 @@ using namespace boost::lambda; #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 "CGALCache.h" #include "CGALEvaluator.h" #include "PolySetCGALEvaluator.h" |