Mercurial > vim
comparison src/vim.h @ 27579:41a61dbb46d2 v8.2.4316
patch 8.2.4316: __CYGWIN32__ is not defined on 64 bit systems
Commit: https://github.com/vim/vim/commit/b247e0622ef16b7819f5dadefd3e3f0a803b4021
Author: K.Takata <kentkt@csc.jp>
Date: Mon Feb 7 10:45:23 2022 +0000
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 https://github.com/vim/vim/issues/9709)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 07 Feb 2022 12:00:04 +0100 |
parents | c1702fd7e716 |
children | 4eb2bf8b2f27 |
comparison
equal
deleted
inserted
replaced
27578:d7cf6f67163d | 27579:41a61dbb46d2 |
---|---|
1574 # define READBIN "r" | 1574 # define READBIN "r" |
1575 # define APPENDBIN "a" | 1575 # define APPENDBIN "a" |
1576 #endif | 1576 #endif |
1577 | 1577 |
1578 /* | 1578 /* |
1579 * EMX doesn't have a global way of making open() use binary I/O. | 1579 * Cygwin doesn't have a global way of making open() use binary I/O. |
1580 * Use O_BINARY for all open() calls. | 1580 * Use O_BINARY for all open() calls. |
1581 */ | 1581 */ |
1582 #if defined(__CYGWIN32__) | 1582 #ifdef __CYGWIN__ |
1583 # define O_EXTRA O_BINARY | 1583 # define O_EXTRA O_BINARY |
1584 #else | 1584 #else |
1585 # define O_EXTRA 0 | 1585 # define O_EXTRA 0 |
1586 #endif | 1586 #endif |
1587 | 1587 |