mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-04 18:09:53 +03:00
Fix compilation under MSVC(VS2019)
This commit is contained in:
@@ -278,7 +278,9 @@ CSysModule *Sys_LoadModule( const char *pModuleName, Sys_Flags flags /* = SYS_NO
|
||||
// file in the depot (MFP) or a filesystem GetLocalCopy() call must be made
|
||||
// prior to the call to this routine.
|
||||
char szCwd[1024];
|
||||
#ifdef POSIX
|
||||
char szModuleName[1024];
|
||||
#endif
|
||||
HMODULE hDLL = NULL;
|
||||
|
||||
if ( !Q_IsAbsolutePath( pModuleName ) )
|
||||
@@ -300,8 +302,6 @@ CSysModule *Sys_LoadModule( const char *pModuleName, Sys_Flags flags /* = SYS_NO
|
||||
}
|
||||
|
||||
char szAbsoluteModuleName[1024];
|
||||
size_t cCwd = strlen( szCwd );
|
||||
|
||||
bool bUseLibPrefix = false;
|
||||
|
||||
#ifdef ANDROID
|
||||
|
||||
Reference in New Issue
Block a user