Skip to content

Commit 0c17171

Browse files
committed
patch 7.4.1489
Problem: "inline" is not supported by old MSVC. Solution: use "__inline". (Ken Takata)
1 parent 179f1b9 commit 0c17171

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/macros.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@
331331
# if defined(WIN32)
332332
# ifndef isnan
333333
# define isnan(x) _isnan(x)
334-
static inline int isinf(double x) { return !_finite(x) && !_isnan(x); }
334+
static __inline int isinf(double x) { return !_finite(x) && !_isnan(x); }
335335
# endif
336336
# else
337337
# ifndef HAVE_ISNAN

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -743,6 +743,8 @@ static char *(features[]) =
743743

744744
static int included_patches[] =
745745
{ /* Add new patch number below this line */
746+
/**/
747+
1489,
746748
/**/
747749
1488,
748750
/**/

0 commit comments

Comments
 (0)