Patch 9.0.0494

4 views
Skip to first unread message

Bram Moolenaar

unread,
Sep 17, 2022, 4:58:26 PM9/17/22
to vim...@googlegroups.com

Patch 9.0.0494
Problem: Small build misses float function declaraitons.
Solution: Adjust #ifdefs.
Files: src/macros.h


*** ../vim-9.0.0493/src/macros.h 2022-09-17 21:07:52.103993150 +0100
--- src/macros.h 2022-09-17 21:57:27.608827524 +0100
***************
*** 261,272 ****
# define MESSAGE_QUEUE
#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
--- 261,273 ----
# define MESSAGE_QUEUE
#endif

+ #include <float.h>
+ #if defined(HAVE_MATH_H)
+ // for isnan() and isinf()
+ # include <math.h>
+ #endif
+
#if defined(FEAT_EVAL)
# ifdef USING_FLOAT_STUFF
# ifdef MSWIN
# ifndef isnan
*** ../vim-9.0.0493/src/version.c 2022-09-17 21:24:45.874842348 +0100
--- src/version.c 2022-09-17 21:56:56.748846600 +0100
***************
*** 701,702 ****
--- 701,704 ----
{ /* Add new patch number below this line */
+ /**/
+ 494,
/**/

--
From "know your smileys":
:'-D Laughing so much that they're crying

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages