diff options
author | don bright <hugh.m.bright@gmail.com> | 2011-09-13 07:51:59 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2011-09-13 07:51:59 (GMT) |
commit | 6b861c8f22604dbad56be5f58bd984f74b97c0c3 (patch) | |
tree | feef6ba09b3e62cb78614c4069ecc645252a6400 | |
parent | c9fdfb7db4de33179db0316b102217f80c3dc16d (diff) |
intmax_t patch - make smaller
-rw-r--r-- | src/cgal.h | 8 | ||||
-rw-r--r-- | src/import.cc | 7 | ||||
-rw-r--r-- | src/mainwin.cc | 8 | ||||
-rw-r--r-- | src/openscad.cc | 7 |
4 files changed, 8 insertions, 22 deletions
@@ -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> diff --git a/src/import.cc b/src/import.cc index f1da4a0..f64a8f6 100644 --- a/src/import.cc +++ b/src/import.cc @@ -36,13 +36,6 @@ #include "handle_dep.h" // handle_dep() #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 "cgalutils.h" #endif diff --git a/src/mainwin.cc b/src/mainwin.cc index 9dacbce..56502f2 100644 --- a/src/mainwin.cc +++ b/src/mainwin.cc @@ -86,14 +86,6 @@ 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" diff --git a/src/openscad.cc b/src/openscad.cc index cb3a18d..fd74de4 100644 --- a/src/openscad.cc +++ b/src/openscad.cc @@ -42,13 +42,6 @@ #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" |