# HG changeset patch # User Christian Brabandt # Date 1472412607 -7200 # Node ID ab6320d743318c7a2cc1c4f4889f9054abe92697 # Parent baaad4690bfb7b001faf7328cc669031365d6461 commit https://github.com/vim/vim/commit/7f7bd297d6d989254f71c694f1c72d07cbc5c306 Author: Bram Moolenaar Date: Sun Aug 28 21:21:31 2016 +0200 patch 7.4.2290 Problem: Compiler warning in tiny build. (Tony Mechelynck) Solution: Add #ifdef around infinity_str(). diff --git a/src/message.c b/src/message.c --- a/src/message.c +++ b/src/message.c @@ -3990,6 +3990,7 @@ tv_float(typval_T *tvs, int *idxp) # endif #endif +#ifdef FEAT_FLOAT /* * Return the representation of infinity for printf() function: * "-inf", "inf", "+inf", " inf", "-INF", "INF", "+INF" or " INF". @@ -4011,6 +4012,7 @@ infinity_str(int positive, idx += 4; return table[idx]; } +#endif /* * This code was included to provide a portable vsnprintf() and snprintf(). diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -764,6 +764,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2290, +/**/ 2289, /**/ 2288,