Workaround refined macro warning when building CTKDICOMWidgetsPythonQt
@@ -186,8 +186,17 @@ ${pythonqtWrappers}
//
#include <PythonQt.h>
-// XXX Avoid warning: "HAVE_STAT" redefined
+// XXX Avoid warning: "HAVE_XXXX" redefined
#undef HAVE_STAT
+#undef HAVE_FTIME
+#undef HAVE_GETPID
+#undef HAVE_IO_H
+#undef HAVE_STRERROR
+#undef HAVE_SYS_UTIME_H
+#undef HAVE_TEMPNAM
+#undef HAVE_TMPNAM
+#undef HAVE_LONG_LONG
+#undef HAVE_INT64_T
#include "${namespace}_${target}.h"
void PythonQt_init_${namespace}_${target}(PyObject* module)