mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
fix USE_MMAP usage
should fix CI failures
This commit is contained in:
committed by
Alibek Omarov
parent
1b426b67e7
commit
012d1fa8bd
@@ -3153,7 +3153,7 @@ void SV_FreeStringPool( void )
|
||||
#ifdef XASH_64BIT
|
||||
Con_Reportf( "SV_FreeStringPool()\n" );
|
||||
|
||||
#if USE_MMAP
|
||||
#ifdef USE_MMAP
|
||||
if( str64.pstringarray != str64.staticstringarray )
|
||||
munmap( str64.pstringarray, (str64.maxstringarray * 2) & ~(sysconf( _SC_PAGESIZE ) - 1) );
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user