Skip to content

Commit

Permalink
android: fix build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Velaron committed Nov 1, 2023
1 parent 5f87792 commit d182c88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion engine/client/cl_gameui.c
Original file line number Diff line number Diff line change
Expand Up @@ -982,7 +982,7 @@ pfnCheckGameDll
*/
int GAME_EXPORT pfnCheckGameDll( void )
{
#if XASH_INTERNAL_GAMELIBS
#ifdef XASH_INTERNAL_GAMELIBS
return true;
#else
string dllpath;
Expand Down
2 changes: 1 addition & 1 deletion engine/common/host.c
Original file line number Diff line number Diff line change
Expand Up @@ -1017,7 +1017,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 )))
{
Expand Down

0 comments on commit d182c88

Please sign in to comment.