Commit d087dbf3 authored by Daniel Veillard's avatar Daniel Veillard
Browse files

last version of the fix for MSC version 1200 Daniel

* xpath.c: last version of the fix for MSC version 1200
Daniel
parent 453e71bf
Tue Apr 20 23:40:14 CEST 2004 Daniel Veillard <daniel@veillard.com>
* xpath.c: last version of the fix for MSC version 1200
Tue Apr 20 19:40:37 CEST 2004 Daniel Veillard <daniel@veillard.com> Tue Apr 20 19:40:37 CEST 2004 Daniel Veillard <daniel@veillard.com>
   
* parser.c: killing the strncmp vs. memcmp controversy and #140593 * parser.c: killing the strncmp vs. memcmp controversy and #140593
......
...@@ -10922,7 +10922,7 @@ xmlXPathEvaluatePredicateResult(xmlXPathParserContextPtr ctxt, ...@@ -10922,7 +10922,7 @@ xmlXPathEvaluatePredicateResult(xmlXPathParserContextPtr ctxt,
case XPATH_BOOLEAN: case XPATH_BOOLEAN:
return(res->boolval); return(res->boolval);
case XPATH_NUMBER: case XPATH_NUMBER:
#ifdef WIN32 #if defined(_MSC_VER) && (_MSC_VER == 1200)
return((res->floatval == ctxt->context->proximityPosition) && return((res->floatval == ctxt->context->proximityPosition) &&
(!xmlXPathIsNaN(res->floatval))); /* MSC pbm Mark Vakoc !*/ (!xmlXPathIsNaN(res->floatval))); /* MSC pbm Mark Vakoc !*/
#else #else
......
Supports Markdown
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