diff --git a/Common/GmshUI.h b/Common/GmshUI.h index 1318fef8b1ea97cc994e4c53133e79a347f4d7c2..a66daad6c5eb0b9643f12b1e3f26c731622b8b30 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