Quellcode durchsuchen

Merge branch 'workaround-to-suppress-have-stat-redefined-warning'

* workaround-to-suppress-have-stat-redefined-warning:
  Workaround to fix HAVE_STAT redefined warning related to DICOM module wrapping
Jean-Christophe Fillion-Robin vor 10 Jahren
Ursprung
Commit
d72ab0c0e3
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  1. 2 0
      CMake/ctkWrapPythonQt.py

+ 2 - 0
CMake/ctkWrapPythonQt.py

@@ -186,6 +186,8 @@ ${pythonqtWrappers}
 //
 
 #include <PythonQt.h>
+// XXX Avoid  warning: "HAVE_STAT" redefined
+#undef HAVE_STAT
 #include "${namespace}_${target}.h"
 
 void PythonQt_init_${namespace}_${target}(PyObject* module)