mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Problem: A lot of code is shared between vim.exe and gvim.exe. Solution: Optionally put the shared code in vim.dll. (Ken Takata, closes #4287)
This commit is contained in:
2
src/ui.c
2
src/ui.c
@@ -643,7 +643,7 @@ ui_get_winpos(int *x, int *y, varnumber_T timeout)
|
||||
if (gui.in_use)
|
||||
return gui_mch_get_winpos(x, y);
|
||||
# endif
|
||||
# if defined(MSWIN) && !defined(FEAT_GUI)
|
||||
# if defined(MSWIN) && (!defined(FEAT_GUI) || defined(VIMDLL))
|
||||
return mch_get_winpos(x, y);
|
||||
# else
|
||||
# if defined(HAVE_TGETENT) && defined(FEAT_TERMRESPONSE)
|
||||
|
Reference in New Issue
Block a user