engine: fix build on non-x86 archs

This commit is contained in:
Alibek Omarov 2019-07-07 00:20:35 +03:00
parent 2202e13a61
commit efd2e434b4

View File

@ -126,11 +126,11 @@ static void COM_GenerateServerLibraryName( char *out, size_t size )
char *ext; char *ext;
#if XASH_WIN32 #if XASH_WIN32
Q_strncpy( dllname, GI->game_dll, sizeof( dllname ) ); Q_strncpy( dllpath, GI->game_dll, sizeof( dllname ) );
#elif XASH_APPLE #elif XASH_APPLE
Q_strncpy( dllname, GI->game_dll_osx, sizeof( dllname ) ); Q_strncpy( dllpath, GI->game_dll_osx, sizeof( dllname ) );
#else // XASH_APPLE #else // XASH_APPLE
Q_strncpy( dllname, GI->game_dll_linux, sizeof( dllname ) ); Q_strncpy( dllpath, GI->game_dll_linux, sizeof( dllname ) );
#endif #endif
ext = COM_FileExtension( dllpath ); ext = COM_FileExtension( dllpath );