diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-08-28 21:21:31 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-08-28 21:21:31 +0200 |
commit | 7f7bd297d6d989254f71c694f1c72d07cbc5c306 (patch) | |
tree | c65987887805ab0fc9758f2fcf536560a064ab7b /src/message.c | |
parent | 7683aaa5061e26d4bc52fdf40be66789e9e4fec0 (diff) | |
download | vim-git-7f7bd297d6d989254f71c694f1c72d07cbc5c306.tar.gz |
patch 7.4.2290v7.4.2290
Problem: Compiler warning in tiny build. (Tony Mechelynck)
Solution: Add #ifdef around infinity_str().
Diffstat (limited to 'src/message.c')
-rw-r--r-- | src/message.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/message.c b/src/message.c index 12cb2c41a..92e735349 100644 --- 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(). |