mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 7.4.1487
Problem: For WIN32 isinf() is defined as a macro. Solution: Define it as an inline function. (ZyX)
This commit is contained in:
@@ -331,7 +331,7 @@
|
|||||||
# if defined(WIN32)
|
# if defined(WIN32)
|
||||||
# ifndef isnan
|
# ifndef isnan
|
||||||
# define isnan(x) _isnan(x)
|
# define isnan(x) _isnan(x)
|
||||||
# define isinf(x) (!_finite(x) && !_isnan(x))
|
static inline int isinf(double x) { return !_finite(x) && !_isnan(x); }
|
||||||
# endif
|
# endif
|
||||||
# else
|
# else
|
||||||
# ifndef HAVE_ISNAN
|
# ifndef HAVE_ISNAN
|
||||||
|
@@ -743,6 +743,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 */
|
||||||
|
/**/
|
||||||
|
1487,
|
||||||
/**/
|
/**/
|
||||||
1486,
|
1486,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user