From 7008d187781f4ea325d147f1a01eb51a60c064e3 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Fri, 21 Sep 2007 16:53:37 +0000
Subject: [PATCH] fix win32 compile

---
 Geo/SBoundingBox3d.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Geo/SBoundingBox3d.h b/Geo/SBoundingBox3d.h
index 003d24c9fe..f55a33692b 100644
--- a/Geo/SBoundingBox3d.h
+++ b/Geo/SBoundingBox3d.h
@@ -23,6 +23,11 @@
 #include <float.h>
 #include "SPoint3.h"
 
+#if defined(WIN32)
+#undef min
+#undef max
+#endif
+
 // A bounding box class - add points and it grows to be the bounding
 // box of the point set
 class SBoundingBox3d {
-- 
GitLab