changeset 12841:174e0c952b46 v8.0.1297

patch 8.0.1297: +autoservername does not show enabled on MS-Windows commit https://github.com/vim/vim/commit/23921432369e210029a26864cfb4f1537b3c3395 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Nov 13 22:08:16 2017 +0100 patch 8.0.1297: +autoservername does not show enabled on MS-Windows Problem: +autoservername does not show enabled on MS-Windows. Solution: Always define the flag on MS-Windows. (Ken Takata)
author Christian Brabandt <cb@256bit.org>
date Mon, 13 Nov 2017 22:15:05 +0100
parents 507ac06ddb3c
children 8fc01dfa9b96
files src/feature.h src/version.c
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/feature.h
+++ b/src/feature.h
@@ -1172,7 +1172,13 @@
  *			when --servername is not passed on the command line.
  */
 #if defined(FEAT_CLIENTSERVER) && !defined(FEAT_AUTOSERVERNAME)
+# ifdef WIN3264
+    /* Always enabled on MS-Windows. */
+#  define FEAT_AUTOSERVERNAME
+# else
+    /* Enable here if you don't use configure. */
 /* # define FEAT_AUTOSERVERNAME */
+# endif
 #endif
 
 /*
--- a/src/version.c
+++ b/src/version.c
@@ -767,6 +767,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1297,
+/**/
     1296,
 /**/
     1295,