]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.244 v7.3.244
authorBram Moolenaar <Bram@vim.org>
Thu, 7 Jul 2011 15:43:41 +0000 (17:43 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 7 Jul 2011 15:43:41 +0000 (17:43 +0200)
Problem:    MS-Windows: Build problem with old compiler. (John Beckett)
Solution:   Only use HandleToLong() when available. (Mike Williams)

src/gui_w32.c
src/version.c

index 128869ee1282ab8e3fc666b4717dd7a01f64aa38..e4d25704f771847399a63679dc8c80dbc4457a1a 100644 (file)
@@ -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
index ae75308e51a85c129f8609469876c66ac0190686..423b24b869549c767e0da1bfde7a20b718876598 100644 (file)
@@ -709,6 +709,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    244,
 /**/
     243,
 /**/