0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 7.4.1467

Problem:    Can't build without the float feature.
Solution:   Add #ifdefs. (Nick Owens, closes #667)
This commit is contained in:
Bram Moolenaar
2016-02-29 23:12:49 +01:00
parent 6b584af3d7
commit 10b369f670
3 changed files with 5 additions and 1 deletions

View File

@@ -8415,7 +8415,9 @@ static struct fst
{"range", 1, 3, f_range}, {"range", 1, 3, f_range},
{"readfile", 1, 3, f_readfile}, {"readfile", 1, 3, f_readfile},
{"reltime", 0, 2, f_reltime}, {"reltime", 0, 2, f_reltime},
#ifdef FEAT_FLOAT
{"reltimefloat", 1, 1, f_reltimefloat}, {"reltimefloat", 1, 1, f_reltimefloat},
#endif
{"reltimestr", 1, 1, f_reltimestr}, {"reltimestr", 1, 1, f_reltimestr},
{"remote_expr", 2, 3, f_remote_expr}, {"remote_expr", 2, 3, f_remote_expr},
{"remote_foreground", 1, 1, f_remote_foreground}, {"remote_foreground", 1, 1, f_remote_foreground},

View File

@@ -733,9 +733,9 @@ json_decode_item(js_read_T *reader, typval_T *res, int options)
default: default:
if (VIM_ISDIGIT(*p) || *p == '-') if (VIM_ISDIGIT(*p) || *p == '-')
{ {
#ifdef FEAT_FLOAT
char_u *sp = p; char_u *sp = p;
#ifdef FEAT_FLOAT
if (*sp == '-') if (*sp == '-')
{ {
++sp; ++sp;

View File

@@ -743,6 +743,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1467,
/**/ /**/
1466, 1466,
/**/ /**/