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




ShadowFlare [Wed, 16 Jan 2013 05:48:56 +0000 (22:48 -0700)]
SFUtil.cpp [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 8df5505..c5af68e
@@ -60,7 +60,11 @@ Int64 SFSetFilePointer(HANDLE hFile, Int64 nDistance, UInt32 dwMoveMethod)
 
        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;
        }