Mercurial > vim
comparison src/os_win32.h @ 27533:4f1c67a5f446 v8.2.4294
patch 8.2.4294: MS-Windows: #ifdefs for Cygwin are too complicated
Commit: https://github.com/vim/vim/commit/972db232795874c58b9fdf23e43f53885a378eae
Author: K.Takata <kentkt@csc.jp>
Date: Fri Feb 4 10:45:38 2022 +0000
patch 8.2.4294: MS-Windows: #ifdefs for Cygwin are too complicated
Problem: MS-Windows: #ifdefs for Cygwin are too complicated.
Solution: Simplify the conditions. (Ken Takata, closes https://github.com/vim/vim/issues/9693)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 04 Feb 2022 12:00:05 +0100 |
parents | 41a940219183 |
children | 99729fe344f7 |
comparison
equal
deleted
inserted
replaced
27532:8b8232782467 | 27533:4f1c67a5f446 |
---|---|
9 /* | 9 /* |
10 * Win32 (Windows NT and Windows 95) machine-dependent things. | 10 * Win32 (Windows NT and Windows 95) machine-dependent things. |
11 */ | 11 */ |
12 | 12 |
13 #include "os_dos.h" // common MS-DOS and Win32 stuff | 13 #include "os_dos.h" // common MS-DOS and Win32 stuff |
14 #ifndef __CYGWIN__ | |
15 // cproto fails on missing include files | 14 // cproto fails on missing include files |
16 # ifndef PROTO | 15 #ifndef PROTO |
17 # include <direct.h> // for _mkdir() | 16 # include <direct.h> // for _mkdir() |
18 # endif | |
19 #endif | 17 #endif |
20 | 18 |
21 #define BINARY_FILE_IO | 19 #define BINARY_FILE_IO |
22 #define USE_EXE_NAME // use argv[0] for $VIM | 20 #define USE_EXE_NAME // use argv[0] for $VIM |
23 #define USE_TERM_CONSOLE | 21 #define USE_TERM_CONSOLE |