diff --git a/include/osgDB/Archive b/include/osgDB/Archive index cff8c69d6..9e5adeb7b 100644 --- a/include/osgDB/Archive +++ b/include/osgDB/Archive @@ -80,10 +80,15 @@ class OSGDB_EXPORT Archive : public ReaderWriter protected: - + + #if defined(_MSC_VER) + typedef __int64 pos_type; + typedef __int64 size_type; + #else + typedef unsigned long long pos_type; + typedef unsigned long long size_type; + #endif - typedef std::istream::pos_type pos_type; - typedef std::istream::off_type size_type; typedef std::pair PositionSizePair; typedef std::map FileNamePositionMap;