Current News Archived News Search News Discussion Forum Old Forum Install Programs More Downloads... Troubleshooting Source Code Format Specs. Misc. Information Non-SF Stuff Links Small banner for links to this site: |
diff --git a/SFUtil.cpp b/SFUtil.cpp
--- a/SFUtil.cpp
+++ b/SFUtil.cpp
FilePos.i32[0] = ::SetFilePointer(hFile, FilePos.i32[0], &FilePos.i32[1], dwMoveMethod);
+#ifdef INVALID_SET_FILE_POINTER
if (FilePos.ui32[0] == INVALID_SET_FILE_POINTER) {
+#else
+ if (FilePos.ui32[0] == INVALID_FILE_SIZE) {
+#endif
if (::GetLastError() != NO_ERROR)
return -1;
}
|