Salome HOME
Fixed compilation on Windows
authormbs <martin.bernhard@opencascade.com>
Fri, 9 Feb 2024 15:05:53 +0000 (15:05 +0000)
committermbs <martin.bernhard@opencascade.com>
Wed, 24 Apr 2024 15:27:01 +0000 (16:27 +0100)
src/GUI/BLSURFPluginGUI.cxx
src/GUI/BLSURFPluginGUI_HypothesisCreator.h

index 2406a3bcbfe76355991e1a95bbd97275fedba75d..9321da32ca34e9787d180b83194cb3d5fe0f46f3 100644 (file)
@@ -26,7 +26,7 @@
 // E.A. : On windows with python 2.6, there is a conflict
 // E.A. : between pymath.h and Standard_math.h which define
 // E.A. : some same symbols : acosh, asinh, ...
-#include <Standard_math.hxx>
+#include <Standard_Real.hxx>
   #include <Python.h>
   #include <pymath.h>
 #endif
index 334980ddc7d527d6f2db9b0517cbc68a728013a2..22236c68d0b3aeba0ea0980da2ec7d71cf8bff65 100644 (file)
 
 #include <Python.h>
 #ifdef WIN32
-  // E.A. : On windows with python 2.6, there is a conflict
-  // E.A. : between pymath.h and Standard_math.h which define
-  // E.A. : some same symbols : acosh, asinh, ...
-  #include <Standard_math.hxx>
-  #include <pymath.h>
+// E.A. : On windows with python 2.6, there is a conflict
+// E.A. : between pymath.h and Standard_math.h which define
+// E.A. : some same symbols : acosh, asinh, ...
+#include <Standard_Real.hxx>
+#include <pymath.h>
 #endif
 
 #include <QItemDelegate>