mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 02:11:39 +08:00
ff2b8b4fd7
Fix error: ``` D:\b\osg\src\raph-3.6.5-c3f8c61ada.clean\src\osgPlugins\osga\OSGA_Archive.cpp(80): error C3861: '_FPOSOFF': identifier not found ```
14 lines
598 B
Diff
14 lines
598 B
Diff
diff --git a/src/osgPlugins/osga/OSGA_Archive.cpp b/src/osgPlugins/osga/OSGA_Archive.cpp
|
|
index b9f518a..19186a7 100644
|
|
--- a/src/osgPlugins/osga/OSGA_Archive.cpp
|
|
+++ b/src/osgPlugins/osga/OSGA_Archive.cpp
|
|
@@ -77,7 +77,7 @@ inline OSGA_Archive::pos_type ARCHIVE_POS( const std::streampos & pos )
|
|
#else // older Dinkumware (eg: one included in Win Server 2003 Platform SDK )
|
|
fpos_t position = pos.get_fpos_t();
|
|
#endif
|
|
- std::streamoff offset = pos.operator std::streamoff( ) - _FPOSOFF( position );
|
|
+ std::streamoff offset = 0;
|
|
|
|
return OSGA_Archive::pos_type( position + offset );
|
|
}
|