0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 7.4.1489

Problem:    "inline" is not supported by old MSVC.
Solution:   use "__inline". (Ken Takata)
This commit is contained in:
Bram Moolenaar
2016-03-04 22:57:20 +01:00
parent 179f1b9a7d
commit 0c171716c0
2 changed files with 3 additions and 1 deletions

View File

@@ -331,7 +331,7 @@
# if defined(WIN32)
# ifndef isnan
# define isnan(x) _isnan(x)
static inline int isinf(double x) { return !_finite(x) && !_isnan(x); }
static __inline int isinf(double x) { return !_finite(x) && !_isnan(x); }
# endif
# else
# ifndef HAVE_ISNAN

View File

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