X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=equal.lisp;h=0e98719577bd41c18427b07b6a43669fae715c99;hb=95e781f9c555f193a471b652c3c30af80d58ac4a;hp=ba43f7a4fa7dcbf09ac6b2843d729bb70481eee0;hpb=97bf04ebc48e5ff6f111b8d50a9218c6c294e0a0;p=kmrcl.git diff --git a/equal.lisp b/equal.lisp index ba43f7a..0e98719 100644 --- a/equal.lisp +++ b/equal.lisp @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Apr 2000 ;;;; -;;;; $Id: equal.lisp,v 1.8 2003/03/25 05:25:54 kevin Exp $ +;;;; $Id: equal.lisp,v 1.12 2003/03/25 13:41:54 kevin Exp $ ;;;; ;;;; This file, part of KMRCL, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -88,10 +88,10 @@ (return-from test t))) #+sbcl -(eval-when (:toplevel-compile :toplevel-load :execute) +(eval-when (:compile-toplevel :load-toplevel :execute) (if (find-package 'sb-mop) (pushnew :sb-mop cl:*features*) - (pushnew :sb-acl cl:*features*))) + (pushnew :sb-pcl cl:*features*))) (defun class-slot-names (c-name) "Given a CLASS-NAME, returns a list of the slots in the class." @@ -135,11 +135,11 @@ (error "structure-slot-names is not defined on this platform") ) - -(eval-when (:toplevel-compile :toplevel-load :execute) +#+sbcl +(eval-when (:compile-toplevel :load-toplevel :execute) (if (find-package 'sb-mop) (setq cl:*features* (delete :sb-mop cl:*features*)) - (setq cl:*features* (delete :sb-acl cl:*features*)))) + (setq cl:*features* (delete :sb-pcl cl:*features*)))) (defun function-to-string (obj) "Returns the lambda code for a function. Relies on