> The version number restriction isn't strictly needed. I only
> suggested it because it'd match the #if that wraps the code that's
> actually using those macros, introduced by commit cec8394b5ccd. That
> was presumably done because versions >= 1800 (= Visual Studio 2013)
> have their own definitions of isinf() and isnan(), and I guess that
> our definitions were probably breaking stuff on that compiler.
Now I understand what you mean. win32_port.h defines isnan(x) as
_isnan(x) if (_MSC_VER < 1800). It doesn't look right to have the
definition in here but not include <float.h> as _isnan() is coming
from there. I am preparing an additional patch to add the include and
remove it from files where it is obviously put to work around this
problem.