Mercurial > vim
changeset 17067:d0438b4b0acf v8.1.1533
patch 8.1.1533: GUI build fails on Mac
commit https://github.com/vim/vim/commit/2fc39aeeb5ff5101530a89838049e09e2959ad0e
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jun 14 23:27:29 2019 +0200
patch 8.1.1533: GUI build fails on Mac
Problem: GUI build fails on Mac.
Solution: Change VimClipboard type in non-C file.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 14 Jun 2019 23:30:05 +0200 |
parents | fe6a30921a45 |
children | 70b81915f7f7 |
files | src/os_macosx.m src/version.c |
diffstat | 2 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/os_macosx.m +++ b/src/os_macosx.m @@ -40,13 +40,13 @@ NSString *VimPboardType = @"VimPboardType"; void -clip_mch_lose_selection(VimClipboard *cbd UNUSED) +clip_mch_lose_selection(Clipboard_T *cbd UNUSED) { } int -clip_mch_own_selection(VimClipboard *cbd UNUSED) +clip_mch_own_selection(Clipboard_T *cbd UNUSED) { /* This is called whenever there is a new selection and 'guioptions' * contains the "a" flag (automatically copy selection). Return TRUE, else @@ -58,7 +58,7 @@ clip_mch_own_selection(VimClipboard *cbd void -clip_mch_request_selection(VimClipboard *cbd) +clip_mch_request_selection(Clipboard_T *cbd) { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; @@ -148,7 +148,7 @@ releasepool: * Send the current selection to the clipboard. */ void -clip_mch_set_selection(VimClipboard *cbd) +clip_mch_set_selection(Clipboard_T *cbd) { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];