# HG changeset patch # User Christian Brabandt # Date 1457127005 -3600 # Node ID 2230c0da23bd585a4b99434a1136ef12b56ea7cf # Parent 45859983b3c39df9bd1af37a4b0d09a4317e038e commit https://github.com/vim/vim/commit/6300317b15eb33409f652c603fb402417fe4eed7 Author: Bram Moolenaar Date: Fri Mar 4 22:19:21 2016 +0100 patch 7.4.1487 Problem: For WIN32 isinf() is defined as a macro. Solution: Define it as an inline function. (ZyX) diff --git a/src/macros.h b/src/macros.h --- a/src/macros.h +++ b/src/macros.h @@ -331,7 +331,7 @@ # if defined(WIN32) # ifndef isnan # define isnan(x) _isnan(x) -# define isinf(x) (!_finite(x) && !_isnan(x)) + static inline int isinf(double x) { return !_finite(x) && !_isnan(x); } # endif # else # ifndef HAVE_ISNAN diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -744,6 +744,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1487, +/**/ 1486, /**/ 1485,