]> granicus.if.org Git - vim/commitdiff
patch 9.0.0658: tiny build fails on Mac OS v9.0.0658
authorBram Moolenaar <Bram@vim.org>
Tue, 4 Oct 2022 15:50:21 +0000 (16:50 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 4 Oct 2022 15:50:21 +0000 (16:50 +0100)
Problem:    Tiny build fails on Mac OS.
Solution:   Define FEAT_CLIPBOARD only for normal build.

src/version.c
src/vim.h

index 884d3a5feaf7aa6f2b1315ce129e3cbb5cd8e318..caaf96863f710ea4a73f4fd8b604666d0541732e 100644 (file)
@@ -699,6 +699,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    658,
 /**/
     657,
 /**/
index 17cc7b803d79e32c35dc956d98d682470b567bbd..4a77decc88b9d47e8a8179c77792db646a0f088f 100644 (file)
--- a/src/vim.h
+++ b/src/vim.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
 #endif