Skip to content

Commit

Permalink
patch 9.0.0658: tiny build fails on Mac OS
Browse files Browse the repository at this point in the history
Problem:    Tiny build fails on Mac OS.
Solution:   Define FEAT_CLIPBOARD only for normal build.
  • Loading branch information
brammool committed Oct 4, 2022
1 parent 7904fa4 commit 351523f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -699,6 +699,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
658,
/**/
657,
/**/
Expand Down
3 changes: 2 additions & 1 deletion src/vim.h
Expand Up @@ -163,7 +163,8 @@
*/
#include "feature.h"

#if defined(MACOS_X_DARWIN) && !defined(FEAT_CLIPBOARD)
#if defined(MACOS_X_DARWIN) && defined(FEAT_NORMAL) \
&& !defined(FEAT_CLIPBOARD)
# define FEAT_CLIPBOARD
#endif

Expand Down

0 comments on commit 351523f

Please sign in to comment.