summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2011-07-07 17:43:41 +0200
committerBram Moolenaar <Bram@vim.org>2011-07-07 17:43:41 +0200
commit4da95d377f1883de6e2b88889acb47824b4f589d (patch)
treea42443cbfe93c0a1aeeabddf020614cf1b37631d
parentf56a6de10b5d2b5c3f38753fdae9d7fd82b58c73 (diff)
downloadvim-git-4da95d377f1883de6e2b88889acb47824b4f589d.tar.gz
updated for version 7.3.244v7.3.244
Problem: MS-Windows: Build problem with old compiler. (John Beckett) Solution: Only use HandleToLong() when available. (Mike Williams)
-rw-r--r--src/gui_w32.c4
-rw-r--r--src/version.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/src/gui_w32.c b/src/gui_w32.c
index 128869ee1..e4d25704f 100644
--- a/src/gui_w32.c
+++ b/src/gui_w32.c
@@ -1574,6 +1574,10 @@ gui_mch_init(void)
#endif
#ifdef FEAT_EVAL
+# if _MSC_VER < 1400
+/* HandleToLong() only exists in compilers that can do 64 bit builds */
+# define HandleToLong(h) ((long)(h))
+# endif
/* set the v:windowid variable */
set_vim_var_nr(VV_WINDOWID, HandleToLong(s_hwnd));
#endif
diff --git a/src/version.c b/src/version.c
index ae75308e5..423b24b86 100644
--- a/src/version.c
+++ b/src/version.c
@@ -710,6 +710,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 244,
+/**/
243,
/**/
242,