engine: fix build issues pointed by @Velaron

This commit is contained in:
Alibek Omarov 2023-10-31 21:01:42 +03:00
parent 29c9393da3
commit 5ea074a1fd
2 changed files with 2 additions and 2 deletions

View File

@ -982,7 +982,7 @@ pfnCheckGameDll
*/
int GAME_EXPORT pfnCheckGameDll( void )
{
#if XASH_INTERNAL_GAMELIBS
#ifdef XASH_INTERNAL_GAMELIBS
return true;
#else
string dllpath;

View File

@ -1020,7 +1020,7 @@ void Host_InitCommon( int argc, char **argv, const char *progname, qboolean bCha
#if TARGET_OS_IOS
Q_strncpy( host.rootdir, IOS_GetDocsDir(), sizeof( host.rootdir ));
#elif XASH_ANDROID && XASH_SDL
Q_strncpy( host.rootdir, SDL_AndroidGetExternalStoragePath, sizeof( host.rootdir ));
Q_strncpy( host.rootdir, SDL_AndroidGetExternalStoragePath(), sizeof( host.rootdir ));
#elif XASH_PSVITA
if ( !PSVita_GetBasePath( host.rootdir, sizeof( host.rootdir )))
{