diff options
author | K.Takata <kentkt@csc.jp> | 2022-02-07 10:45:23 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-02-07 10:45:23 +0000 |
commit | b247e0622ef16b7819f5dadefd3e3f0a803b4021 (patch) | |
tree | 46fdc730e9b2dbc3438df20354eeaa2720d56828 /src/vim.h | |
parent | 6bf821e8abe1da24e5d0624f032d7eda745756e8 (diff) |
patch 8.2.4316: __CYGWIN32__ is not defined on 64 bit systemsv8.2.4316
Problem: __CYGWIN32__ is not defined on 64 bit systems.
Solution: Update #ifdefs. (Ken Takata, closes #9709)
Diffstat (limited to 'src/vim.h')
-rw-r--r-- | src/vim.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |