소스 검색

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 년 전
부모
커밋
d72ab0c0e3
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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)