Patch 7.4.1487
Problem: For WIN32 isinf() is defined as a macro.
Solution: Define it as an inline function. (ZyX)
Files: src/macros.h
*** ../vim-7.4.1486/src/macros.h 2016-02-27 21:27:16.542519171 +0100
--- src/macros.h 2016-03-04 22:16:38.433659537 +0100
***************
*** 331,337 ****
# if defined(WIN32)
# ifndef isnan
# define isnan(x) _isnan(x)
! # define isinf(x) (!_finite(x) && !_isnan(x))
# endif
# else
# ifndef HAVE_ISNAN
--- 331,337 ----
# if defined(WIN32)
# ifndef isnan
# define isnan(x) _isnan(x)
! static inline int isinf(double x) { return !_finite(x) && !_isnan(x); }
# endif
# else
# ifndef HAVE_ISNAN
*** ../vim-7.4.1486/src/version.c 2016-03-04 22:12:07.448524475 +0100
--- src/version.c 2016-03-04 22:17:49.820903607 +0100
***************
*** 745,746 ****
--- 745,748 ----
{ /* Add new patch number below this line */
+ /**/
+ 1487,
/**/
--
Never under any circumstances take a sleeping pill
and a laxative on the same night.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.