X-Git-Url: http://git.kpe.io/?p=kmrcl.git;a=blobdiff_plain;f=equal.lisp;h=da246bd5860849b15ac3a0d84d3b5fb468cbf3d4;hp=0da3c4865ccb307735fc27a2a9be5f708984be83;hb=19bee416d52c52d58261faf3d459c45572563149;hpb=0e37bb279e050a6a5afe049dff75cd46d3016290 diff --git a/equal.lisp b/equal.lisp index 0da3c48..da246bd 100644 --- a/equal.lisp +++ b/equal.lisp @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Apr 2000 ;;;; -;;;; $Id: equal.lisp,v 1.14 2003/05/07 21:57:10 kevin Exp $ +;;;; $Id$ ;;;; ;;;; This file, part of KMRCL, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -92,12 +92,12 @@ #+(or allegro cmu lispworks sbcl scl) (mapcar #'kmr-mop:slot-definition-name (kmr-mop:class-slots (kmr-mop:find-class c-name))) - #+mcl + #+(and mcl (not openmcl)) (let* ((class (find-class c-name nil))) (when (typep class 'standard-class) (nconc (mapcar #'car (ccl:class-instance-slots class)) (mapcar #'car (ccl:class-class-slots class))))) - #-(or allegro lispworks cmu mcl sbcl scl) + #-(or allegro lispworks cmu mcl sbcl scl openmcl) (error "class-slot-names is not defined on this platform") ) @@ -112,7 +112,8 @@ (kernel:dd-slots (kernel:layout-info (kernel:class-layout (find-class s-name))))) - #+mcl (let* ((sd (gethash s-name ccl::%defstructs%)) + #+(and mcl (not openmcl)) + (let* ((sd (gethash s-name ccl::%defstructs%)) (slots (if sd (ccl::sd-slots sd)))) (mapcar #'car (if (symbolp (caar slots)) slots (cdr slots)))) #-(or allegro lispworks cmu sbcl scl mcl)