Skip to content

Commit

Permalink
kodi: allow compile with Python3-3.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
heitbaum committed Oct 8, 2024
1 parent bb9f588 commit 9a77cb4
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
--- a/xbmc/interfaces/python/swig.cpp 2024-10-08 13:40:42.546823816 +0000
+++ b/xbmc/interfaces/python/swig.cpp 2024-10-08 13:40:42.546823816 +0000
@@ -75,6 +75,9 @@
#if PY_VERSION_HEX >= 0x030C00A1
0,
#endif
+#if PY_VERSION_HEX >= 0x030D0000
+ 0,
+#endif
};

static int size = (long*)&(py_type_object_header.tp_name) - (long*)&py_type_object_header;

0 comments on commit 9a77cb4

Please sign in to comment.