Mercurial > vim
diff src/os_win32.c @ 15955:907481b9260f v8.1.0983
patch 8.1.0983: checking __CYGWIN32__ unnecessarily
commit https://github.com/vim/vim/commit/1eed532999adc6a2c902fa07d256be988520a995
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Feb 26 17:03:54 2019 +0100
patch 8.1.0983: checking __CYGWIN32__ unnecessarily
Problem: Checking __CYGWIN32__ unnecessarily.
Solution: Remove the checks. (Ken Takata)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 26 Feb 2019 17:15:13 +0100 |
parents | 7fad90423bd2 |
children | ddd82b1c9e9d |
line wrap: on
line diff
--- a/src/os_win32.c +++ b/src/os_win32.c @@ -2094,8 +2094,8 @@ executable_exists(char *name, char_u **p 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. *