summaryrefslogtreecommitdiff
path: root/src/easy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/easy.c')
-rw-r--r--src/easy.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/easy.c b/src/easy.c
index 8bbace3..0a37991 100644
--- a/src/easy.c
+++ b/src/easy.c
@@ -82,8 +82,10 @@ PYCURL_INTERNAL PyTypeObject CurlSlist_Type = {
0, /* tp_del */
0, /* tp_version_tag */
0, /* tp_finalize */
+#if PY_VERSION_HEX >= 0x03080000
0, /* tp_vectorcall */
#endif
+#endif
};
@@ -169,8 +171,10 @@ PYCURL_INTERNAL PyTypeObject CurlHttppost_Type = {
0, /* tp_del */
0, /* tp_version_tag */
0, /* tp_finalize */
+#if PY_VERSION_HEX >= 0x03080000
0, /* tp_vectorcall */
#endif
+#endif
};