-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[osg] Fix error C3861: '_FPOSOFF': identifier not found (#38666)
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 ```
- Loading branch information
1 parent
72f7002
commit ff2b8b4
Showing
5 changed files
with
21 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
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 ); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters