1
0
forked from aniani/vim

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 #9693)
This commit is contained in:
K.Takata
2022-02-04 10:45:38 +00:00
committed by Bram Moolenaar
parent 7676c15879
commit 972db23279
6 changed files with 24 additions and 32 deletions

View File

@@ -11,11 +11,9 @@
*/
#include "os_dos.h" // common MS-DOS and Win32 stuff
#ifndef __CYGWIN__
// cproto fails on missing include files
# ifndef PROTO
# include <direct.h> // for _mkdir()
# endif
#ifndef PROTO
# include <direct.h> // for _mkdir()
#endif
#define BINARY_FILE_IO