engine: fix build issues pointed by @Velaron
This commit is contained in:
parent
29c9393da3
commit
5ea074a1fd
2 changed files with 2 additions and 2 deletions
|
@ -982,7 +982,7 @@ pfnCheckGameDll
|
||||||
*/
|
*/
|
||||||
int GAME_EXPORT pfnCheckGameDll( void )
|
int GAME_EXPORT pfnCheckGameDll( void )
|
||||||
{
|
{
|
||||||
#if XASH_INTERNAL_GAMELIBS
|
#ifdef XASH_INTERNAL_GAMELIBS
|
||||||
return true;
|
return true;
|
||||||
#else
|
#else
|
||||||
string dllpath;
|
string dllpath;
|
||||||
|
|
|
@ -1020,7 +1020,7 @@ void Host_InitCommon( int argc, char **argv, const char *progname, qboolean bCha
|
||||||
#if TARGET_OS_IOS
|
#if TARGET_OS_IOS
|
||||||
Q_strncpy( host.rootdir, IOS_GetDocsDir(), sizeof( host.rootdir ));
|
Q_strncpy( host.rootdir, IOS_GetDocsDir(), sizeof( host.rootdir ));
|
||||||
#elif XASH_ANDROID && XASH_SDL
|
#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
|
#elif XASH_PSVITA
|
||||||
if ( !PSVita_GetBasePath( host.rootdir, sizeof( host.rootdir )))
|
if ( !PSVita_GetBasePath( host.rootdir, sizeof( host.rootdir )))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue