Added 64-bit support for MS VC++ 6.0.

This commit is contained in:
Karl Waclawek 2005-12-25 16:52:13 +00:00
parent ae5fcf90f8
commit cf4dd114eb

View File

@ -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;