mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-18 11:00:33 +00:00
engine: fix build on non-x86 archs
This commit is contained in:
parent
2202e13a61
commit
efd2e434b4
@ -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 );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user