]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.626 v7.3.626
authorBram Moolenaar <Bram@vim.org>
Wed, 8 Aug 2012 14:05:07 +0000 (16:05 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 8 Aug 2012 14:05:07 +0000 (16:05 +0200)
Problem:    Python interface doesn't build with Python 2.4 or older.
Solution:   Define Py_ssize_t. (Benjamin Bannier)

src/if_py_both.h
src/version.c

index 6c1aa7fd4375095dfb4c7de15809fb215fb95128..60375d11614cef40c051300ca7a26e39ba955b92 100644 (file)
  * 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
index c381e03b899a498017c91478369529c8aee182e8..44df68dd73b9acd82e9e5a1f46af6ffc38ab54e7 100644 (file)
@@ -714,6 +714,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    626,
 /**/
     625,
 /**/