0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 8.1.1533: GUI build fails on Mac

Problem:    GUI build fails on Mac.
Solution:   Change VimClipboard type in non-C file.
This commit is contained in:
Bram Moolenaar 2019-06-14 23:27:29 +02:00
parent d2cea96f6c
commit 2fc39aeeb5
2 changed files with 6 additions and 4 deletions

View File

@ -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 UNUSED)
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];

View File

@ -777,6 +777,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1533,
/**/
1532,
/**/