mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-10 07:12:07 +00:00
Merge pull request #665 from shamazmazum/master
Fix segmentation fault on FreeBSD.
This commit is contained in:
commit
b1ad1329cc
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ Hunk_Begin(int maxsize)
|
|||
#if defined(PROT_MAX)
|
||||
/* For now it is FreeBSD exclusif but could possibly be extended
|
||||
to other like DFBSD for example */
|
||||
prot = PROT_MAX(prot);
|
||||
prot |= PROT_MAX(prot);
|
||||
#endif
|
||||
|
||||
membase = mmap(0, maxhunksize, prot,
|
||||
|
|
Loading…
Reference in a new issue