0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 9.0.0494: small build misses float function declaraitons

Problem:    Small build misses float function declaraitons.
Solution:   Adjust #ifdefs.
This commit is contained in:
Bram Moolenaar 2022-09-17 21:57:43 +01:00
parent 1e8009e34a
commit 96caa557f9
2 changed files with 8 additions and 5 deletions

View File

@ -261,12 +261,13 @@
# define MESSAGE_QUEUE # define MESSAGE_QUEUE
#endif #endif
#include <float.h>
#if defined(HAVE_MATH_H)
// for isnan() and isinf()
# include <math.h>
#endif
#if defined(FEAT_EVAL) #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 USING_FLOAT_STUFF
# ifdef MSWIN # ifdef MSWIN
# ifndef isnan # ifndef isnan

View File

@ -699,6 +699,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
494,
/**/ /**/
493, 493,
/**/ /**/