]> granicus.if.org Git - vim/commitdiff
patch 8.0.1297: +autoservername does not show enabled on MS-Windows v8.0.1297
authorBram Moolenaar <Bram@vim.org>
Mon, 13 Nov 2017 21:08:16 +0000 (22:08 +0100)
committerBram Moolenaar <Bram@vim.org>
Mon, 13 Nov 2017 21:08:16 +0000 (22:08 +0100)
Problem:    +autoservername does not show enabled on MS-Windows.
Solution:   Always define the flag on MS-Windows. (Ken Takata)

src/feature.h
src/version.c

index d100d6b31bd7cee1ad31c82ecca0a4c2e9f6fd3a..a6a159997798cf8eff4678ea3b7a6d098b07862d 100644 (file)
  *                     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
 
 /*
index 6590bf60c5758632da3eec9d56ec4f9801bef25b..c4e5d3528d34a23020ed0683c8e3c63dd7cba3db 100644 (file)
@@ -766,6 +766,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1297,
 /**/
     1296,
 /**/