From 6dce1a765dcc926c0ea2509cdd6fbdeb70a275c7 Mon Sep 17 00:00:00 2001 From: Andreas Haas Date: Mon, 8 Jun 2015 14:36:18 +0200 Subject: [PATCH] Workaround for min/max macros in windef.h --- Visibility_2/include/CGAL/Rotational_sweep_visibility_2.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Visibility_2/include/CGAL/Rotational_sweep_visibility_2.h b/Visibility_2/include/CGAL/Rotational_sweep_visibility_2.h index 6fcade4ad63..b73060ab28c 100644 --- a/Visibility_2/include/CGAL/Rotational_sweep_visibility_2.h +++ b/Visibility_2/include/CGAL/Rotational_sweep_visibility_2.h @@ -881,10 +881,10 @@ private: //make the box a little bigger than bb so that it won't intersect any //relevant_edge. - xmin = compute_x(bb.min())-1; - ymin = compute_y(bb.min())-1; - xmax = compute_x(bb.max())+1; - ymax = compute_y(bb.max())+1; + xmin = compute_x((bb.min)())-1; + ymin = compute_y((bb.min)())-1; + xmax = compute_x((bb.max)())+1; + ymax = compute_y((bb.max)())+1; Point_2 box[4] = {Point_2(xmin, ymin), Point_2(xmax, ymin), Point_2(xmax, ymax), Point_2(xmin, ymax)};