Selaa lähdekoodia

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 10 vuotta sitten
vanhempi
commit
d72ab0c0e3
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  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)