mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-11 11:19:09 +00:00
First steps
This commit is contained in:
@@ -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 );
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user