changeset 9276:fd81f36cd5b6 v7.4.1921

commit https://github.com/vim/vim/commit/724f2edf75bf084665b3e2cdfa7ab66ccb1b5c0c Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jun 11 22:21:17 2016 +0200 patch 7.4.1921 Problem: vim_time() not included when needed. Solution: Adjust #ifdef.
author Christian Brabandt <cb@256bit.org>
date Sat, 11 Jun 2016 22:30:05 +0200
parents 89edc68b9e5c
children 68aa58daaf7f
files src/ex_cmds.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -2818,7 +2818,7 @@ write_viminfo_barlines(vir_T *virp, FILE
 }
 #endif /* FEAT_VIMINFO */
 
-#if defined(FEAT_VIMINFO) || defined(PROTO)
+#if defined(FEAT_CMDHIST) || defined(FEAT_VIMINFO) || defined(PROTO)
 /*
  * Return the current time in seconds.  Calls time(), unless test_settime()
  * was used.
--- a/src/version.c
+++ b/src/version.c
@@ -754,6 +754,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1921,
+/**/
     1920,
 /**/
     1919,