mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
engine: fix build on non-x86 archs
This commit is contained in:
@@ -126,11 +126,11 @@ static void COM_GenerateServerLibraryName( char *out, size_t size )
|
||||
char *ext;
|
||||
|
||||
#if XASH_WIN32
|
||||
Q_strncpy( dllname, GI->game_dll, sizeof( dllname ) );
|
||||
Q_strncpy( dllpath, GI->game_dll, sizeof( dllname ) );
|
||||
#elif XASH_APPLE
|
||||
Q_strncpy( dllname, GI->game_dll_osx, sizeof( dllname ) );
|
||||
Q_strncpy( dllpath, GI->game_dll_osx, sizeof( dllname ) );
|
||||
#else // XASH_APPLE
|
||||
Q_strncpy( dllname, GI->game_dll_linux, sizeof( dllname ) );
|
||||
Q_strncpy( dllpath, GI->game_dll_linux, sizeof( dllname ) );
|
||||
#endif
|
||||
|
||||
ext = COM_FileExtension( dllpath );
|
||||
|
||||
Reference in New Issue
Block a user