diff options
author | kwaclaw <kwaclaw> | 2005-12-25 16:52:13 +0000 |
---|---|---|
committer | kwaclaw <kwaclaw> | 2005-12-25 16:52:13 +0000 |
commit | b2493960419bc2c3621c1149f72bb63416c704d2 (patch) | |
tree | 0449e3fb55dadb86a431c63504e4dd0206444d7f /lib | |
parent | b723fe15dbc3609b3bb8c94bec0ba11d554112e3 (diff) | |
download | libexpat-b2493960419bc2c3621c1149f72bb63416c704d2.tar.gz |
Added 64-bit support for MS VC++ 6.0.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/expat_external.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/expat_external.h b/lib/expat_external.h index ddb162d..1807a8f 100644 --- a/lib/expat_external.h +++ b/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; |