Skip to content

Commit 9c42afa

Browse files
committed
updated for version 7.3.244
Problem: MS-Windows: Build problem with old compiler. (John Beckett) Solution: Only use HandleToLong() when available. (Mike Williams)
1 parent cf16286 commit 9c42afa

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/gui_w32.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1574,6 +1574,10 @@ gui_mch_init(void)
15741574
#endif
15751575

15761576
#ifdef FEAT_EVAL
1577+
# if _MSC_VER < 1400
1578+
/* HandleToLong() only exists in compilers that can do 64 bit builds */
1579+
# define HandleToLong(h) ((long)(h))
1580+
# endif
15771581
/* set the v:windowid variable */
15781582
set_vim_var_nr(VV_WINDOWID, HandleToLong(s_hwnd));
15791583
#endif

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -709,6 +709,8 @@ static char *(features[]) =
709709

710710
static int included_patches[] =
711711
{ /* Add new patch number below this line */
712+
/**/
713+
244,
712714
/**/
713715
243,
714716
/**/

0 commit comments

Comments
 (0)