X-Git-Url: https://git.distorted.org.uk/~mdw/clg/blobdiff_plain/381d1da76043a6b37d9c7715ba6c211ec5d113b4..f28952dfbbc69735b835a429131f2384eee7e9d0:/gffi/interface.lisp diff --git a/gffi/interface.lisp b/gffi/interface.lisp index d89e9a7..72e3c13 100644 --- a/gffi/interface.lisp +++ b/gffi/interface.lisp @@ -424,6 +424,12 @@ ;;;; Type expansion +;; A hack to make the TYPE-EXPAND code for SBCL work. +#?+(pkg-config:sbcl>= 1 0 35 15) +(sb-ext:without-package-locks + (setf (symbol-function 'sb-kernel::type-expand) + (lambda (form) (typexpand form)))) + (defun type-expand-1 (form) #+(or cmu sbcl) (let ((def (cond ((symbolp form)