summaryrefslogtreecommitdiffstats
path: root/pyuno/source/module/pyuno_iterator.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'pyuno/source/module/pyuno_iterator.cxx')
-rw-r--r--pyuno/source/module/pyuno_iterator.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/pyuno/source/module/pyuno_iterator.cxx b/pyuno/source/module/pyuno_iterator.cxx
index 134f318a10..2fc70a32fc 100644
--- a/pyuno/source/module/pyuno_iterator.cxx
+++ b/pyuno/source/module/pyuno_iterator.cxx
@@ -177,6 +177,9 @@ static PyTypeObject PyUNO_iterator_Type =
#pragma clang diagnostic pop
#endif
#endif
+#if PY_VERSION_HEX >= 0x030C00A1
+ , 0 // tp_watched
+#endif
#endif
#endif
};
@@ -323,6 +326,9 @@ static PyTypeObject PyUNO_list_iterator_Type =
#pragma clang diagnostic pop
#endif
#endif
+#if PY_VERSION_HEX >= 0x030C00A1
+ , 0 // tp_watched
+#endif
#endif
#endif
};