Salome HOME
Ensure cmake_build_type is used in SALOME 9.12.0
[tools/sat_salome.git] / products / patches / paraview-5.11.0.p005-vtkPython-debug.patch
1 --- ParaView_ref/VTK/Utilities/Python/vtkPython.h       2022-10-25 18:16:21.000000000 +0200
2 +++ ParaView_new/VTK/Utilities/Python/vtkPython.h       2022-11-09 09:52:47.289203673 +0100
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