Mercurial > vim
changeset 30916:1b4a3cd8c3f7 v9.0.0792
patch 9.0.0792: MS-Windows: compiler complains about unused function
Commit: https://github.com/vim/vim/commit/bf72e0c67f26ea7c8fd941fdd1533c24c7b6cb43
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Oct 18 21:48:14 2022 +0100
patch 9.0.0792: MS-Windows: compiler complains about unused function
Problem: MS-Windows: compiler complains about unused function.
Solution: Add #ifdef. (John Marriott)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 18 Oct 2022 23:00:06 +0200 |
parents | e61abd101d07 |
children | 5e178844c9c3 |
files | src/os_win32.c src/version.c |
diffstat | 2 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/os_win32.c +++ b/src/os_win32.c @@ -1231,7 +1231,7 @@ mch_bevalterm_changed(void) } # endif - +#ifdef VIMDLL /* * Win32 console mouse scroll event handler. * Loosely based on the _OnMouseWheel() function in gui_w32.c @@ -1324,6 +1324,7 @@ decode_mouse_wheel(MOUSE_EVENT_RECORD *p return; } +#endif /* * Decode a MOUSE_EVENT. If it's a valid event, return MOUSE_LEFT,