1
0
forked from aniani/vim

patch 9.1.0502: MS-Windows: too much legacy code

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>
This commit is contained in:
K.Takata
2024-06-19 19:56:03 +02:00
committed by Christian Brabandt
parent 46f2823807
commit 56f587b3f8
6 changed files with 8 additions and 131 deletions

View File

@@ -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