From d087dbf3922c9f0062281337456103f5cfb1990c Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Tue, 20 Apr 2004 21:41:19 +0000 Subject: [PATCH] last version of the fix for MSC version 1200 Daniel * xpath.c: last version of the fix for MSC version 1200 Daniel --- ChangeLog | 4 ++++ xpath.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f7cd5255..0fc808e1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Tue Apr 20 23:40:14 CEST 2004 Daniel Veillard + + * xpath.c: last version of the fix for MSC version 1200 + Tue Apr 20 19:40:37 CEST 2004 Daniel Veillard * parser.c: killing the strncmp vs. memcmp controversy and #140593 diff --git a/xpath.c b/xpath.c index 81fb00f0..d6d65e70 100644 --- a/xpath.c +++ b/xpath.c @@ -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