Salome HOME
merge from master
[tools/sat_salome.git] / products / patches / paraview-5.9.0-vs-debug.patch
1 --- paraview-5.9.0_ref/VTK/Utilities/Python/vtkPython.h 2022-04-19 10:11:34.466378625 +0200
2 +++ paraview-5.9.0_new/VTK/Utilities/Python/vtkPython.h 2022-04-19 10:13:54.217617713 +0200
3 @@ -76,8 +76,12 @@
4  #define HAVE_ROUND 1
5  #endif
6  
7 -#include <Python.h>
8 -
9 +//#include <Python.h>
10 +#ifdef VTK_PYTHON_UNDEF_DEBUG
11 + #define _DEBUG 1
12 + #include <Python.h>
13 + #undef _DEBUG
14 +#endif
15  #if defined(_MSC_VER) && _MSC_VER >= 1800
16  #undef HAVE_ROUND
17  #endif