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/mbyte.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/mbyte.c')
-rw-r--r-- | src/mbyte.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbyte.c b/src/mbyte.c index 07446ca561..a68ba7be3d 100644 --- a/src/mbyte.c +++ b/src/mbyte.c @@ -102,7 +102,7 @@ # define WINBYTE BYTE #endif -#if (defined(MSWIN) || defined(WIN32UNIX)) && !defined(__MINGW32__) +#if defined(MSWIN) || defined(WIN32UNIX) # include <winnls.h> #endif |