1
0
forked from aniani/vim

patch 9.0.0658: tiny build fails on Mac OS

Problem:    Tiny build fails on Mac OS.
Solution:   Define FEAT_CLIPBOARD only for normal build.
This commit is contained in:
Bram Moolenaar
2022-10-04 16:50:21 +01:00
parent 7904fa420e
commit 351523f893
2 changed files with 4 additions and 1 deletions

View File

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

View File

@@ -163,7 +163,8 @@
*/ */
#include "feature.h" #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 # define FEAT_CLIPBOARD
#endif #endif