From 11d3dc49ca53f4ea930363fbeafb5a8e92d96aff Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Mon, 9 Oct 2006 21:38:32 +0000 Subject: [PATCH] trying to fix problem with new cygwin (it defines min/max macros???) --- Common/GmshUI.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Common/GmshUI.h b/Common/GmshUI.h index 1318fef8b1..a66daad6c5 100644 --- a/Common/GmshUI.h +++ b/Common/GmshUI.h @@ -41,4 +41,10 @@ # define GMSH_WINDOW_BOX FL_FLAT_BOX #endif +// recent Cygwin releases define min/max macros! +#if defined(__CYGWIN__) +#undef min +#undef max +#endif + #endif -- GitLab