From 27d9294f19e0a124d6d4c1949e1e3cdc749578ad Mon Sep 17 00:00:00 2001 From: rnv Date: Wed, 24 Feb 2016 12:51:57 +0300 Subject: [PATCH] Windows compatibility. --- src/SMESH_I/SMESH_Measurements_i.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/SMESH_I/SMESH_Measurements_i.cxx b/src/SMESH_I/SMESH_Measurements_i.cxx index 8da1cd7cf..b3e832b45 100644 --- a/src/SMESH_I/SMESH_Measurements_i.cxx +++ b/src/SMESH_I/SMESH_Measurements_i.cxx @@ -22,6 +22,10 @@ // File : SMESH_Measurements_i.cxx // Author : Pavel TELKOV, Open CASCADE S.A.S. (pavel.telkov@opencascade.com) +#ifdef WIN32 +#define NOMINMAX +#endif + #include "SMESH_Measurements_i.hxx" #include "SMESH_Gen_i.hxx" -- 2.39.2