First steps

This commit is contained in:
JusicP
2020-11-19 22:37:27 +02:00
parent 6920a3bd08
commit 3434111923
1341 changed files with 883624 additions and 46746 deletions
+4
View File
@@ -972,7 +972,11 @@ void CStdioFile::FS_fclose()
AUTO_LOCK( m_MutexLockedFD );
struct _stat buf;
#ifdef ANDROID
int fd = *(signed short*)((int)m_pFile + 14);
#else
int fd = fileno_unlocked( m_pFile );
#endif
fstat( fd, &buf );
fflush( m_pFile );
+2
View File
@@ -45,6 +45,8 @@ $Configuration
// Add VPK support
$PreprocessorDefinitions "$BASE;SUPPORT_PACKED_STORE" [!$WIN64]
$PreprocessorDefinitions "$BASE;S_IREAD=S_IRUSR;S_IWRITE=S_IWUSR;S_IEXEC=S_IXUSR" [$ANDROID]
}
$Linker
{