Fix FP traps on OSX/x86-64.
[sbcl.git] / src / code / float-trap.lisp
index 4bd83cb..86f402e 100644 (file)
@@ -118,7 +118,8 @@ in effect."
             (or (cdr (assoc precision *precision-mode-alist*))
                 (error "unknown precision mode: ~S" precision))))
     ;; FIXME: This apparently doesn't work on Darwin
-    #!-darwin (setf (floating-point-modes) modes))
+    #!-(and darwin (or ppc x86))
+    (setf (floating-point-modes) modes))
   (values))
 
 (defun get-floating-point-modes ()