Commit ddbb075b authored by Nick Wellnhofer's avatar Nick Wellnhofer
Browse files

Fix xmlXPathIsNaN broken by recent commit

parent c1002101
......@@ -524,7 +524,7 @@ xmlXPathIsNaN(double val) {
int
xmlXPathIsInf(double val) {
#ifdef isinf
return isinf(val);
return isinf(val) ? (val > 0 ? 1 : -1) : 0;
#else
if (val >= HUGE_VAL)
return 1;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment