From 96caa557f92f7e1fd61d4b401fefd30c91eb44f0 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 17 Sep 2022 21:57:43 +0100 Subject: [PATCH] patch 9.0.0494: small build misses float function declaraitons Problem: Small build misses float function declaraitons. Solution: Adjust #ifdefs. --- src/macros.h | 11 ++++++----- src/version.c | 2 ++ 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/macros.h b/src/macros.h index 16aab2e6e..86fd60bd0 100644 --- a/src/macros.h +++ b/src/macros.h @@ -261,12 +261,13 @@ # define MESSAGE_QUEUE #endif +#include +#if defined(HAVE_MATH_H) + // for isnan() and isinf() +# include +#endif + #if defined(FEAT_EVAL) -# include -# if defined(HAVE_MATH_H) - // for isnan() and isinf() -# include -# endif # ifdef USING_FLOAT_STUFF # ifdef MSWIN # ifndef isnan diff --git a/src/version.c b/src/version.c index 8493c732e..88888d430 100644 --- a/src/version.c +++ b/src/version.c @@ -699,6 +699,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 494, /**/ 493, /**/ -- 2.40.0