From 2dcb9aaef1e008b97372c129795ed8c2b0f8db4e Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Mon, 5 Mar 2007 10:25:57 +0000 Subject: [PATCH] Make it work in case of absence of LEDA --- Width_3/examples/Width_3/test_width_simplex.cpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Width_3/examples/Width_3/test_width_simplex.cpp b/Width_3/examples/Width_3/test_width_simplex.cpp index 179ce4f3754..b80af0798f4 100644 --- a/Width_3/examples/Width_3/test_width_simplex.cpp +++ b/Width_3/examples/Width_3/test_width_simplex.cpp @@ -3,9 +3,18 @@ #include #include #include -#include +#if defined(CGAL_USE_GMP) +#include +typedef CGAL::Gmpz RT; +#elif defined (CGAL_USE_LEDA) +#include typedef leda_integer RT; +#else +#include +typedef CGAL::MP_Float RT; +#endif + typedef CGAL::Homogeneous Kernel; typedef Kernel::Point_3 Point_3; typedef Kernel::Plane_3 Plane_3;