summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-08-08 16:05:07 +0200
committerBram Moolenaar <Bram@vim.org>2012-08-08 16:05:07 +0200
commitc1a995db49854947a94e60be918c03a643a4292c (patch)
treeae24d06bbbdc107fee4b038adb77571ec5fac1b0
parentba6ba36fa2ca4a6877e1cca9c62d48bd37188b8e (diff)
updated for version 7.3.626v7.3.626
Problem: Python interface doesn't build with Python 2.4 or older. Solution: Define Py_ssize_t. (Benjamin Bannier)
-rw-r--r--src/if_py_both.h4
-rw-r--r--src/version.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/src/if_py_both.h b/src/if_py_both.h
index 6c1aa7fd43..60375d1161 100644
--- a/src/if_py_both.h
+++ b/src/if_py_both.h
@@ -12,6 +12,10 @@
* Common code for if_python.c and if_python3.c.
*/
+#if PY_VERSION_HEX < 0x02050000
+typedef int Py_ssize_t; /* Python 2.4 and earlier don't have this type. */
+#endif
+
#ifdef FEAT_MBYTE
# define ENC_OPT p_enc
#else
diff --git a/src/version.c b/src/version.c
index c381e03b89..44df68dd73 100644
--- a/src/version.c
+++ b/src/version.c
@@ -715,6 +715,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 626,
+/**/
625,
/**/
624,