0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.2.4316: __CYGWIN32__ is not defined on 64 bit systems

Problem:    __CYGWIN32__ is not defined on 64 bit systems.
Solution:   Update #ifdefs. (Ken Takata, closes #9709)
This commit is contained in:
K.Takata
2022-02-07 10:45:23 +00:00
committed by Bram Moolenaar
parent 6bf821e8ab
commit b247e0622e
5 changed files with 6 additions and 8 deletions

View File

@@ -1576,10 +1576,10 @@ typedef UINT32_TYPEDEF UINT32_T;
#endif
/*
* EMX doesn't have a global way of making open() use binary I/O.
* Cygwin doesn't have a global way of making open() use binary I/O.
* Use O_BINARY for all open() calls.
*/
#if defined(__CYGWIN32__)
#ifdef __CYGWIN__
# define O_EXTRA O_BINARY
#else
# define O_EXTRA 0