Mercurial > vim
comparison src/ex_cmds.c @ 9676:88e8bca71d75 v7.4.2114
commit https://github.com/vim/vim/commit/d05b191b91c4e16d6887bf781832d135d2a8fae5
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jul 29 17:03:54 2016 +0200
patch 7.4.2114
Problem: Tiny build fails.
Solution: Always include vim_time().
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 29 Jul 2016 17:15:06 +0200 |
parents | 08df6ad72c56 |
children | 8c0871098dc9 |
comparison
equal
deleted
inserted
replaced
9675:864cb20d830b | 9676:88e8bca71d75 |
---|---|
2865 } | 2865 } |
2866 } | 2866 } |
2867 } | 2867 } |
2868 #endif /* FEAT_VIMINFO */ | 2868 #endif /* FEAT_VIMINFO */ |
2869 | 2869 |
2870 #if defined(FEAT_CMDHIST) || defined(FEAT_VIMINFO) || defined(PROTO) | |
2871 /* | 2870 /* |
2872 * Return the current time in seconds. Calls time(), unless test_settime() | 2871 * Return the current time in seconds. Calls time(), unless test_settime() |
2873 * was used. | 2872 * was used. |
2874 */ | 2873 */ |
2875 time_T | 2874 time_T |
2879 return time_for_testing == 0 ? time(NULL) : time_for_testing; | 2878 return time_for_testing == 0 ? time(NULL) : time_for_testing; |
2880 # else | 2879 # else |
2881 return time(NULL); | 2880 return time(NULL); |
2882 # endif | 2881 # endif |
2883 } | 2882 } |
2884 #endif | |
2885 | 2883 |
2886 /* | 2884 /* |
2887 * Implementation of ":fixdel", also used by get_stty(). | 2885 * Implementation of ":fixdel", also used by get_stty(). |
2888 * <BS> resulting <Del> | 2886 * <BS> resulting <Del> |
2889 * ^? ^H | 2887 * ^? ^H |