1
0
forked from aniani/vim

patch 9.0.0792: MS-Windows: compiler complains about unused function

Problem:    MS-Windows: compiler complains about unused function.
Solution:   Add #ifdef. (John Marriott)
This commit is contained in:
Bram Moolenaar
2022-10-18 21:48:14 +01:00
parent a353282c13
commit bf72e0c67f
2 changed files with 4 additions and 1 deletions

View File

@@ -1231,7 +1231,7 @@ mch_bevalterm_changed(void)
} }
# endif # endif
#ifdef VIMDLL
/* /*
* Win32 console mouse scroll event handler. * Win32 console mouse scroll event handler.
* Loosely based on the _OnMouseWheel() function in gui_w32.c * Loosely based on the _OnMouseWheel() function in gui_w32.c
@@ -1324,6 +1324,7 @@ decode_mouse_wheel(MOUSE_EVENT_RECORD *pmer)
return; return;
} }
#endif
/* /*
* Decode a MOUSE_EVENT. If it's a valid event, return MOUSE_LEFT, * Decode a MOUSE_EVENT. If it's a valid event, return MOUSE_LEFT,

View File

@@ -695,6 +695,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
792,
/**/ /**/
791, 791,
/**/ /**/