1
0
forked from aniani/vim

patch 8.1.0983: checking __CYGWIN32__ unnecessarily

Problem:    Checking __CYGWIN32__ unnecessarily.
Solution:   Remove the checks. (Ken Takata)
This commit is contained in:
Bram Moolenaar
2019-02-26 17:03:54 +01:00
parent 32033d2397
commit 1eed532999
4 changed files with 8 additions and 6 deletions

View File

@@ -2094,8 +2094,8 @@ executable_exists(char *name, char_u **path, int use_path)
return TRUE;
}
#if ((defined(__MINGW32__) || defined (__CYGWIN32__)) && \
__MSVCRT_VERSION__ >= 0x800) || (defined(_MSC_VER) && _MSC_VER >= 1400)
#if (defined(__MINGW32__) && __MSVCRT_VERSION__ >= 0x800) || \
(defined(_MSC_VER) && _MSC_VER >= 1400)
/*
* Bad parameter handler.
*