mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
if a system with mprotect doesn't have getpagesize, the assumption is that
mprotect doesn't care about page alignment (eg, QNX)
This commit is contained in:
parent
ff6e0ab1b3
commit
abedda69b6
1 changed files with 0 additions and 2 deletions
|
@ -351,8 +351,6 @@ Sys_MakeCodeWriteable (unsigned long startaddr, unsigned long length)
|
|||
|
||||
startaddr &= ~(psize - 1);
|
||||
endaddr = (endaddr + psize - 1) & ~(psize - 1);
|
||||
# else
|
||||
# error Unknown page size
|
||||
# endif
|
||||
# endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue