Explorar o código

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 %!s(int64=10) %!d(string=hai) anos
pai
achega
d72ab0c0e3
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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)