fix USE_MMAP usage
should fix CI failures
This commit is contained in:
parent
1b426b67e7
commit
012d1fa8bd
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue