mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
updated for version 7.2.344
Problem: Can't compile on some systems Solution: Move the #ifdef outside of the mch_open macro. (Patrick Texier)
This commit is contained in:
@@ -2814,11 +2814,11 @@ static FILE *fopen_noinh_readbin __ARGS((char *filename));
|
|||||||
fopen_noinh_readbin(filename)
|
fopen_noinh_readbin(filename)
|
||||||
char *filename;
|
char *filename;
|
||||||
{
|
{
|
||||||
int fd_tmp = mch_open(filename, O_RDONLY
|
|
||||||
# ifdef WIN32
|
# ifdef WIN32
|
||||||
| O_BINARY | O_NOINHERIT
|
int fd_tmp = mch_open(filename, O_RDONLY | O_BINARY | O_NOINHERIT, 0);
|
||||||
|
# else
|
||||||
|
int fd_tmp = mch_open(filename, O_RDONLY, 0);
|
||||||
# endif
|
# endif
|
||||||
, 0);
|
|
||||||
|
|
||||||
if (fd_tmp == -1)
|
if (fd_tmp == -1)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
@@ -681,6 +681,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
344,
|
||||||
/**/
|
/**/
|
||||||
343,
|
343,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user