1
0
forked from aniani/vim

patch 8.1.0987: unnecessary condition in #ifdef

Problem:    Unnecessary condition in #ifdef.
Solution:   Remove using CYGWIN32. (Ken Takata)
This commit is contained in:
Bram Moolenaar 2019-03-02 07:15:28 +01:00
parent ef8c956172
commit 6ef8f9eacd
3 changed files with 4 additions and 2 deletions

View File

@ -33,7 +33,7 @@
# include <stdlib.h>
#endif
#if defined(__CYGWIN__) || defined(__CYGWIN32__)
#ifdef __CYGWIN__
# define WIN32UNIX /* Compiling for Win32 using Unix files. */
# define BINARY_FILE_IO

View File

@ -779,6 +779,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
987,
/**/
986,
/**/

View File

@ -71,7 +71,7 @@
# define _CRT_SECURE_NO_DEPRECATE
# define _CRT_NONSTDC_NO_DEPRECATE
#endif
#if !defined(CYGWIN) && (defined(CYGWIN32) || defined(__CYGWIN__) || defined(__CYGWIN32__))
#if !defined(CYGWIN) && defined(__CYGWIN__)
# define CYGWIN
#endif