Skip to content

Commit 6300317

Browse files
committed
patch 7.4.1487
Problem: For WIN32 isinf() is defined as a macro. Solution: Define it as an inline function. (ZyX)
1 parent f365482 commit 6300317

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-
# define isinf(x) (!_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+
1487,
746748
/**/
747749
1486,
748750
/**/

0 commit comments

Comments
 (0)