mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -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:
@@ -2571,7 +2571,7 @@ scripterror:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#ifdef __CYGWIN32__
|
#ifdef __CYGWIN__
|
||||||
/*
|
/*
|
||||||
* If vim is invoked by non-Cygwin tools, convert away any
|
* If vim is invoked by non-Cygwin tools, convert away any
|
||||||
* DOS paths, so things like .swp files are created correctly.
|
* DOS paths, so things like .swp files are created correctly.
|
||||||
|
@@ -6341,7 +6341,7 @@ select_eintr:
|
|||||||
FD_ZERO(&wfds);
|
FD_ZERO(&wfds);
|
||||||
FD_ZERO(&efds);
|
FD_ZERO(&efds);
|
||||||
FD_SET(fd, &rfds);
|
FD_SET(fd, &rfds);
|
||||||
# if !defined(__QNX__) && !defined(__CYGWIN32__)
|
# ifndef __QNX__
|
||||||
// For QNX select() always returns 1 if this is set. Why?
|
// For QNX select() always returns 1 if this is set. Why?
|
||||||
FD_SET(fd, &efds);
|
FD_SET(fd, &efds);
|
||||||
# endif
|
# endif
|
||||||
|
@@ -46,10 +46,6 @@
|
|||||||
|
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
|
|
||||||
#ifdef __CYGWIN32__
|
|
||||||
# include <sys/termios.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef HAVE_SYS_IOCTL_H
|
#ifdef HAVE_SYS_IOCTL_H
|
||||||
# include <sys/ioctl.h>
|
# include <sys/ioctl.h>
|
||||||
#endif
|
#endif
|
||||||
|
@@ -746,6 +746,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 */
|
||||||
|
/**/
|
||||||
|
4316,
|
||||||
/**/
|
/**/
|
||||||
4315,
|
4315,
|
||||||
/**/
|
/**/
|
||||||
|
@@ -1576,10 +1576,10 @@ typedef UINT32_TYPEDEF UINT32_T;
|
|||||||
#endif
|
#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.
|
* Use O_BINARY for all open() calls.
|
||||||
*/
|
*/
|
||||||
#if defined(__CYGWIN32__)
|
#ifdef __CYGWIN__
|
||||||
# define O_EXTRA O_BINARY
|
# define O_EXTRA O_BINARY
|
||||||
#else
|
#else
|
||||||
# define O_EXTRA 0
|
# define O_EXTRA 0
|
||||||
|
Reference in New Issue
Block a user