X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fos.h;h=584af23add22127cc3623648c13062954ed0cff5;hb=731d5dd65a7b94b5d49d1663d9b60c3a406ce38c;hp=b3c313db7a592b13f0d31b9fb90fe3d11bd858ef;hpb=68fd2d2dd6f265669a8957accd8a33e62786a97e;p=sbcl.git diff --git a/src/runtime/os.h b/src/runtime/os.h index b3c313d..584af23 100644 --- a/src/runtime/os.h +++ b/src/runtime/os.h @@ -17,6 +17,7 @@ #define _OS_H_INCLUDED_ +#include "sbcl.h" #include "runtime.h" /* Some standard preprocessor definitions and typedefs are needed from @@ -37,24 +38,14 @@ * handler, i.e. the actual type of the thing pointed to by the * void* third argument of a handler */ -/* - #if defined __FreeBSD__ - #include "bsd-os.h" - #elif defined __OpenBSD__ - #include "bsd-os.h" - #elif defined __linux__ - #include "linux-os.h" - #else - #error unsupported OS - #endif -*/ - #include "target-os.h" #define OS_VM_PROT_ALL \ (OS_VM_PROT_READ | OS_VM_PROT_WRITE | OS_VM_PROT_EXECUTE) +#define OS_VM_PROT_NONE 0 + extern os_vm_size_t os_vm_page_size; /* Do anything we need to do when starting up the runtime environment