Salome HOME
[bos #41189][Windows] Ensure compatibility with Python 3.9
[plugins/blsurfplugin.git] / src / GUI / BLSURFPluginGUI_HypothesisCreator.h
index de91f32134344dcc7eb34d4689f8715e72c4ca73..334980ddc7d527d6f2db9b0517cbc68a728013a2 100644 (file)
   #define BLSURFPLUGIN_GUI_EXPORT
 #endif
 
+#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_math.hxx>
+  #include <pymath.h>
 #endif
 
-#include <Python.h>
-
 #include <QItemDelegate>
 
 #include <SMESHGUI_Hypotheses.h>