Skip to content

Commit

Permalink
patch 7.4.1489
Browse files Browse the repository at this point in the history
Problem:    "inline" is not supported by old MSVC.
Solution:   use "__inline". (Ken Takata)
  • Loading branch information
brammool committed Mar 4, 2016
1 parent 179f1b9 commit 0c17171
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/macros.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -743,6 +743,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1489,
/**/
1488,
/**/
Expand Down

0 comments on commit 0c17171

Please sign in to comment.