mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -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:
@@ -8415,7 +8415,9 @@ static struct fst
|
||||
{"range", 1, 3, f_range},
|
||||
{"readfile", 1, 3, f_readfile},
|
||||
{"reltime", 0, 2, f_reltime},
|
||||
#ifdef FEAT_FLOAT
|
||||
{"reltimefloat", 1, 1, f_reltimefloat},
|
||||
#endif
|
||||
{"reltimestr", 1, 1, f_reltimestr},
|
||||
{"remote_expr", 2, 3, f_remote_expr},
|
||||
{"remote_foreground", 1, 1, f_remote_foreground},
|
||||
|
@@ -733,9 +733,9 @@ json_decode_item(js_read_T *reader, typval_T *res, int options)
|
||||
default:
|
||||
if (VIM_ISDIGIT(*p) || *p == '-')
|
||||
{
|
||||
#ifdef FEAT_FLOAT
|
||||
char_u *sp = p;
|
||||
|
||||
#ifdef FEAT_FLOAT
|
||||
if (*sp == '-')
|
||||
{
|
||||
++sp;
|
||||
|
@@ -743,6 +743,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1467,
|
||||
/**/
|
||||
1466,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user