;; defclass expansion, which is too early for the CLSQL type
;; conversion to take place. This gets rid of it. It's ugly
;; but it's better than nothing -wcp10/4/10.
;; defclass expansion, which is too early for the CLSQL type
;; conversion to take place. This gets rid of it. It's ugly
;; but it's better than nothing -wcp10/4/10.
- #+(and sbcl #.(cl:if (cl:find-symbol "%TYPE-CHECK-FUNCTION" :sb-pcl) '(and) '(or)))
+ #+(and sbcl #.(cl:if (cl:and (cl:find-package :sb-pcl)
+ (cl:find-symbol "%TYPE-CHECK-FUNCTION" :sb-pcl))
+ '(list 'cl:and) '(list 'cl:or)))