X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcode%2Fppc-vm.lisp;h=52cfe551fc4501462bf338a3eeea9e84c8132eed;hb=b1a4f6376799a402903e75d111ef29bdc25e0582;hp=ce7835518da0ce5460c44b057fde7b8f74a6139e;hpb=4898ef32c639b1c7f4ee13a5ba566ce6debd03e6;p=sbcl.git diff --git a/src/code/ppc-vm.lisp b/src/code/ppc-vm.lisp index ce78355..52cfe55 100644 --- a/src/code/ppc-vm.lisp +++ b/src/code/ppc-vm.lisp @@ -120,8 +120,9 @@ ;;; Given a signal context, return the floating point modes word in ;;; the same format as returned by FLOATING-POINT-MODES. ;;; -;;; FIXME: surely this must be accessible somewhere under Darwin? -#!-darwin +;;; FIXME: surely this must be accessible somewhere under Darwin? Or +;;; under NetBSD? +#!+linux (define-alien-routine ("os_context_fp_control" context-floating-point-modes) (sb!alien:unsigned 32) (context (* os-context-t))) @@ -179,5 +180,3 @@ (sc-offsets (sb!c:read-var-integer vector index))) (values error-number (sc-offsets)))))) - -