antirez / antirez/lua-cmsgpack

compile error with MSVC2010 - isinf()

Open
#53 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
C
Stars
383
Forks
122
PR merge metrics
No merged PRs in 30d

Description

MSVC 2010 still does not know about "isinf()" macro.

So I added a small patch in line 20:
# ifndef isinf
# define isinf(x) (!_finite(x))
# endif

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.