Commits

Anonymous committed be6b650

updated for version 7.3.244
Problem: MS-Windows: Build problem with old compiler. (John Beckett)
Solution: Only use HandleToLong() when available. (Mike Williams)

Comments (0)

Files changed (2)

 #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
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    244,
+/**/
     243,
 /**/
     242,