1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-21 14:53:44 +03:00

last version of the fix for MSC version 1200 Daniel

* xpath.c: last version of the fix for MSC version 1200
Daniel
This commit is contained in:
Daniel Veillard
2004-04-20 21:41:19 +00:00
parent 453e71bf1e
commit d087dbf392
2 changed files with 5 additions and 1 deletions

View File

@@ -1,3 +1,7 @@
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>
* parser.c: killing the strncmp vs. memcmp controversy and #140593

View File

@@ -10922,7 +10922,7 @@ xmlXPathEvaluatePredicateResult(xmlXPathParserContextPtr ctxt,
case XPATH_BOOLEAN:
return(res->boolval);
case XPATH_NUMBER:
#ifdef WIN32
#if defined(_MSC_VER) && (_MSC_VER == 1200)
return((res->floatval == ctxt->context->proximityPosition) &&
(!xmlXPathIsNaN(res->floatval))); /* MSC pbm Mark Vakoc !*/
#else