mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -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
|
||||
|
Reference in New Issue
Block a user