mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 8.2.4736: build problem for Cygwin with Motif
Problem: Build problem for Cygwin with Motif. Solution: Undefine ControlMask. (Kelvin Lee, closes #10152)
This commit is contained in:
@@ -84,6 +84,11 @@
|
||||
# define WIN32_LEAN_AND_MEAN
|
||||
# endif
|
||||
# if defined(FEAT_GUI) || defined(FEAT_XCLIPBOARD)
|
||||
# ifdef __CYGWIN__
|
||||
// ControlMask from <X11/X.h> (included in "vim.h") is conflicting with
|
||||
// <w32api/windows.h> (included in <X11/Xwindows.h>).
|
||||
# undef ControlMask
|
||||
# endif
|
||||
# include <X11/Xwindows.h>
|
||||
# define WINBYTE wBYTE
|
||||
# else
|
||||
|
@@ -746,6 +746,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
4736,
|
||||
/**/
|
||||
4735,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user