From cf4dd114ebea9f6c5f6b89bc4fc88f670a7dced5 Mon Sep 17 00:00:00 2001 From: Karl Waclawek Date: Sun, 25 Dec 2005 16:52:13 +0000 Subject: [PATCH] Added 64-bit support for MS VC++ 6.0. --- expat/lib/expat_external.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/expat/lib/expat_external.h b/expat/lib/expat_external.h index ddb162d8..1807a8fd 100644 --- a/expat/lib/expat_external.h +++ b/expat/lib/expat_external.h @@ -94,9 +94,14 @@ typedef char XML_Char; typedef char XML_LChar; #endif /* XML_UNICODE */ -#ifdef XML_LARGE_SIZE /* Use large integers for counts and positions. */ +#ifdef XML_LARGE_SIZE /* Use large integers for file/stream positions. */ +#if defined(XML_USE_MSC_EXTENSIONS) && _MSC_VER < 1400 +typedef __int64 XML_Index; +typedef unsigned __int64 XML_Size; +#else typedef long long XML_Index; typedef unsigned long long XML_Size; +#endif #else typedef long XML_Index; typedef unsigned long XML_Size;