]> granicus.if.org Git - vim/commitdiff
patch 9.0.0494: small build misses float function declaraitons v9.0.0494
authorBram Moolenaar <Bram@vim.org>
Sat, 17 Sep 2022 20:57:43 +0000 (21:57 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 17 Sep 2022 20:57:43 +0000 (21:57 +0100)
Problem:    Small build misses float function declaraitons.
Solution:   Adjust #ifdefs.

src/macros.h
src/version.c

index 16aab2e6e1c60e82c4ea53c3db6a83110df5a909..86fd60bd039f9fab567e91aa0e18bc1d47e3ad09 100644 (file)
 # define MESSAGE_QUEUE
 #endif
 
+#include <float.h>
+#if defined(HAVE_MATH_H)
+  // for isnan() and isinf()
+# include <math.h>
+#endif
+
 #if defined(FEAT_EVAL)
-# include <float.h>
-# if defined(HAVE_MATH_H)
-   // for isnan() and isinf()
-#  include <math.h>
-# endif
 # ifdef USING_FLOAT_STUFF
 #  ifdef MSWIN
 #   ifndef isnan
index 8493c732ef8985a9447339e8980fa6e1244ca8f9..88888d4307de7b1d3b267fd4da09d5d2fe12605f 100644 (file)
@@ -699,6 +699,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    494,
 /**/
     493,
 /**/