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:
@@ -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,
|
||||||
|
@@ -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,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user