X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fexhaust.lisp;h=98fa6bc66a44b420bf0446716ac5229e13d227a3;hb=e5d96999ae4388181ddb0c113313f26afbe997e8;hp=e3ce6ef82e853540c5273cf1fe2f0d454ce0895c;hpb=dc5e3163fe667e2629c7769aa8cf2e501eeeefa6;p=sbcl.git diff --git a/src/code/exhaust.lisp b/src/code/exhaust.lisp index e3ce6ef..98fa6bc 100644 --- a/src/code/exhaust.lisp +++ b/src/code/exhaust.lisp @@ -11,6 +11,10 @@ ;;;; files for more information. (in-package "SB!KERNEL") -(define-alien-routine "protect_control_stack_guard_page" - sb!alien:int (protect-p sb!alien:int)) - +(define-alien-routine ("protect_control_stack_guard_page" + %protect-control-stack-guard-page) + sb!alien:void + (protect-p sb!alien:int) + (thread sb!alien:int)) +(defun protect-control-stack-guard-page (n) + (%protect-control-stack-guard-page (if n 1 0) 0))