diff options
author | K.Takata <kentkt@csc.jp> | 2024-06-19 19:56:03 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-06-19 19:56:03 +0200 |
commit | 56f587b3f81f403bb0546c6892b3273b2a9e954f (patch) | |
tree | 5d3e7f8e35795ab7f52793512a991a2f88bf5818 /src/gui_w32.c | |
parent | 46f2823807741ac91c51cf36ddabf293db26ab41 (diff) |
patch 9.1.0502: MS-Windows: too much legacy codev9.1.0502
Problem: MS-Windows: too much legacy code
Solution: Clean up old code
(Ken Takata)
* Remove very old codes for Cygwin version of GCC.
Nowadays Cygwin GCC cannot be used for building Win32 Vim.
(The `-mno-cygwin` option was removed in Cygwin GCC4.)
* Remove old codes for old versions of MinGW.
Remove `__MINGW32__` as much as possible.
* Adjust makefile.
closes: #15044
Signed-off-by: K.Takata <kentkt@csc.jp>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/gui_w32.c')
-rw-r--r-- | src/gui_w32.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gui_w32.c b/src/gui_w32.c index f628dd663b..721c4480d5 100644 --- a/src/gui_w32.c +++ b/src/gui_w32.c @@ -274,13 +274,9 @@ gui_mch_set_rendering_options(char_u *s) // cproto fails on missing include files #ifndef PROTO - -# ifndef __MINGW32__ -# include <shellapi.h> -# endif +# include <shellapi.h> # include <commctrl.h> # include <windowsx.h> - #endif // PROTO #ifdef FEAT_MENU |