0
0
mirror of https://github.com/vim/vim.git synced 2025-10-01 04:54:07 -04:00

patch 7.4.2290

Problem:    Compiler warning in tiny build. (Tony Mechelynck)
Solution:   Add #ifdef around infinity_str().
This commit is contained in:
Bram Moolenaar
2016-08-28 21:21:31 +02:00
parent 7683aaa506
commit 7f7bd297d6
2 changed files with 4 additions and 0 deletions

View File

@@ -3990,6 +3990,7 @@ tv_float(typval_T *tvs, int *idxp)
# endif # endif
#endif #endif
#ifdef FEAT_FLOAT
/* /*
* Return the representation of infinity for printf() function: * Return the representation of infinity for printf() function:
* "-inf", "inf", "+inf", " inf", "-INF", "INF", "+INF" or " INF". * "-inf", "inf", "+inf", " inf", "-INF", "INF", "+INF" or " INF".
@@ -4011,6 +4012,7 @@ infinity_str(int positive,
idx += 4; idx += 4;
return table[idx]; return table[idx];
} }
#endif
/* /*
* This code was included to provide a portable vsnprintf() and snprintf(). * This code was included to provide a portable vsnprintf() and snprintf().

View File

@@ -763,6 +763,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 */
/**/
2290,
/**/ /**/
2289, 2289,
/**/ /**/