From: Bram Moolenaar Date: Mon, 11 Apr 2022 14:28:50 +0000 (+0100) Subject: patch 8.2.4736: build problem for Cygwin with Motif X-Git-Tag: v8.2.4736 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=825b55e695b842beb6515ec5c53583aac9efe7b7;p=vim patch 8.2.4736: build problem for Cygwin with Motif Problem: Build problem for Cygwin with Motif. Solution: Undefine ControlMask. (Kelvin Lee, closes #10152) --- diff --git a/src/mbyte.c b/src/mbyte.c index 78230f65e..2b7f9991a 100644 --- a/src/mbyte.c +++ b/src/mbyte.c @@ -84,6 +84,11 @@ # define WIN32_LEAN_AND_MEAN # endif # if defined(FEAT_GUI) || defined(FEAT_XCLIPBOARD) +# ifdef __CYGWIN__ + // ControlMask from (included in "vim.h") is conflicting with + // (included in ). +# undef ControlMask +# endif # include # define WINBYTE wBYTE # else diff --git a/src/version.c b/src/version.c index d287d8d3b..737b54b91 100644 --- a/src/version.c +++ b/src/version.c @@ -746,6 +746,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 4736, /**/ 4735, /**/