mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-26 08:41:47 -07:00
Fix build on freebsd.
Copied from Perforce Change: 186760 ServerID: perforce.ravenbrook.com
This commit is contained in:
parent
78507d9df6
commit
a88b8bcfbc
1 changed files with 10 additions and 0 deletions
|
|
@ -17,6 +17,7 @@
|
|||
*/
|
||||
|
||||
#include "mpm.h"
|
||||
#include "vm.h"
|
||||
|
||||
#if !defined(MPS_OS_XC) && !defined(MPS_OS_FR)
|
||||
#error "protsgix.c is Unix-specific, currently for MPS_OS_FR or XC"
|
||||
|
|
@ -138,6 +139,15 @@ void ProtSetup(void)
|
|||
}
|
||||
|
||||
|
||||
/* ProtGranularity -- return the granularity of protection */
|
||||
|
||||
Size ProtGranularity(void)
|
||||
{
|
||||
/* Individual pages can be protected. */
|
||||
return PageSize();
|
||||
}
|
||||
|
||||
|
||||
/* C. COPYRIGHT AND LICENSE
|
||||
*
|
||||
* Copyright (C) 2001-2007 Ravenbrook Limited <http://www.ravenbrook.com/>.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue