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
index 12cb2c4..92e7353 100644
--- a/src/message.c
+++ b/src/message.c
@@ -3990,6 +3990,7 @@
# 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 @@
idx += 4;
return table[idx];
}
+#endif
/*
* This code was included to provide a portable vsnprintf() and snprintf().