diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-10-18 21:48:14 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-10-18 21:48:14 +0100 |
commit | bf72e0c67f26ea7c8fd941fdd1533c24c7b6cb43 (patch) | |
tree | cd44d73dd1ff70cde5fe7678ad91f3b82ee23352 /src | |
parent | a353282c13287058fde95bb6eb914e342fd4253c (diff) |
patch 9.0.0792: MS-Windows: compiler complains about unused functionv9.0.0792
Problem: MS-Windows: compiler complains about unused function.
Solution: Add #ifdef. (John Marriott)
Diffstat (limited to 'src')
-rw-r--r-- | src/os_win32.c | 3 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/os_win32.c b/src/os_win32.c index db43c9e810..5c845c638e 100644 --- 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 *pmer) return; } +#endif /* * Decode a MOUSE_EVENT. If it's a valid event, return MOUSE_LEFT, diff --git a/src/version.c b/src/version.c index 4d5134511e..8111f85049 100644 --- a/src/version.c +++ b/src/version.c @@ -696,6 +696,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 792, +/**/ 791, /**/ 790, |