Browse Source

fix USE_MMAP usage

should fix CI failures
pull/2/head
Ivan Avdeev 4 years ago committed by Alibek Omarov
parent
commit
012d1fa8bd
  1. 2
      engine/server/sv_game.c

2
engine/server/sv_game.c

@ -3153,7 +3153,7 @@ void SV_FreeStringPool( void ) @@ -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

Loading…
Cancel
Save