summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Lisp/data-types.lisp8
1 files changed, 5 insertions, 3 deletions
diff --git a/Lisp/data-types.lisp b/Lisp/data-types.lisp
index 36f0f2f..8ec2e49 100644
--- a/Lisp/data-types.lisp
+++ b/Lisp/data-types.lisp
@@ -63,9 +63,11 @@
;; FIXME: I'm not confident about this, but it is needed in order to
;; make (DEFCLASS SELECTOR ...) work.
-(defmethod c2mop:validate-superclass ((class c2mop:funcallable-standard-class)
- (superclass standard-class))
- t)
+(#+clisp ext:without-package-lock #+clisp (#:clos)
+ #-clisp progn
+ (defmethod c2mop:validate-superclass ((class c2mop:funcallable-standard-class)
+ (superclass standard-class))
+ t))
(defclass selector (c2mop:funcallable-standard-object c-pointer-wrapper)