diff src/version.c @ 14375:e5d7dd985b53 v8.1.0202

patch 8.1.0202: :version always shows +packages commit https://github.com/vim/vim/commit/6183ccbd679751ff5b138f23a34ead3d7bbc5c1b Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jul 22 05:08:11 2018 +0200 patch 8.1.0202: :version always shows +packages Problem: :version always shows +packages. (Takuya Fujiwara) Solution: Add #ifdef (closes https://github.com/vim/vim/issues/3198) Also for has().
author Christian Brabandt <cb@256bit.org>
date Sun, 22 Jul 2018 05:15:05 +0200
parents 380217380738
children 378eefcbbb12
line wrap: on
line diff
--- a/src/version.c
+++ b/src/version.c
@@ -493,7 +493,11 @@ static char *(features[]) =
 	"-ole",
 # endif
 #endif
+#ifdef FEAT_EVAL
 	"+packages",
+#else
+	"-packages",
+#endif
 #ifdef FEAT_PATH_EXTRA
 	"+path_extra",
 #else
@@ -790,6 +794,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    202,
+/**/
     201,
 /**/
     200,