1
Fork 0
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:
Gareth Rees 2014-07-01 11:07:42 +01:00
parent 78507d9df6
commit a88b8bcfbc

View file

@ -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/>.