Skip to content

Commit

Permalink
engine: server: enable allocating 64-bit string pool closer to server…
Browse files Browse the repository at this point in the history
… library only for Linux amd64, as mmap() isn't reliable anywhere else
  • Loading branch information
a1batross committed Aug 19, 2024
1 parent 3dcd6cb commit 5f84010
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/server/sv_game.c
Original file line number Diff line number Diff line change
Expand Up @@ -3064,7 +3064,7 @@ void SV_SetStringArrayMode( qboolean dynamic )
#endif
}

#if XASH_64BIT && !XASH_WIN32 && !XASH_APPLE && !XASH_NSWITCH && !XASH_ANDROID
#if XASH_AMD64 && XASH_LINUX && !XASH_ANDROID
#define USE_MMAP
#include <sys/mman.h>
#endif
Expand Down

0 comments on commit 5f84010

Please sign in to comment.