summaryrefslogtreecommitdiff
path: root/src/os_win32.h
diff options
context:
space:
mode:
authorK.Takata <kentkt@csc.jp>2022-02-04 10:45:38 +0000
committerBram Moolenaar <Bram@vim.org>2022-02-04 10:45:38 +0000
commit972db232795874c58b9fdf23e43f53885a378eae (patch)
tree2f8b420077aa6d3c9bb54876f8d1d1d2c6b85896 /src/os_win32.h
parent7676c158798a7c90f500cab2c12af0d47bad6026 (diff)
downloadvim-git-972db232795874c58b9fdf23e43f53885a378eae.tar.gz
patch 8.2.4294: MS-Windows: #ifdefs for Cygwin are too complicatedv8.2.4294
Problem: MS-Windows: #ifdefs for Cygwin are too complicated. Solution: Simplify the conditions. (Ken Takata, closes #9693)
Diffstat (limited to 'src/os_win32.h')
-rw-r--r--src/os_win32.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/os_win32.h b/src/os_win32.h
index d22772353..464357070 100644
--- a/src/os_win32.h
+++ b/src/os_win32.h
@@ -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