From: Bram Moolenaar Date: Sat, 26 Oct 2019 19:33:19 +0000 (+0200) Subject: patch 8.1.2224: cannot build Amiga version X-Git-Tag: v8.1.2224 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dfded98f87601b11271ee88392c821ceb6390eda;p=vim patch 8.1.2224: cannot build Amiga version Problem: Cannot build Amiga version. Solution: Add dummy mch_setmouse(). (Ola Söder, closes #5126) --- diff --git a/src/os_amiga.c b/src/os_amiga.c index aff24c567..8627cb60a 100644 --- a/src/os_amiga.c +++ b/src/os_amiga.c @@ -658,6 +658,12 @@ mch_can_restore_icon(void) } #endif + void +mch_setmouse(int on UNUSED) +{ + // TODO: implement +} + /* * Insert user name in s[len]. */ diff --git a/src/proto/os_amiga.pro b/src/proto/os_amiga.pro index b781680a8..7aaf1719f 100644 --- a/src/proto/os_amiga.pro +++ b/src/proto/os_amiga.pro @@ -15,6 +15,7 @@ void mch_settitle(char_u *title, char_u *icon); void mch_restore_title(int which); int mch_can_restore_title(void); int mch_can_restore_icon(void); +void mch_setmouse(int on); int mch_get_user_name(char_u *s, int len); void mch_get_host_name(char_u *s, int len); long mch_get_pid(void); diff --git a/src/version.c b/src/version.c index b0fdab2f3..62a48880d 100644 --- a/src/version.c +++ b/src/version.c @@ -741,6 +741,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 2224, /**/ 2223, /**/