mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-11-29 05:20:23 +01:00
fix USE_MMAP usage
should fix CI failures
This commit is contained in:
parent
1b426b67e7
commit
012d1fa8bd
@ -3153,7 +3153,7 @@ void SV_FreeStringPool( void )
|
|||||||
#ifdef XASH_64BIT
|
#ifdef XASH_64BIT
|
||||||
Con_Reportf( "SV_FreeStringPool()\n" );
|
Con_Reportf( "SV_FreeStringPool()\n" );
|
||||||
|
|
||||||
#if USE_MMAP
|
#ifdef USE_MMAP
|
||||||
if( str64.pstringarray != str64.staticstringarray )
|
if( str64.pstringarray != str64.staticstringarray )
|
||||||
munmap( str64.pstringarray, (str64.maxstringarray * 2) & ~(sysconf( _SC_PAGESIZE ) - 1) );
|
munmap( str64.pstringarray, (str64.maxstringarray * 2) & ~(sysconf( _SC_PAGESIZE ) - 1) );
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user